Introduction: IR ROBOTIC CAR
This project is done for makecourse class that is taught at University of South Florida. In this instructable, I'm going to show you how to make a robot that can be controlled with any infrared remote. Here is what you're going to need to complete this robot:
1. Arduino Board
2. Jumper wires (both male-male and female-female). However, if you have male-female wires, that would make your wiring cleaner.
3. Two continuous rotation servo motors.
4. Two wheels (make sure that your wheels can somehow be attached to the servos). 5. L-shaped mounting brackets (8 pieces). These can be found here.
6. Infrared remote.
7. Infrared receiver.
8. Infrared obstacle avoidance sensor.
9. Two LED lights, one green and one red.
10. Two resistors.
13. Two State Switch.
14. Two batteries.
15. You need to be able to 3D print because this Robot has five 3D printed parts.
16. Make sure that you have many 3 mm screws and nuts with different lengths for fastening.
17. Heat shrink wiring wrap.
18. Lighter or a torch.
Step 1: Step 1: 3D CAD Designs
First of all, I designed the parts for the car in Solidworks.
The chassis is what will hold everything together. You can machine it using any hard material, but I used a 3D printer and made it thick for it to be able to hold everything together. The cover is what goes on top of the chassis to cover all the wiring.
Chassis: I have shown the important dimensions, all other dimensions can be made closest to how they are seen in the drawing. Any holes that do not have dimensions are 3 mm in diameter. Cover: Holes are shown for the components that need to be visible, like the lights, switch and the infrared receiver.
There are two slots that can be opened to fix any wiring issues.
Step 2: Step 2: Attach the Servo to the Chasis
Using two L-shaped mounting brackets on each side, a servo can be attached to the chassis. Use two 3 mm sized screws to attach the L-brackets on the holes and two nuts on the other side as shown in the pictures. The servos can be attached also using a screw and a nut on each side. Repeat this step for the other servo.
Step 3: Step 3: Attach the Wheels
I have used three wheels for this robot. Two of the wheels that I used are made specially for servo motors and can be attached by removing the servo fan and putting the wheel instead using the same screw. The third wheel is a caster wheel that can swivel. The four holes that are on the opposite side of the motors are used for the caster wheel and it is attached using four screws and nuts.
Step 4: Step 4: Attaching the Infrared Sensor
Start by printing a small pipe that will hold the sensor in place. Use a 3x30 mm screw and a 3 mm nut and start screwing from the top, put the red pipe in followed by the sensor, followed by a nut and screw tightly. The sensor should be placed on the hole nearest to the edge on the fat end and in the center.
Step 5: Step 5: Attaching the Arduino and Breadboard to the Chassis
Use velcro to attach the Arduino board as shown in picture. Put a piece on the chassis and corresponding piece on the bottom of the Arduino board to make it easily detachable. The breadboard is adhesive underneath, remove the sticker and place it behind the arduino board on the fat end of the chassis.
Step 6: Step 6: the Batteries
Be advised that you have to use two batteries for this vehicle because it uses motors. Use a piece of velcro and make a hole in the middle of it. Attach the velcro by screwing in a 3mm screw in one of the holes away from the caster wheel to allow it to swivel, wrap a corresponding velcro piece around the battery and wrap the first piece around it. Do the same for the other battery. I have used a 7.2 Volt batter for the servos and a 9 Volt battery for the Arduino board. I have attached the 7.2 Volt battery using wires and a heat shrink wire wrap. Put the wires in the positive and negative terminals and put the heat shrink wire wrap around it and burn it using a lighter. I have used a click pin with a wire that can be plugged in to the Arduino board directly.
Step 7: Step 7: Wiring
The wiring is attached