This is my first Biped Bot using the Arduino Nano. Currently Mini-Max has the ability to detect an object in his path using the Sharp IR Sensor. He uses 6 SG90 9G Plastic Gear Servos. Runs on 7.4v Lipo. He is able to walk around and when a object is in his path he stops and backs up and then turns to his left. This is just the start of this project. I plan on adding a real time clock module so that a specific time of day he will go into a motion detection phase and alert when there is motion. Will also be adding a SD card module for the playback of WAV files. The top of his head will be covered in clear plastic once his wires are all hidden and 2 LED's will be placed in his head for visual. Will post a video soon along with other updates.
Now we have arms and hands.
The arms are made from the straw portion of a cat tail teaser that you can buy at dollar tree.
The hands were also made from the Foam PVC and then glued into the straws.
After getting undesireable results from the IR sensor I switch to a Ping sensor and get much better results.
Now that I am using a Ping sensor the result as much better and the bot is stopping when too close to an object or wall.
I decided to change the main body of the program to make the bot more reactive to his surroundings.
In the original code when the bot would come to an object or wall it would stop for X amount of time and his hands would raise and then he would go backwards and then turn to the left. At this point a counter would start and once it hit the magic number of 3 times of performing this action it would then turn to the right after backing up.
Now when the bot is too close to an object or wall he immediately turns to his left and if it is clear continues forward, if not he then turns to his right and goes forward.
I also added the ability for the bot to always sense the distance while in a walk cycle so if you walk infront of the bot he will back up immediately.
Max now has a head.
With the change in weight/center of gravity I am working on fixing all the walk cycles to accomodate the difference.
New video to come soon.
I have rounded the corners of the feet to keep them from catching on any while walking on carpet.
I have also fixed the walking gait to compensate for the head being added.
To my surprise the new gate is faster and very stabile. The bot can now walk at 1 inch per second.
I have also given a little smile to the bot.
I plan on adding a RTC module wich will fit into his head.
Why add a RTC, I can then do a schedule and have the bot do specific things at a given time.
I am currently testing a motion detection piece of code that uses the already present ping sensor.
The sensor takes several samples within a 100 ms time and then compares them.
You will notice that in the new video a blue LED light comes on.
The bot stops for a short interval and then checks for motion, if there is motion the LED lights up.
New video soon!
So now that Max is working I wanted to add a way for him to determine terrain height and then change the distance in which he lifts his leg. I recently received a TOF sensor (Top of Flight) which uses a narrow beam of light to detect distance. What I talking about is walking from a tile surface onto carpet, there is that difference in height between the two. I played with a Ping sensor and a IR sensor and they did a horrible job in detecting that difference because the carpet would absorb the sound from the ping sensor and did the same for the IR sensor. While the TOF sensor is not perfect it still gives a good result for this. The greatest distance that I can get an accurate reading from the TOF sensor is 7 inches. This is perfect as the distance from Max's hip to the ground is only 3.5 inches. I will be making a new version of Max called Max V2 which will have a much better walking gait and will have the TOF sensor mounted in the hip and angled so that it points just slightly infront of his feet.