Things You Need : Hardware
For this project you will need:
- Atmega328 (with Arduino UNO bootloader)
- 28 dip socket
- 16 MHz crystal oscillator
- 2x22 pF capacitors
- 10 kOhm resistor
- 2 continuous rotation servo FS90R
- HC-SR04 ultrasonic sensor
- Buzzer
- 3.7V 500mAh rechargeable battery
- Charging circuit
- On/Off micro switch
- PCB prototype board
Wire it up : Circuitry
Circuitry Schematics |
Take your time and make your circuit as small as you can so it can fit inside the can robot.
The Binary Part : Coding
Connect your circuit with TTL to USB module (or Arduino uno board - note - remove ATmega328) with 5 cables to the programming header. The pins RX and TX must be cross-connected. You can change the speed of your small robot by changing the "speedS=10" variable - line 14.
Download the code from this step and open it with Arduino IDE. Inside you will also find all necessary libraries.
Ending Up Things : Structure
It's time to use your hot melt glue gun, watch the above images for reference.
That's it!
I hope you liked this, let me know in the comments!
I would also like to see some photos with your new 3d printed robot!