I'm trying to connect ADXL345 sensor to ESP8266 12-F:
ADXL345
https://www.ebay.com/itm/GY291-ADXL...156056&hash=item2a261d5260:g:Fr8AAOSwbwJZ7t3F
ESP:
https://www.aliexpress.com/item/new...2f-46bd-ab34-71796a9b83d5&transAbTest=ae803_5
I'm using GPIO14 and GPIO16 as SCL/SDA. See the circuit photo attached.
Using an oscilloscope between GND + SCL and GND + SDA I can see a some binary protocol working, but the I2C scanner software does not find the device. I'm using a scanner sketch from (Made only the required changes for the ESP to use it):
One thing I've noticed with the oscilloscope is that the default value reading is HIGH - I'm not sure if this is ok.
Is something wrong with the connections I'm using? I read something about needing pull ups for the ESP pins - not sure if it is needed.
ADXL345
https://www.ebay.com/itm/GY291-ADXL...156056&hash=item2a261d5260:g:Fr8AAOSwbwJZ7t3F
ESP:
https://www.aliexpress.com/item/new...2f-46bd-ab34-71796a9b83d5&transAbTest=ae803_5
I'm using GPIO14 and GPIO16 as SCL/SDA. See the circuit photo attached.
Using an oscilloscope between GND + SCL and GND + SDA I can see a some binary protocol working, but the I2C scanner software does not find the device. I'm using a scanner sketch from (Made only the required changes for the ESP to use it):
Arduino Playground - I2cScanner
playground.arduino.cc
One thing I've noticed with the oscilloscope is that the default value reading is HIGH - I'm not sure if this is ok.
Is something wrong with the connections I'm using? I read something about needing pull ups for the ESP pins - not sure if it is needed.
Last edited: