-
Part 1: Turn on/off light with a script on the pi
- relay
- transistor
- briefly explain the different raspberry pi pins (gpio vs static voltage out pins) and why we need the transistor.
- We want to show that:
- it's easy to use physical devices
- Status: Relay can be controlled by pi, script has been commited (run gpio_part_1.py)
-
Part 2a: Build a (not really restful) server (to control lamp)
- We want to show that:
- it easy to build an API
- e.g. /myserver/lamp/on /myserver/lamp/off
- We want to show that:
-
Status: Relay can be controlled by on/off commands (run gpio_part_2.py)
-
Part 2b: Build small web app to exercise api properly
- We want to show that:
- it's easy to build a backend
- it is easy to build a little app
- Status: Added simple front end (on/off buttons). Is currenly in pull request but as soon as this has been merged in it is done.
- We want to show that:
-
Part 3: Get sensor data from the pi
- Mention that lots of different protocols are supported by the pi: 1-wire, i2c. For all of them there is lots of information online.
- We will not bother with recording the values into a db but can mention sqlite as an easy way to do so.
- We want to show that:
- you can use input data from sensors
- Status: We can use gpio_part_4.py to get sensor readings from a dummy sensor or the real thing. No shiny front end yet.
-
Part 4: Closing the control loop
- We want to show:
- we can use the sensor data to control an actuator
- Have a front end where you can enter a set point. Dip the sensor in ice water and see the lamp turn on.
- We want to show:
-
Part 5: 'Listen' to tweets to turn on/off the heater/lamp
- people tweet on/off
- average on the last 10 tweet
- We want to show that:
- Everything is awesome!
- Status: Twitter voting functionality has been added in gpio_part_5.py but no shiny front end is available yet.
-
more interesting things to mention: GPIO zero
- lamp (Benoit)
- an audio output cable (anniek + benoit), might not end up using this
- speaker (anniek), might not end up using this
- charging the speaker, anniek!
- router and lan cables