I am having a problem "servicing" a BMP085 sensor. The sensor communicates via I2C. The Arduino uses the analogue pins for this (e.g. A4 and A5) and everything works.
I need to pack the chip into a small box and send pressure values via wi-fi, so I am reliant on using the ESP-01 chip.
The ESP-01 has two pins GPIO0 and GPIO2, which in theory, when pulled up with 3k3 resistors to Vcc, act as I2C communication. I connect SDA to GPIO0 and SCL to GPIO2. I get a message on the serial port monitor that it can't see the sensor.
Have any of you worked through this? I've tested the BMP085 sensor on the Arduino and it works, the ESP-01 works because I've blinked the LEDs from both outputs, I've got the basics down but can't cope with this.
Please give me suggestions - Maciej
.
I used https://www.instructables.com/id/How-to-use-the-ESP8266-01-pins/ and nothing
I need to pack the chip into a small box and send pressure values via wi-fi, so I am reliant on using the ESP-01 chip.
The ESP-01 has two pins GPIO0 and GPIO2, which in theory, when pulled up with 3k3 resistors to Vcc, act as I2C communication. I connect SDA to GPIO0 and SCL to GPIO2. I get a message on the serial port monitor that it can't see the sensor.
Have any of you worked through this? I've tested the BMP085 sensor on the Arduino and it works, the ESP-01 works because I've blinked the LEDs from both outputs, I've got the basics down but can't cope with this.
Please give me suggestions - Maciej
Code: C / C++
I used https://www.instructables.com/id/How-to-use-the-ESP8266-01-pins/ and nothing