Things used in this project

Hardware components:
Ard nano
Arduino Nano R3
×1
Gus 1719
C.H.I.P. Approved 3.7 V LiPo Battery
500 mAh battery
×1
Dsc 0965
MyOctopus I2C TMP007 breakout module Infrared Sensor
×1
HC-05 Bluetooth module
×1
HC-06 Bluetooth module
×1
HC-SR04 Ultrasonic module
Buy one that also works on 3.3V if you plan to use Lipo battery without step up converter.
×1
Dot matrix display MAX7219
This display takes a lot of space inside Otto and leaves little space for battery so if you have larger battery or don't want animated mouth you can skip this part
×1
RGB Led
This is optional, if you want nose that changes colour.
×1
Touch sensor
This still needs to be tested for changing modes.
×1
Arduino NANO Shield I/O
×1
Adafruit industries ada260 image 90px
USB-A to Mini-USB Cable
×1
Micro servo MG90
×1
Adafruit industries ada1536 image
Buzzer
×1
266 04
Female/Female Jumper Wires
×1
Software apps and online services:
Ide web
Arduino IDE
Ide web
Arduino Web Editor
Hand tools and fabrication machines:
3drag
3D Printer (generic)
09507 01
Soldering iron (generic)
Phillips Cross screwdriver

Custom parts and enclosures

Thingiverse files
Now we have space for switch and buzzer, new legs http://www.thingiverse.com/thing:1568652

Schematics

Basic parts shematic
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 batteryArduino
//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
}
Avoid obstacles
Basic code to avoid obstacles, also include all libraries and is easy to modify for custom moves

Credits

Yo2 r1nyp5pmbe
Camilo Parra Palacio

Toy Maker & Industrial designer working in China, design inflatables and pool accessories, in my spare time make robots and ride bicycle

Zxwwji4gjmwwgrqkcx8e
Davor Levstek

Working as quality control inspector at rail vehicles factory. I'm interested in programming microcontrollers, making toys and learning about everything.

Img 20160724 145732 vliseurtj2
Frank Lopez

Humanoid Android Engineer & Designer im also a MAKER and Currently building an A.I based Neural Network for a Android and other prototypes.

J0fkocjgmiwcy9438jys
Jason Snow

Industrial Electrician, PLC programmer and Electronic designer

Replications

Did you replicate this project? Share it!

I made one

Love this project? Think it could be improved? Tell us what you think!

Give feedback

Comments

Similar projects you might like

Spideruino
Intermediate
  • 3,373
  • 26

A Lego arachnid controlled by your smartphone.

World's Smallest IoT Project
Intermediate
  • 252
  • 6

Full instructions

You haven't made a project smaller than this one, along with features like a built-in battery that lasts a couple of days and a charger.

Key Fob Modification for 2002 Ford Using Particle Electron
Intermediate
  • 579
  • 6

Full instructions

I removed the buttons from the PCB, rewired the switches, and use a Particle Electron to trigger each button via 3G from an Android app.

Swimming Pool Lap Counter
Intermediate
  • 2,519
  • 15

I love swimming, but I tend to lose count of the laps, so I made this lap counter with an Arduino.

C.H.I.P.py Ruxpin ʕ•ᴥ•ʔ
Intermediate
  • 41,762
  • 67

Full instructions

Bring Teddy Ruxpin back to life, but on your own terms! Make him say whatever you want, or have him search twitter to read tweets!

C.H.I.P. MIDI Arpeggiating Synth
Intermediate
  • 8,378
  • 30

Full instructions

Turn CHIP into a ready-to use simple synthesizer, capable of creating a huge variety of sounds. Control it with a MIDI keyboard or even OSC!

Add projectSign up / Login
Respect project