Skip to content

Commit 150a9e7

Browse files
Rafael Koch PeresRafael Koch Peres
Rafael Koch Peres
authored and
Rafael Koch Peres
committed
KY-023 tutorial added.
1 parent 79a2023 commit 150a9e7

File tree

3 files changed

+26
-1
lines changed

3 files changed

+26
-1
lines changed

sensor-thumb-joystick/README.md

+26-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,30 @@
1+
* [Linksprite Thumb Joystick](linksprite-thumb-joystick)
2+
3+
* [KY-023 Joystick Modul](ky-023-joystick)
4+
5+
6+
## Linksprite Thumb Joystick
7+
8+
[Example code](thumbjoystick.py).
9+
110
![Above View](images/above.jpg)
211

312
![Rear View](images/rear.jpg)
413

5-
![Below View](images/below.jpg)
14+
![Below View](images/below.jpg)
15+
16+
17+
## KY-023 Joystick
18+
19+
[Example code](ky023.py) (very similar to the linksprite one - only the switch has an additional pin).
20+
This sensor has 5 pins, each one specified on the hardware itself.
21+
For the example code, the pins are (`sensor: extension board`):
22+
* x: A0
23+
* y: A1
24+
* sw: D27 (notice the yellow cable on the images below)
25+
* +5V: V
26+
* GND: G
27+
28+
![KY023](images/ky023.jpg)
29+
30+
![Board Connection](images/ky023connection.jpg)
637 KB
Loading
Loading

0 commit comments

Comments
 (0)