4. Make Robot Talk

In the book we are able to experience the journey of ROZ and how she is able to communicate and speak with animals and humans. How in the world do we get our robot to speak? Is it possible to have our Micro:bit do some speaking as well?

YES!

We can make this happen, but it will require some new learning.

Are you ready?

Step 1: Setup

In order to have our Micro:bit speak we need to have a speaker to amplify the voice. The easiest way to do this is to use two alligator clips and a pair of headphones or speakers.

Watch the video below starting at the 8:19 mark to see how to connect everything.

Step 2: Open up Python Programming

Head to http://python.microbit.org/v/1 as this is the online coding platform we will need to code.

Step 3: Write Code

Watch this tutorial to learn how to code the Micro:bit to speak and how to adjust the tone of voice.

Remember(this is taken from here):

  • pitch - how high or low the voice sounds (0 = high, 255 = Barry White)
  • speed - how quickly the device talks (0 = impossible, 255 = bedtime story)
  • mouth - how tight-lipped or overtly enunciating the voice sounds (0 = ventriloquist’s dummy, 255 = Foghorn Leghorn)
  • throat - how relaxed or tense is the tone of voice (0 = falling apart, 255 = totally chilled)

Challenge

Design a robot body using available materials and the Micro:bit to create a talking robot!


If you need help with other commands in Python head here https://microbit-micropython.readthedocs.io/en/latest/tutorials/speech.html


Share Projects

As always, share your work here on this Flipgrid