Arduino Dog With Movement Sensor

by aleolidal in Circuits > Arduino

325 Views, 0 Favorites, 0 Comments

Arduino Dog With Movement Sensor

PERRO TOP.jpg
PERROOO.jpg

We made a fluffy scary dog that moves his head and his eyes go red when the movement sensor detects something near.

Supplies

PERRO.JPG
roja.jpg
UNO R3.jpg
M-M.jpg
H-H.jpg
p_1_5_6_7_1567-50-Resistencias-180-ohm-54w-025w.jpg
LED.jpg
Ultrasonic-Transmitter-Receiver-Sensor.jpg
micro-servo-miniatura-sg90.jpg
Duracell_9_Volt_0849.jpg

Teddy puppy, red paint, arduino UNO R-3, male-male cables, female-female cables, 240 Ohms resistors, 2 LEDs, ultrasonic sensor HC-SR04, servomotor SG-90, 9V battery.

Electrical Connections Scheme

TINKER.JPG

We did a scheme of the circuit on Tinkercad to make it more visual if you are interested on building this project. The numbers where the cables are plugged must match the code, if not, it won't work.

CODE

How to Build It

Firstly the LED's that are placed in what would be the eyes of the stuffed animal, we thought that by removing the eyes and putting lights we would get a spookier appearance.


Secondly the servo-motor, which we placed in the neck area cut to give mobility to the head, 


Thirdly the plate, which is hidden inside the bag, where the motion sensor that activates the whole program is also incorporated in the front. 


Finally, the general wiring has been placed inside the plush toy in order to hide them as much as possible from the user. 


Conclusions

In conclusion, this project has turned out to be a good learning experience. We have better understood the functioning of electronics and arduino programming as well as we have applied in a practical way and on our own the concepts explained in class, to give a satisfactory result.