Showing posts with label Arduino Robot Project. Show all posts
Showing posts with label Arduino Robot Project. Show all posts

Arduino Robot Project: Part 5 -- Video Demonstration



Hey guys!

I finally got a chance to record the line follower in action. I had to readjust some numbers in the code for it to be able to work. The floor here is different from where I was initially testing the line follower. So, I got different readings from the infrared detectors. But here's a quick video of the line follower. There was a part where the line follower seems to stop but it was because a piece of the tape was sticking out. So it got in the way since the robot has a low clearance to the ground.



Arduino Robot Project: Part 4 -- Shield and Software

Adding Headers to the Motor Shield:

So I finally came across some stackable headers that I ordered from Karlsson Jupiter. I ordered them online and they were available for pick up the next day. The headers came in a 6 pin header, two 8 pin headers, and one 10 pin headers so they connect directly to the Arduino. The headers are important so the Arduino can communicate with the shield. Since I do not know which pins are being used to communicate with the shield, it was important for me to get the whole complete kit. The headers are the stackable kind so I can still connect things on top such as the sensor reading wires from the sensor board. So I placed the headers through the holes of the shield and just soldered one pin from each header.




Once I did that, I went ahead and stacked it on top of the Arduino to make sure that the headers were aligned well and that they go into the pins of the Arduino perfectly. If not, I had to reheat to solder to adjust the position of the header. When I checked, all my headers were aligned well. So, I removed the shield carefully and finished soldering the headers onto the shield.

Arduino Robot Project: Part 3 -- Building the Parts of the Line Robot

There were a few components of the robot that I had to make or modify. There was the sensor board that I had to make with the sensors, resistors, and the perforated board. I also had to modify the servos to convert them to geared DC motors. Once that was done, I used a plastic container to enclose all these parts. I had to cut holes for the sensors and the motors.  I will be going though in the making of these several parts of the robot. Then I will assemble them together.

Sensor Board:

For the sensor board I used the sensors that I ordered along with the perforated board and resistors. I also needed some wiring to connect all the grounds together and the power together. 

So I started off first by placing the sensors on top of the board with some spacing in between them so they won't interfere with each other. The blue led is the IR emitter while the black led is the IR detector. The spacing was about half of inch. I had some trouble trying to stick the sensors pins through the hole because in between the pins there was some kind of plastic that protruded out. So I tried my best to stick the pins through the holes.

Arduino Robot Project: Part 2 -- Pre-Build

Design

For the design of the line robot I will be using a plastic container that I found at a thrift store for a dollar. I plan on putting the two motors towards the rear of the container with the caster wheel at the front using some L brackets to connect them together. The design will be similar to the one that was used in the manual. I will have the sensor board towards the front with a cutout at the bottom so the sensors can read the floor. The container I have chosen is listed below along with a picture of it. I chose this since it’s clear and I would like to see the "guts" of the robot. I think it's a cool look and I could add some LEDs inside to make it look a little cooler in my opinion.

Material List and Cost

For this project I ordered some of the parts online. To start I bought an Arduino clone on eBay from a seller named 16hertzelectronics. The price for this Arduino Uno was $14.99 with free shipping.  The link to the Arduino is: http://www.ebay.com/itm/UNO-R3-Kit-Starter-to-Ultimate-Arduino-Compatible-LCD-Breadboard-Sensor-/271658490668?pt=LH_DefaultDomain_0&var=&hash=item3f401b9b2c



Arduino Robot Project: Part 1 -- The Sensor Board

Gerardo Ramos is working on a robot from scratch. Introducing below is the sensor board. The red wires are the power wires. The green wires are ground and the blue wires are the feedback wires from the sensors. It's my first time soldering.




        I am waiting for other parts which I am receiving shortly. More updates to come.