Otto DIY+ Arduino Bluetooth Robot Easy to 3D Print

"Otto DIY with steroids" + Bluetooth + APP + switch + touch sensors + strength + sound detection...

IntermediateFull instructions provided2 hours46,884

Things used in this project

Hardware components

OttoDIY+ builder kit
Otto DIY OttoDIY+ builder kit
×1
Arduino Nano R3
Arduino Nano R3
×1
USB-A to Mini-USB Cable
USB-A to Mini-USB Cable
×1
Otto DIY Arduino NANO Shield I/O
×1
Ultrasonic Sensor - HC-SR04 (Generic)
Ultrasonic Sensor - HC-SR04 (Generic)
Buy one that also works on 3.3V if you plan to use Lipo battery without step up converter.
×1
Otto DIY Micro servo MG90
×4
Buzzer
Buzzer
×1
Female/Female Jumper Wires
Female/Female Jumper Wires
×10
Otto DIY 8x8mm Micro Switch Self lock On/Off
×1
HC-05 Bluetooth Module
HC-05 Bluetooth Module
×1
SparkFun Electret Microphone Breakout
SparkFun Electret Microphone Breakout
×1
Grove - I2C Touch Sensor(MPR121)
Seeed Grove - I2C Touch Sensor(MPR121)
×3
4xAA battery holder
4xAA battery holder
×1
AA Batteries
AA Batteries
×4
Romeo BLE - Arduino Robot Control Board with Bluetooth 4.0
DFRobot Romeo BLE - Arduino Robot Control Board with Bluetooth 4.0
as an option to replace the arduino and the shield
×1
Li-Ion Battery 1000mAh
Li-Ion Battery 1000mAh
(OPTIONAL)
×1

Software apps and online services

Arduino IDE
Arduino IDE
Arduino Web Editor
Arduino Web Editor
Fusion 360
Autodesk Fusion 360
Visuino - Graphical Development Environment for Arduino
Visuino - Graphical Development Environment for Arduino
Visual Studio Code Extension for Arduino
Microsoft Visual Studio Code Extension for Arduino

Hand tools and fabrication machines

3D Printer (generic)
3D Printer (generic)
Soldering iron (generic)
Soldering iron (generic)
if you buy from ottodiy.com NO need
Phillips Cross screwdriver
Hot glue gun (generic)
Hot glue gun (generic)

Story

Read more

Custom parts and enclosures

Autodesk Fusion 360

You can modify the size, use the parts for 3d printing and add parts as desire

Thingiverse .STL 3D printable files

Schematics

Basic parts schematic

Please note that was made in Autodesk Circuit the ultrasound lack of one cable, https://circuits.io/circuits/1749080-otto-circuit/
Wt6iqi53jxztnybmnx4b

Code

Function that reads voltage of battery

Arduino
//Function that reads voltage of battery

#define BAT_MAX  600 //max battery voltage in mV/10
#define BAT_MIN 400 // min battery voltage in mV/10
#define SLOPE 100/(BAT_MAX - BAT_MIN)
#define OFFSET  (100*BAT_MIN)/(BAT_MAX - BAT_MIN)

this you add in shetch where zowi reads batt voltage:

    batt = ((readVcc() / 10) * SLOPE) - OFFSET;
    if(batt>100){batt = 100;}
    
long readVcc() {
  // Read 1.1V reference against AVcc
  // set the reference to Vcc and the measurement to the internal 1.1V reference
  ADMUX = _BV(REFS0) | _BV(MUX3) | _BV(MUX2) | _BV(MUX1);
  delay(2); // Wait for Vref to settle
  ADCSRA |= _BV(ADSC); // Start conversion
  while (bit_is_set(ADCSRA, ADSC)); // measuring

  uint8_t low  = ADCL; // must read ADCL first - it then locks ADCH
  uint8_t high = ADCH; // unlocks both

  long result = (high << 8) | low;

  result = 1125300L / result; // Calculate Vcc (in mV); 1125300 = 1.1*1023*1000
  return result; // Vcc in millivolts
}

Arduino Source

Avoid obstacles

Basic code to avoid obstacles, also include all libraries and is easy to modify for custom moves

Credits

Camilo Parra Palacio

Camilo Parra Palacio

4 projects • 90 followers
creator and Founder of Otto DIY, a project that follows his passion for robotics, toys, open source hardware and his dream to be a Maker Pro
Davor Levstek

Davor Levstek

2 projects • 5 followers
Working as quality control inspector at rail vehicles factory. I'm interested in programming microcontrollers, making toys and learning about everything.
Gerardo Barbarov Rostan

Gerardo Barbarov Rostan

2 projects • 5 followers
Creator of Kusibot & founder of Singular Devices , a project inspired for my passion for accessibility devices and robotics
tritri62

tritri62

1 project • 2 followers
Octavio P Nogueira

Octavio P Nogueira

1 project • 4 followers
Gustavo Reynaga

Gustavo Reynaga

9 projects • 58 followers
Iam a teacher
Rafael López

Rafael López

1 project • 6 followers
Frank Lopez

Frank Lopez

2 projects • 4 followers
Humanoid Android Engineer & Designer im also a MAKER and Currently building an A.I based Neural Network for a Android and other prototypes.
Jason Snow

Jason Snow

2 projects • 6 followers
Industrial Electrician, PLC programmer and Electronic designer
Pablo E. García Palacios

Pablo E. García Palacios

1 project • 4 followers
Computer Engineer and Robotics Teacher in Spain.
Marco

Marco

2 projects • 7 followers
Liao Ping Lun

Liao Ping Lun

2 projects • 6 followers
Software developer in Yunlin County, Taiwan. Motto: Smart Work, Work Smart. Enjoy it. About me: https://www.cakeresume.com/liao-ping-lun
Pedro-51

Pedro-51

1 project • 4 followers
s199

s199

0 projects • 1 follower

Comments

Add projectSign up / Login