dag 2f6453f896 First commit | 5 gadi atpakaļ | |
---|---|---|
mod | 5 gadi atpakaļ | |
README.md | 5 gadi atpakaļ | |
vgem.py | 5 gadi atpakaļ | |
wiring.png | 5 gadi atpakaļ | |
wiring_sceem.png | 5 gadi atpakaļ |
Using the adafruit MPR121 capacitiv touch sensor and a RaspberryPi to teach some vegetables to speek.
You need to wire the MPR121 and the LED's as desciped in the wiring.png and wiring_sceem.png file which you can also see below this text. For the LED's we use GPIO 17, 22 and 27, but you can change this easily in the python code on the 'switch' module.
First you need to install Raspbian Stretch by following these installation guide.
# sudo raspi-config (5. Interfacing Options)
# sudo apt update && sudo apt dist-upgrade
# sudo apt install python3 python3-pip git python3-gpiozero python3-pygame
# sudo pip3 install adafruit-circuitpython-mpr121
# sudo apt install spyder3
The basic funktionality of the MPR121 is descriped here.
# git clone https://git.foxhole.li/moetom/vgem.git
# python3 vgem.py