EasyManua.ls Logo

SunFounder 3in1 Kit - Page 128

Default Icon
351 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
SunFounder 3in1 Kit
After the code is uploaded successfully, the serial monitor prints out the photoresistor values. The stronger the current
ambient brightness, the larger the value displayed on the serial monitor.
4.4.3 4.3 Toggle the Joystick
The joystick should be very familiar to anyone who plays video games regularly. It is usually used to move characters
or rotate the screen.
Our movements can be read by the Joystick, which works on a very simple principle. It consists of two potentiometers
that are perpendicular to each other. These two potentiometers measure the analog value of the joystick in both vertical
and horizontal directions, producing a value (x,y) in a planar right-angle coordinate system.
This kit also includes a joystick with a digital input. It is activated when the joystick is pressed.
Required Components
In this project, we need the following components.
Its definitely convenient to buy a whole kit, here’s the link:
Name ITEMS IN THIS KIT LINK
3 in 1 Starter Kit 380+
You can also buy them separately from the links below.
COMPONENT INTRODUCTION PURCHASE LINK
Arduino Uno R4 Minima -
Breadboard
Jumper Wires
Resistor
Joystick Module -
Schematic
124 Chapter 4. Basic Projects

Related product manuals