Experimenting With Bluetooth & Otto DIY Biped Robot

What is the Otto DIY Biped Robot – Otto is completely open source, Arduino compatible, 3D printable robot which you can put together yourself. This is robotics and opensource at it’s best which makes the entire project quite light on the pocket. The robot was designed by Camilloa Parra as a social impact mission to create an inclusive environment for all kids. You can learn more about OTTO DIY at www.ottodiy.com.

Otto was inspired by another robot instructable BoB the BiPed and programmed using code from another open source biped robot called Zowi. Otto walks, dances, makes sounds and avoids obstacles. If you are keen to dive into robotics, learn more about programming the robot using Arduino, interact with the real world using sensors then you should head over to our learning website and check out the FREE learning content there for the Otto DIY Biped Robot – https://learning.kidzcancode.com/course/build-program-your-own-3d-printed-robot/. In addition you will also learn to assemble the robot, program the robot to perform different tasks and also work out how to customize the robot to your own liking.

Half a dozen Otto’s and no signs of stopping – Over the last year I have ended up building around half a dozen of the Otto DIY Biped robots. We have used a number of these in class (CoderDojo Altona North, volunteer codeclub) with our kids, I have just also built a couple of them so i can play around with them at home and experiment with a few other ideas i have. One of the things I’ve wanted to do is connect the Bluetooth sensors to the Otto DIY Biped and see how best these robots can be controlled remotely. So if you are intending to use the Otto Blue Tooth app for controlling the robot you might want to consider these connections to wire up the Arduino Bluetooth Sensors (HC05, HC06) and the Arduino Nano.

  1. RX pin to 12
  2. TX pin to 11
  3. Vcc to any 5V
  4. Gnd to any G

Using the HC-05 Bluetooth module – With the HC-05 Bluetooth module, once you have the module wired up and connected to the Arduino Nano first try to load the sample Bluetooth program provided with the OttoBlockly and then try controlling the Otto DIY Biped robot using the Andriod App provided. If you end up having trouble, or if the phone doesn’t pair with Otto, or if the robot does not respond to commands, then one of the possible reasons is that the HC-05 Bluetooth module is setup for a different baud rate. You will then need to reconfigure the HC05 Bluetooth module so that it can work with the Arduino Nano. The Bluetooth code has 115200 baud-rate, hence the HC-05 Bluetooth module must be configured to match that speed to be able to communicate with Arduino Nano via serial interface (UART).

Then let’s plug in the USB to the Arduino Nano, then connect Vcc to get the Bluetooth module to enter AT mode. This should then cause the LED’s on the bluetooth module to start to blink slowly, on an average about once every 2 seconds. If this doesn’t work, try holding down the button on bluetooth module and then connect up the Vcc pin. Let’s then open serial monitor in IDE, set baud-rate to 9600 and line ending to Both NL & CR.

Type AT then press enter; (if this went to plan, the bluetooth module should respond with OK, then enter following commands:)

  1. AT+NAME=Otto”setting the name”
  2. AT+PSWD=1234 “pairing password”
  3. AT+UART=115200,1,0 “baud rate”
  4. AT+POLAR=1,0 “enabling STATE pin to be used as reset for programming arduino nano over bluetooth”

Once you are done with the above, open up the app and try connecting again to the bluetooth module. After you’ve done all of that, if you are still stuck and if the HC-05 Bluetooth module refuses to connect to the phone please head over to this link and try setting your HC-05 bluetooth module to be set as a slave and not as a master – https://www.instructables.com/id/Modify-The-HC-05-Bluetooth-Module-Defaults-Using-A/

Using the HC-06 bluetooth module – If you are using the HC-06 bluetooth module then things might be slightly different. Working with the HC-06 is slightly easier because by default it only offers a slave mode. Connect up the HC-06 bluetooth module as per the wiring mentioned above, then power on the Arduino Nano and see if the phone is able to pair up with the HC-06 bluetooth module. If you are having trouble, head over and check out this document at – https://www.instructables.com/id/Tutorial-Using-HC06-Bluetooth-to-Serial-Wireless-U/.

Closing comments – Bluetooth has always been a tough nut to crack as far as Arduino and the Otto DIY Biped robot is concerned. I have never been able to get it working . However i intend to give it a shot again, am going to work through the setup process, try out the approach mentioned above and circle back with any improvements or updates required.

Leave a Reply

Your email address will not be published. Required fields are marked *