Otto DIY+ Arduino Bluetooth Robot Easy to 3D Print

39,753

84

32

Introduction: Otto DIY+ Arduino Bluetooth Robot Easy to 3D Print

About: Product Design Engineer & maker, roboticist, 3D modeling professional and 3D printing enthusiast. Creator and Founder of Otto DIY, a project that follows my passion for robotics, toys, open source hardwar…

Truly open source nature of Otto allows open STEAM education, we collect feedback from different workshops and schools around the world that are already using Otto DIY in their classroom and depending of the openness of this educational places we organize the lesson material and share as well, some people are teaching electronics explaining the connections with fritzing and the physics behind, other code with Arduino then Wikifactory, other to create open source APPs in app inventor, others how to customize with arts &crafts, other how to design 3D models with accessories for Otto with TinkerCAD or Autodesk Fusion 360.

CC-BY-SA Creative commons license it means you can copy for free but you must give credits to the original by putting our website (https://www.ottodiy.com/)

Otto DIY + is the improved and advanced version of original #OttoDIY, the idea is to have the same base features DIY robot + Bluetooth control and programming + metal gear servo motors + rechargeable + changing modes by touch sensor + sound sensor + light moves + other outputs +...?

I recommend you to first check all documentation for Otto DIY and then you can try to play with more advanced features with this Otto DIY+

The exciting part is that we are doing open development with makers and hackers around the world so we are open to ideas, not only from expert,s you can join us with , feedback, social share, testing or any other contribution that you might think of.

Supplies:

1 × Arduino Nano

1 × HC-06 or HC-05 Bluetooth module

1 × Arduino Nano Shield I/O; you could use a mini breadboard but much more cable work

1 × USB-A to Mini-USB Cable

4 × Micro servo MG90s(metal)

1 × Buzzer

10 × Female/Female Jumper Wires

1 × Touch sensor

1 × sound sensor

1 × 8x8mm Micro Switch Self lock On/Off

1 × 3.7 V LiPo Battery with booster to 5V (optional) 1 × Phillips Screwdriver 1 x 3D printer (or use a service or a friend ;))

Step 1: ​3D Printer Settings

It is important to read first Otto DIY previous instructable to get familiar with the basics of building a bipedal robot
Get all 3D print STL parts, codes and libraries for Bluetooth by going here https://wikifactory.com/+OttoDIY/otto-diy-plus in the files tab

  • Recommend using an FDM 3D printer with PLA material.
  • No need supports or rafts at all.
  • Resolution: 0.15mm
  • Fill density 20%

Need to adjust size some changes use the source file made in Autodesk Fusion 360

Or TinkerCAD https://www.tinkercad.com/users/h8O1zJQboeH-camilo-parra-palacio

Step 2: Build Your Own Otto DIY+

in the following video and pictures you can have a reference of how to build Otto DIY+, due some new versions of the robot design, you might need to check the most updated instruction manual also find in the files tab here: https://wikifactory.com/+OttoDIY/otto-diy-plus

Step 3: Code Your Own Otto

So to this point you should have an Otto 3D printed, assembled, now some programming to have libraries and Arduino installed in your PC.

The easiest to code your own Otto is by using our Blockly software, more advanced coder can try Arduino IDE directly.

Step 4: ​main Code for Bluetooth APP

