Question
MATERIALS NEEDED: ARDUINO UNO, A JOYSTICK, BREADBOARD, JUMPER CABLES, 1 CONTINUOUS SERVO MOTOR, AND 1 STANDARD SERVO MOTOR CODE SHOULD BE ABLE TO RUN IN
MATERIALS NEEDED: ARDUINO UNO, A JOYSTICK, BREADBOARD, JUMPER CABLES, 1 CONTINUOUS SERVO MOTOR, AND 1 STANDARD SERVO MOTOR
CODE SHOULD BE ABLE TO RUN IN ARDUINO (.ino) FORMAT.
DO NOT USE LIBRARY FUNCTIONS OR ANY LIBRARY OFFERED BY ARDUINO.
Use arduino code (.ino) to power 2 servo motors running independently using the same arduino at the same time (one servo should be a CONTINUOUS servo motor and the second one should be STANDARD servo motor).
First, connect a JOYSTICK to two servo motors. RIGHT/LEFT will control the STANDARD servo, UP/DOWN controls the CONTINUOUS servo.
The CONTINUOUS servo will stand without motion when the JOYSTICK is in the middle, it will start to rotate and gain speed if the JOYSTICK is pointed UP, it will start to move and gain speed in the other direction if the JOYSTICK is pointed DOWN.
The STANDARD servo will stand without motion when the JOYSTICK is in the middle, it will start to rotate right when the JOYSTICK is pointed RIGHT, vice-versa, rotate RIGHT when the JOYSTICK is pointed LEFT. SHOW CODE OR COPY OF CODE,
AND SHOW WIRING DIAGRAM.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started