Skip to content

Conversation

DhruvaG2000
Copy link
Contributor

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.

... if the library atleast build

Signed-off-by: Dhruva Gole <[email protected]>
@DhruvaG2000
Copy link
Contributor Author

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 .

@krook krook requested a review from andygrillo January 4, 2022 14:07
@johnwalicki
Copy link
Member

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.

@DhruvaG2000 DhruvaG2000 changed the title [WIP] Add support for the adxl345 [WIP] Add support for the adxl345#1 Jan 10, 2022
@DhruvaG2000
Copy link
Contributor Author

found a much newer and more well documented ADXL345 library. Please refer to PR#46

@DhruvaG2000
Copy link
Contributor Author

Refer to #46

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants