Hardware
Your task is to build a prototype IoT module that captures data from one or more sensors, cleans this and sends it through to the Adafruit server. To help you with this you will be provided with an IoT kit. This document describes the contents of this kit.
The Microcontroller
The core of your sensor module will be based around the ESP8266 Wifi chip with self-contained microcontroller. This is the most commonly-used chip in Internet of Things (IoT) devices.
You will be provided with an ESP8266 Development Module.
Whilst it comes with its own Software Development Kit (SDK) based around freeRTOS, there are a number of more popular options:
- NodeMCU (based around the Lua programming language).
- MicroPython
- Arduino
You should use the Arduino SDK for this project.
Sensors
There are a number of sensors that can be used for environmental sensors but it is important that you only pick those that are supported by Arduino libraries. The table below shows some of the most useful ones and includes links to online tutorials. If you identify other useful ones, let the module leader know and they can be added to the list. The ones shown italicised are not part of the provided kit.
Environment | Sensor | Tutorial |
---|---|---|
Temperature | DS18B20 | https://goo.gl/aNBgtK |
Temperature and humidity | DHT11 | https://goo.gl/xdoFG6 |
NH3,NOx, alcohol, Benzene, smoke, CO2 | MQ-135 | https://goo.gl/zxCetD |
Hygrometer | YL-69 | - |
UV | GUVA-S12SD | https://goo.gl/3s6J4o |
Light | TSL2561 | https://goo.gl/YUftqv |
Dust | GP2Y1010AU0F | https://goo.gl/MTNiyf |
Dust | DSM501A | - |
Vibration | SW-420 | https://goo.gl/4tNLi5 |
Sound | KY-038 | https://goo.gl/bCxrXF |
Combustible Gas, Smoke | MQ-2 | https://goo.gl/2fBk1t |
Alcohol gas | MQ-3 | - |
CH4 / Natural gas | MQ-4 | - |
LPG, Natural Gas, Town Gas | MQ-5 MQ-6 | - |
CO (carbon monoxide) | MQ-7 | - |
Hydrogen | MQ-8 | - |
Carbon Monoxide, Coal Gas, Liquefied Gas | MQ-9 | - |
Displays
As part of this project you may want to add a screen to display useful information such as the IP address etc.
Display | Interface | Tutorial |
---|---|---|
SSD1306 I2C OLED Screen | I2C | https://goo.gl/idmyaz |
Equipment List
You will be provided with kit to use during the project however you may wish to purchase your own resources, below you can find a full costed kit. Prices and links are for Amazon but you can find these a lot cheaper if you shop around and you may be able to find some of this kit in the electronics lab (ask the supervisor in the lab first).
Team Kits
The following items will be in the kit issued to your team. Make sure you check everything is there before signing for it.
Equipment | Cost |
---|---|
NodeMCU ESP8266 CP2102 v3 | £6.99 |
Micro-USB cable 30cm | £3.99 |
Breadboard | £1.56 |
Jumper wires x65 | £3.95 |
Temperature sensor module DS18B20 | £1.35 |
Temperature/Humidity module DHT11 | £1.46 |
Gas sensor MQ-135 | £5.60 |
Light sensor GY-2561 TSL2561 | £1.62 |
Vibration sensor SW-420 | £1.76 |
Sound sensor KY-038 | £3.60 |
Stanley storage box | £7.30 |
NOTE: One member of the team will have to sign for the kit at the start of the project. Any missing items will be charged at the prices in the table above.
Additional Components
Your trip organisers can provide your team with the following components.
Equipment | Cost | Qty |
---|---|---|
USB type-c to Micro-b 15cm cable | £5.51 | 2 |
USB to USB-C adapter | £5.49 | 2 |
Breadboard power supply | £2.48 | 5 |
Rechargable 9v battery | £5.78 | 5 |
UV sensor KS-204 GUVA-S12SD | £5.29 | 5 |
Dust sensor GP2Y1010AU0F | £8.76 | 5 |
GY-NEO6MV2 NEO-6M GPS Module | £5.99 | 5 |
0.96 ssd1306 i2c OLED | £6.99 | 5 |
ESP8266 ESP-12E module | £2.03 | 2 |
MicroUSB 3.3v/5v regulator | £2.99 | 2 |
Male header pins 0.1" pitch (40 pin) | £5.99 | 50 |
Male header pins 2mm pitch (40 pin) | £1.27 | 10 |
USB TTL serial cable | £5.99 | 2 |
Lab Equipment
During your project you may need to troubleshoot your circuits. There are a number of tools that can be requested from the trip organisers. Make sure you have researched their purpose and how they are used, the trip organisers can help.
Equipment | Cost | Qty |
---|---|---|
Multimeter | £3.82 | 2 |
USB voltage/current meter | £3.99 | 2 |
USB soldering iron | £6.95 | 1 |
Solder (1mm) | £8.02 | 1 |
Bus pirate v4 | £38.99 | 1 |
Bus pirate probes | £5.99 | 1 |
Open workbench logic sniffer | £62.99 | 1 |
Logic sniffer cable x8 | £9.68 | 2 |
Mini-USB cable 15cm | £2.49 | 2 |