3D dashboard for STM32 IOT node board
-
Install Processing.
https://processing.org/download/ -
Install L3D lib
https://github.com/enjrolas/L3D-Library -
Install UDP lib by Procesing "Import library"
-
nano ~/.bash_profile
add: export PATH="${PATH}:~/Desktop/processing-3.3.7"
- sudo apt-get install -y nodejs
- sudo apt install npm
- npm install --save firebase
-
Hw
https://www.st.com/en/evaluation-tools/b-l475e-iot01a.html -
Sw: B-L475E-IOT01.bin
It is based on X-CUBE-AWS. Instead of sending sensor JSON data by MQTT, it sends sensor data by UDP multicast (Port: 3333, "224.0.0.1").
The user push-button (blue) is used to configure the WiFi credentials. This can be done from the time that the board starts up and up to 3 seconds after that.
https://www.st.com/en/embedded-software/x-cube-aws.html -
Install cutecom for sensor board setting.
sudo apt-get update
sudo apt-get install cutecomif "Serial port errors 'Permission denied' ", solution:
id -Gn
sudo adduser user dialout -
The serial port is to be configured with: COM port number, 115200 baud rate, 8-bit data, parity none, 1 stop bit and no flow control. The virtual terminal new-line transmit configuration must be set to LineFeed (\n or LF) in order to allow the copy-paste from the UNIX type text files. The “Local echo” option makes copy-paste visible on the console
-
Photon-datasheet
https://docs.particle.io/datasheets/photon-(wifi)/photon-datasheet/ -
Getting started
https://docs.particle.io/guide/getting-started/intro/photon/ -
Stream app
https://github.com/enjrolas/L3D-Software/blob/master/Streaming/Listener/Listener.ino -
Reference
https://www.kickstarter.com/projects/lookingglass/l3d-cube-the-3d-led-cube-from-the-future
Cube firmware: https://github.com/enjrolas/L3D-Software
Cube hardware: https://github.com/enjrolas/L3D-Hardware
Processing library: https://github.com/enjrolas/L3D-library