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
×4
Adafruit industries ada1536 image
Buzzer
×1
266 04
Female/Female Jumper Wires
×10
8x8mm Micro Switch Self lock On/Off
×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.

Gus 002
Gustavo Reynaga

Iam a teacher

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

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

Give feedback

Comments

Similar projects you might like

Flightduino 101
Intermediate
  • 112
  • 4

Full instructions

A drone project that uses the Neural Pattern Recognition Module and other aspects of the Curie Module to advantage for creating a cool drone

Arduino 101 BLE App
Intermediate
  • 1,320
  • 18

Work in progress

I want to show you how to make an application and connect it with the Arduino 101 platform for Internet of things applications.

Bluetooth smart home
Intermediate
  • 210
  • 4

Full instructions

A concept showing smart home control and automation with Arduino 101, accompanied by a custom Android application.

Avoid Injuries with Smart Backpack
Intermediate
  • 796
  • 11

Full instructions

Smart Backpack helps you to avoid injuries caused by backpacks by alerting you about improper uses.

FM radio
Intermediate
  • 6,872
  • 32

Full instructions

Build a great sounding FM radio with a cool display using an Arduino Nano and the Sparkfun Si4703 FM tuner breakout

Aquariumatic
Intermediate
  • 1,296
  • 12

Work in progress

Aquarium monitor with automation, Web GUI & IOT. Daisychain units can control multiple tanks all from the one master unit.

ProjectsCommunitiesContestsLiveAppsBetaFree StoreBlogAdd projectSign up / Login
Respect project
Feedback