dag 6dbf34c449 Master | лет назад: 5 | |
---|---|---|
mod | лет назад: 5 | |
LICENSE.txt | лет назад: 5 | |
README.md | лет назад: 5 | |
ueberschrift.png | лет назад: 5 | |
vgem.py | лет назад: 5 | |
wiring_Steckplatine.png | лет назад: 5 | |
wiring_sceem.png | лет назад: 5 |
Using the adafruit MPR121 capacitiv touch sensor and a RaspberryPi to teach some vegetables how to speak.
You need to wire the MPR121 and the LED's as described in the pictures below. 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 this 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 functionality of the MPR121 is described here.
# git clone https://git.alfi.li/2much/vgem.git
# python3 vgem.py
This file is part of Verrücktes Gemüse.
Verrücktes Gemüse is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
Verrücktes Gemüse is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see https://www.gnu.org/licenses/.