minimum system discover iot

An example project for combining an ADC, ds18b20 temp sensor, buttons and leds in a system that reads the peripherals and sends values to thingspeak

Pure Nim score 15/100 · last commit 2020-11-03 · 1 stars · tests present · no docs generated

Summary

Latest Version Unknown
License Unknown
CI Status Failing
Stars 1
Forks 0
Open Issues 0
Last Commit 2020-11-03
Downloads 0
Last Indexed 2026-08-01 04:45

Installation

nimble install minimum system discover iot
choosenim install minimum system discover iot
git clone https://gitlab.com/npes-py-experiments/minimum-system-discover-iot

OS Compatibility

Platform Linux macOS Windows FreeBSD OpenBSD NetBSD Android iOS WASM Embedded
minimum system discover iot - - - - - - -

README

minimum system discover iot

An example project for combining an ADC, ds18b20 temp sensor, buttons and leds in a minimum system that reads the peripherals and sends values to thingspeak.
The minimum system is a part of a course at UCL called "Discover IoT", For more info visit the companion site and the course material

Development usage

You need a RPi(>=3), DS18B20 temperature sensor, MCP3008 ADC, Potentiometer, led/btn board, Python above version 3.5, Thingspeak account, pip installed and SPI enabled on the Raspberry Pi

  1. Clone the repository git clone git@gitlab.com:npes-py-experiments/minimum-system-discover-iot.git
  2. Create a virtual environment https://packaging.python.org/guides/installing-using-pip-and-virtual-environments/#creating-a-virtual-environment
  3. Activate the virtual environment https://packaging.python.org/guides/installing-using-pip-and-virtual-environments/#activating-a-virtual-environment
  4. Install requirements pip install -r requirements.txt
  5. On the Raspberry Pi, you will need to add dtoverlay=w1-gpio" (for regular connection) or dtoverlay=w1-gpio,pullup="y" (for parasitic connection) to your /boot/config.txt. The default data pin is GPIO4 (RaspPi connector pin 7), but that can be changed from 4 to x with dtoverlay=w1-gpio,gpiopin=x
  6. Run python3 app.py