Otto needs to be ready to receive command through Bluetooth and for that with need to put the main code inside his brain (VERY IMPORTANT: for programming Arduino nano the Bluetooth module must be disconnected otherwise Arduino IDE wont be able to upload de code because the communication ports are busy)

  1. Copy Otto libraries into the Arduino IDE folder
  2. Upload APP .ino sketch to Otto
  3. Download and Install the APP in your smartphone. Google Play Store (https://play.google.com/store/apps/details?id=com.ottodiy)

  4. Now you can connect the module and Enable Bluetooth in your phone.
  5. Find Otto and pair the Bluetooth address /name
  6. Now you can use the APP to control Otto!
  7. Play with the new features and if doesn't you might need to reconfigure your BT but do not worry is also easy ;)

Step 5: Copy, Expand, Customize,modify, Remix and Share!

Check this blog post to find ideas of how to customize your own robot

Join the Otto Builder community!
Follow us, give us a like and share your creativity, you could be featured here by sharing your robot in any social media;YouTube: https://www.youtube.com/c/ottodiy?sub_confirmatio...

Facebook: https://www.facebook.com/ottodiy/

Instagram: https://www.instagram.com/ottodiy/

use the hashtag #ottodiy in your post and tag or mention @OttoDIY

Be a part of this friendly community of robot builders, teachers and makers! by joining us here in Wikifactory or our group in Facebook.

https://www.facebook.com/groups/ottodiy/

Welcome to our Otto Builder community!

Step 6: Bluetooth (BT) Setup (only If Pairing Not Successful):

This setup is ONLY needed for modules that don't come with the standard baud rate of 9600, how to know? just try first the code and the APP, if the phone doesn't pair with Otto or respond to commands, then probably means your module is in a different baud rate so need to be configured

The BT code has 115200 baud-rate so BT module must match that speed to be able to communicate with Arduino Nano via serial interface(UART).

For HC-05: 38400 or 115200

1. Upload the sketch HC05_BT_config.ino to your Nano first, then disconnect Nano from USB.

2. Now connect BT to Arduino Nano as shown in diagram but do not connect VCC.

TX - RX

RX - TX

VCC - 5V

GND - GND

3. Plug in the USB to Nano and then connect VCC so BT enters AT mode. LED on BT should start to blink slower, about once every 2 seconds. (If this doesn't work, try holding the button on BT module while connecting VCC).

Open serial monitor in IDE, set baud-rate to 9600 and line ending to Both NL & CR.

Type AT then press enter; (if everything is right, BT should respond with OK and then enter following commands:

AT+NAME=Zowi "setting the name"

AT+PSWD=1234 "pairing password"

AT+UART=115200,1,0 "baud rate"

AT+POLAR=1,0 "enabling STATE pin to be used as reset for programming arduino over BT"

Now go to the APP step

If any problem check this instructable of how to Modify the HC-05 Bluetooth Module Defaults Using AT Commands

https://www.instructables.com/id/Modify-The-HC-05-...

For HC-06: 9600 or 115200

For HC-06 BT module things are a little simpler because module is always in AT command mode when not connected to anything. But the downside is that HC-06 module cannot be used to upload sketches to Arduino because it doesn't have reset. For configuring the module

1. upload this sketch HC06_BT_config.ino to your Nano

1. disconnect USB

2. connect BT module to Arduino Nano like this:

TX - RX

RX - TX

VCC - 5V

GND - GND

3. Power on your Nano and after about 10-15 seconds everything should be finished and your BT should be configured (LED13 should start blinking).

If any problem check this instructable https://www.instructables.com/id/Tutorial-Using-HC...

PLEASE DO NOT COMMENT IF ANY QUESTION, i don't get notifications by instructables new comments so if anything please post in our forum https://wikifactory.com/+OttoDIY/forum otherwise it will take a lot of time for me to see it

Be the First to Share

    Recommendations

    • The 1000th Contest

      The 1000th Contest
    • Battery Powered Contest

      Battery Powered Contest
    • Hand Tools Only Challenge

      Hand Tools Only Challenge

    32 Discussions

    0
    pasgui297
    pasgui297

    Question 5 months ago on Introduction

    Hello all. Experimenting Otto with bluetooth. Was wondering If there is a list of commands sent by the bluetooth app. I tried for example M 1 1000 to walk, and many other options without succes. Note that the app works fine, meaning Otto bluetooth works fine. Likely just me not sending the right commands. Many thanks

    0
    pasgui297
    pasgui297

    Answer 5 months ago

    I just found out that I was missing a carriage return in my code. Having M 1 1000 CR would work fine. Now, how can I get a CR in Android ? I tried \r \n but does not seem to work. Thanks again for your help.

    0
    cparrapa
    cparrapa

    Reply 6 weeks ago

    you can just use our app will send the commands as they need to be and you can chancge the main code so the controls are different suit to your needs

    0
    hullehalli.kdr.ckm
    hullehalli.kdr.ckm

    Question 5 months ago on Step 4

    I want to code with Otto blocky to Bluetooth controlled robot

    0
    cparrapa
    cparrapa

    Answer 6 weeks ago

    you can just use the Bluetooth blocks and then you have to use some terminal to send the codes or just use the app

    0
    crazy2rime
    crazy2rime

    Question 2 years ago on Introduction

    When compiling a sketch, the following error occurs:

    'There is not enough available memory and reliability may be an issue.'

    What should I do?

    0
    cparrapa
    cparrapa

    Answer 6 weeks ago

    just ignore it is not an error just a warning

    0
    GrimorJ
    GrimorJ

    Question 2 years ago

    Intento flashear mi arduino nano con la version v3 para sensor touch y ledmatrix y me da el error " 'ledR' was not declared in this scope"

    Algun consejo?

    0
    cparrapa
    cparrapa

    Answer 1 year ago

    librerias desactualizadas antes intentamos usar un LED ya lo quitamos

    0
    suikan
    suikan

    Question 2 years ago on Step 4

    Muy buenas.primero felicitarte por todo lo que le dedicas al proyecto.mi problema es que la mayoria deskech que le cargo no me funcionan,el del apk tambien;me sale un aviso de memoria casi llena en el IDE.como puedo arreglarlo?Otto o no se mueve o lo hace a lo loco pero muy poco.a nadie le pasado esto si estoy usanso todo como en el tutorial.
    Muchas gracias

    0
    indigo51
    indigo51

    Question 2 years ago

    When I try to use Block with the OttoDIY extension, code works fine but there is a continuous 'screech' sound all the time from the buzzer. I noticed that this:
    Vbot.sing(S_connection);
    is in the Arduino code shown in MBLock Arduino mode.

    What is causing this horrible sound?

    How do I remove it?

    0
    cparrapa
    cparrapa

    Answer 2 years ago

    mmm not sure i just have gentle beeps to inform that actually Otto is being programmed and then to know that has been successful upload he will make connection sounds you can just disconnect the buzzer while programming if is annoying for you

    1
    indigo51
    indigo51

    Answer 2 years ago

    Answering my own query: I had buzzer leads on wrong pins. ;-)

    0
    lbretth
    lbretth

    Question 2 years ago on Step 4

    OTTO_BT.ino doesn't seem to exist on the Github repository anymore. What is the correct sketch to install now?

    0
    cparrapa
    cparrapa

    Answer 2 years ago

    i just updated the instructable just created a new sketh much easier for APP control and even programming

    0
    miguelm249
    miguelm249

    Question 2 years ago on Introduction

    if arduino works 5v to 12 v, how otto use only 3,7v batery?
    my otto don't do nothing.
    thanks

    0
    cparrapa
    cparrapa

    Answer 2 years ago

    Need 2 of them in series to have 7.4V or use a step up circuit

    0
    Veremeev
    Veremeev

    2 years ago


    When I connect Otto to the PC, the code works fine. But from the battery, 9 volts squeak and twitch.What do you think is the problem?

    0
    cparrapa
    cparrapa

    Reply 2 years ago

    make sure is fully charged or new batteries, 9V are not very efficient the optimal is to reach 6V