Closed DhruvaG2000 closed 2 years ago
Currently, my output stops after
ESP32 WiFi interface ready
Reading stored networks from NVM
ESP32 WiFi started
ESP32 WiFi started
Found network GoFi2G , xxxxxx
LED_LISTEN_WIFI - Orange
LED_LISTEN_WIFI - Orange
LED_LISTEN_WIFI - Orange
LED_LISTEN_WIFI - Orange
ESP32 WiFi connected to AP
ESP32 station got IP from connected AP
Obtained IP address: 192.168.1.186
WiFi was successfully connected
WiFi Connected
WiFi MAC: AC:67:B2:39:15:C0
Device ID: AC67B23915C0
Before time sync: Thu Jan 1 00:00:22 1970
Waiting for timeLED_FIRMWARE_DFU - Yellow
.
After time sync : Tue Jan 4 09:14:47 2022
ADXL345 connection SUCCESSFUL!
I might be doing some things wrong. I may need some assistance from @johnwalicki or @andygrillo .
I inspected the ADXL355 library code a few times last year. Decided not to touch it. There was limited history on the library (its not upstream in the Arduino libs). I think I asked the original author, Mark Radbourne, some questions about it too.
found a much newer and more well documented ADXL345 library. Please refer to PR#46
This PR aims to add support for ADXL345 into the OpenEEW firmware code.
It will interface the ADXL345 sensor over I2C to the ESP32 and will use fifo to get the readings, so that existing code will not need much replacement/ modification.