Integrate LASS (Location Aware Sensing System) with TangleID and manage sensor data.
Follow the tutorial to build your devices.
- Ameba RTL8195AM
- SHT31 or BME280
- Plantower PMS3003 (G3)
- OLED SSD1306
- PMS3003 (G3)
| Ameba | PMS3003 |
|---|---|
| 5V | pin1 |
| GND | pin2 |
| D1(TX) | pin4 |
| D0(RX) | pin5 |
- SHT31/BME280 and OLED
| Ameba | SHT31/BME280 | OLED |
|---|---|---|
| GND | GND | GND |
| 3.3V | VIN | VCC |
| SDA | SDA | SDA |
| SCL | SCL | SCL |
| 3.3V | SD0 (BME280 only) |
Ameba Arduino: Getting Started With RTL8195
- Copy
airbox-with-iota/lib/toDocuments\Arduino\library
- Input your wifi SSID, wifi password, and location in
airbox-with-iota/main/config.h
- Update program
- Keep your uuid
- Records
Search
Tag(uuid+'C') on TheTangle(DEVNET)
e.g.
uuid : LASSPBUAUAXABBMBOBAB
Tag : LASSPBUAUAXABBMBOBABC
https://devnet.thetangle.org/tag/LASSPBUAUAXABBMBOBABC
- Python 3.6.5
python airbox-with-iota/api/test.py
Search for uuids of all available airboxes.
- Input: none ()
- Return: uuid list (list)
Search for all sensor data by an uuid.
- Input: uuid (string)
- Return: sensor data (json)
Search for latest sensor data by an uuid.
- Input: uuid (string)
- Return: sensor data (json)
Search for sensor data in one week by an uuid.
- Input: uuid (string)
- Return: sensor data (json)
Search for latest sensor data by an uuid and a date.
- Input: uuid (string), yyyy-mm-dd (string)
- Return: sensor data (json)
Search for all latest sensor data of each airbox.
- Input: none ()
- Return: sensor data (json)







