Jump to main content

How to Use a Joystick with Arduino (Lesson #13)

Learn how to use an analog joystick with an Arduino so you can control outputs like LEDs and motors. See our complete playlist of Arduino tutorials here: https://youtube.com/playlist and the Science Buddies website for cool science projects you can do with an Arduino: https://www.sciencebuddies.org/search

Here's a project with example code that uses a joystick: https://www.sciencebuddies.org/stem-activities/drone-arduino-steering-joystick

0:00 introduction
1:37 wiring
3:14 code (read inputs)
4:53 controlling LEDs
9:26 adding a "dead zone"

How to use a breadboard: https://youtu.be/6WReFkfrUIk

Robotic arm video: https://youtu.be/2MOFAHGUGps

Explore More Resources Like This

Area of Science
Robots are made to go and do what humans either can not, or do not want to do. They are used in hundreds of ways from exploring Mars, to working tirelessly on a manufacturing line, to providing companionship. Not to mention they make great movie characters! … Read more
Top
Free science fair projects.