This is the repository of The Edge to Cloud Code Generator (ECCG).
The ECCG is a web application that generates ready to use code/guide for designing IoT applications mainly designed for data scientists. You can access the application from the following URL: https://edgetocloudgenerator.herokuapp.com/the_eccg.
- Raspberry Pi 4 Model B
- Arduino Expansion Shield for Raspberry Pi model B
- Grove - Temperature&Humidity Sensor (DHT11)
- Grove - Air Quality Sensor v1.3
- Grove - UART WiFi V2
- Grove - Bee Socket
- Digi XBee 3 Zigbee 3 RF Module
- Grove - Serial Bluetooth v3.0
- The Arduino codes are actually given as JS variables that are used to build the web application.
- They need to be slightly edited to be a MWE.
- The codes include debugging part that prints data flow to Serial Monitor.
- The some of AT (Hayes) commands are loaded into flash memory, hence requiring to be run only once. However running them each time do not make any significant differences.
- The ECCG assume you are running modules for the first time.
- BlueZ is the official Linux Bluetooth protocol stack.
- BlueZ is based on D-Bus.
- The auto pairing Python3 script is written based on D-Bus.
- The script does the following: (I) looks for a bluetooth module named 'Slave', (II) removes if paired, (III) then repairs.
- The process is asynchronous.
- The D-Bus might be difficult to be understood by beginners, but you should be able to realize what kind of changes you need to make by looking at the script, without knowing how D-Bus work.
- Python script is preferred due the Digi-Key providing an official API.
- The script allows you to send data to designated coordinator.
- The examples folder contains ready-to-use Arduino codes.
- The ECCG now sends average data per given time interval by default.
- The highest and lowest data options are also added.