SeismoCloud project: http://www.seismocloud.com
For 🇮🇹 Italian, see README.ita.md
The device will acquire all IPv4 configurations (address, netmask, gateway, DNS) via DHCP.
If you have any firewall in your network, please allow these ports (outgoing, to internet):
LEDs can be in these different states (empty cells means "OFF"):
Green | Yellow | Red | Status |
---|---|---|---|
ON | Device is idle and listening | ||
ON | ON | The device has lost its connection, and it's trying to reconnect | |
ON | ON | A vibration/shake is detected! | |
ON | ON | ON | The device is connecting to the SeismoCloud network |
ON | ON | Checking for updates or updating | |
ON | Connecting to Wi-Fi network* | ||
ON | Calibration in progress |
At the end of the boot sequence all three LEDs will blink rapidly to signal that it's OK.
*: If only the yellow LED is ON for more than 10 seconds then the NodeMCU is waiting for Wi-Fi network configuration (see the chapter "How to build/upload the software")
http://arduino.esp8266.com/stable/package_esp8266com_index.json
into Additional Board Manager URLs field. You can add multiple URLs, separating them with commas.WiFiManager, PubSubClient
WiFiManager
into search bar, then install it by clicking on Install button below; the same for PubSubClient
Tested with Arduino/Genuino IDE 1.8.10
, board SDK esp8266 2.6.2
, libraries PubSubClient 2.7
and WiFiManager 0.15.0-beta
Link these pins from Accelerometer MPU6050 to NodeMCU board:
Remember to put a resistor with LED (after/before is not really important) to limit current flowing, otherwise you may damage the NodeMCU board.
By default, LED pins are:
For NodeMCU, you need to download WifiManager
library (by using Sketch > include library > library manager)
NodeMCU 1.0
)SeismoCloud
Wi-Fi network and configure Wi-Fi client network parameters. On save, the board reboots and will try to connect to Wi-Fi network. If it fails, you can reconnect to SeismoCloud
network and modify/fix network parameters.The sensor failed to connect to the Wi-Fi network. Please follow the instruction in chapter "How to build/upload the software" step 5
Try to open a browser and navigate to http://192.168.4.1 . If the Wi-Fi portal still not showing, disconnect the board from the power source for few seconds. If it still fails, flash again the board erasing the Wi-Fi configuration using the option from the Tools menu.
See LICENSE
file