Cuy Andino

by mauriciovalenciaaguirre in Circuits > Arduino

13 Views, 0 Favorites, 0 Comments

Cuy Andino

cuy.jpg

Here's the cool part: We are going to build a robotic guinea pig that can greet people when they get close. To make this possible, we use an ultrasonic sensor that measures distance and detects when someone is nearby; a servo motor that moves the guinea pig’s paw to wave; and an Arduino board, which works as the brain of the robot and coordinates all the movements. The whole system is connected with wires and assembled using simple and accessible parts. In addition, this project has a cultural purpose: we want our robotic guinea pig to help children appreciate our Andean roots and inspire new generations to continue raising guinea pigs, a very important tradition in our Andean region. We also hope it helps people learn about the Andean guinea pig, which is a symbol of our culture.


Supplies

materials.jpg

1 breadboard

1 ultrasonic sensor

1 servomotor

1 Arduino Nano board

1 power supply

1 9V battery

1 usb programming cable

Male and female cables

Assembly Instructions: Let's Bring Your Cuy to Life!

circuito.jpg

Get ready to put it all together! For this project, you'll be connecting your trusty ultrasonic sensor and the cool little servomotor straight to your Arduino Nano board. Here's the exciting part – this is how it's all going to work:

Your ultrasonic sensor, our HC-SR04 buddy, acts like the robot's eyes, constantly checking the distance to anything right in front of it. Now, here's where the magic happens: the second it detects something less than 20 cm away, your Arduino brain kicks into gear! It sends a command to that awesome servomotor, telling it to get moving! The servomotor will swing a piece (which will be your cuy's little paw!) from a 45° angle all the way to 135°, creating a super friendly waving motion! After saying hello a few times with those waves, the servomotor will smoothly go back to its starting position, patiently waiting for the next person to come say hi. This whole setup is a fantastic way to jump into robotics because you get to see sensing the world and making a physical movement work together! You're going to build something that reacts to its environment – how cool is that?!

El sensor ultrasónico se conecta así:


  1. VCC → 5V del Arduino

  2. GND → GND

  3. TRIG → Pin digital 9

  4. ECHO → Pin digital 10

The ultrasonic sensor is connected as follows:

  1. VCC → 5V of the Arduino
  2. GND → GND
  3. TRIG → Digital pin 9
  4. ECHO → Digital pin 10

El servomotor se conecta así:


  1. Rojo (VCC) → pin 5V del Arduino

  2. Marrón o negro (GND) → pin GND del Arduino

  3. Naranja o amarillo (señal) → Pin digital 3 del Arduino

The servo motor is connected as follows:

  1. Red (VCC) → 5V pin of the Arduino.
  2. Brown or black (GND) → GND pin of the Arduino
  3. Orange or yellow (signal) → digital pin 3 of the Arduino