Humanoid

by parths1 in Circuits > Arduino

1041 Views, 5 Favorites, 0 Comments

Humanoid

IMG_20150603_010103.jpg

A robot that imitates human walking controlled by gestures of any android having accelerometer inbuilt.

Collecting Items

arduino_uno_large.png
apcnews2012masterclass_arduino_enhanced_rolly_thumb_mainImage3.jpg3.jpg
IMG_20150706_093828.jpg
IMG_20150706_093813.jpg
IMG_20150706_093756.jpg
IMG_20150706_093745.jpg
IMG_20150706_093723.jpg

you have to arrange

1) Arduino (any,i used uno r3) X1

2) Servo Motor X2

3) 9V battery X1

4) arduino shield for servo (optional)

5) bluetooth module (HC06) X1

6) support hinges (i used mechanix parts)

7) waste plastic to make legs

8) glue

Making Hardware

IMG_20150706_093714.jpg
IMG_20150706_093740.jpg
IMG_20150603_010144.jpg

i used extra plastic to make legs and bottom of foot should be wide enough to support the bot standing,

paste bluetooth module to battery and then battery to back of arduino

attach motors to arduino with help of any rigid piece screwed to arduino on bottom to holes in arduino (which are actually for hex nuts)

i did use a shield to connect motors but they can be connected directly also (3 pins VCC,GND,data line)

Coding

IMG_20150603_010119.jpg

the android app i made is given in this step

and the algorithm on arduino is

app sends 'u' to make motors move to such an angle that it moves one step ahead

'r' to move right means only move left motor

'l' to move left means only right motor moves

so i used serial.read () to know which letter is coming, and took help from the library in arduino 'servo' to move motor