Loading Events
All Events LESSON 9: Joysticks
  • This event has passed.
Joysticks Tutorial, Tilt Switches Tutorial with Arduino

LESSON 9: Joysticks

@ -

The first thing that comes to mind when you think of joysticks is gaming. Although these components can be used to create a variety of games with your Arduino, they’re also useful for controlling robots, motors and servos. Joysticks are composed of 2 potentiometers (one that changes with up and down movements and another for left to right movements) and an off/on switch that is activated by pushing the knob down. We’ll learn to read the values coming from our joystick and then use them to perform a variety of actions like changing the brightness and colors of LEDs and controlling servos and motors.


You’ll be able to follow along and build all the projects featured in this course with the ELEGOO UNO Project Super Starter Kit.


  1. Introduction to Joysticks
  2. Understanding x and y-axis ADC values
  3. Incorporating a joystick in your circuit
  4. Using the serial monitor to read x and y values
  5. Controlling the brightness of LEDs with a joystick
  6. Changing the color of a RGB LED with a joystick
  7. Mapping ADC values from the joystick to PWM values of the LEDs
  8. Control servos with a joystick
  9. Control speed and direction of DC motors with a joystick
  10. Assignment



Event Navigation

Stop Scrolling. Start Creating.

Find out about new courses and live events!
Get my latest guides and reference materials.
Unsubscribe anytime!

    Copyright © 2022 Rachel De Barros • All rights reserved.