dag 2f6453f896 First commit | 5 年 前 | |
---|---|---|
mod | 5 年 前 | |
README.md | 5 年 前 | |
vgem.py | 5 年 前 | |
wiring.png | 5 年 前 | |
wiring_sceem.png | 5 年 前 |
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