You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
tablecontrol/README.org

947 B

Setup

virtualenv --no-site-packages --distribute .env
source .env/bin/activate
pip install -r requirements.txt

Connect to serial port

picocom /dev/ttyUSB0 -b115200

Copying file

ampy --port /dev/ttyUSB0 put hcsr04.py

Small card

Distance measuring

HCSR04 Pins

Pin on component Pin on card
Trig D3
Echo D4
Vcc 5V
GND GND

Set up distance measuring

import main

main.distance()

Movement sensor

Sensor pins

Pin on component Pin on card
5V 5V
GND GND
OUT D2

Set up movement sensor

import main

main.movement()