Hey everyone!
Today I will be teaching you about controlling a tipper robot with joystick. The tipper robot will tilt upwards when you move the joystick vertically. The barrier at the back of the tipper robot will move upwards, releasing the objects stored in the tipper robot, when you press the joystick. Read on further to learn how I did this project.
Hardware components used in this project
- Arduino Nano
- USB Type A to mini B cable (for Arduino Nano)
- Solderless Breadboard - Mini
- Micro servo motor SG-90 (x2)
- Dual-axis XY Joystick module (KY-023)
- Male-to-Male Jumper wires (x6) - 10cm
- Female-to-Male Jumper wires (x4) - 20cm
- Jumpers (x2) - To reduce the usage of wires
- Cardboard bracket (to act as tipper)
Setup
Your setup must look somewhat similar to that shown in the images above.
Connections
Servo1 - To control the tipper robot
- S (Yellow/ Orange wire) - D5
- (+) (Red wire) - 5V
- (-) (Black/ Brown wire) - Ground (GND)
Servo2 - To control the barrier
- S (Yellow/ Orange wire) - D6
- (+) (Red wire) - 5V
- (-) (Black/ Brown wire) - Ground (GND)
Dual-axis XY Joystick module (KY-023)
- GND - Ground
- +5V - 5V
- VRX - A0
- SW - D3
Coding
If anyone has any questions with the codes, please feel free to comment below or send me an email at arduinoprojectsbyr@gmail.com.
Final Look
If anyone has any questions, or suggestions, about this project, please feel free to comment below or send me an email to arduinoprojectsbyr@gmail.com.
Comments
Post a Comment