Hi,
I am having some problem working with Battery Babysitter and a generic OLED display (ssd1306 based) together. When the OLED is used I do not get any reading from the Babysitter. I am using the Babysitter basic script as my starting point and added the oled there. I think the OLED’s i2c address is 0x3C and I believe the babysitter have 0x55.
Any workaround ? Any help is much appreciated, Thanks.
What micro controller are you using to talk to both devices? As long as you’re able to get the display to show anything, you should be able to pull data from the battery babysitter, format it for the display and then send that data onto the display.
Are you using our [TeensyView as your display or a different part? I believe ours is setup for SPI rather than I2C. If you’re trying to send it I2C data, that could be the issue.](https://www.sparkfun.com/products/14048)
Hi Chris,
The board is based on Arduino Pro-mini 8 Mhz, 3.3v and I bought it from here https://www.tindie.com/products/ceech/astri-arista/
The OLED was bought from here https://www.tindie.com/products/trusted … ule-white/.
As you can see that, the OLED uses I2C for communication. I used Adafruit’s SSD1306 library for the OLED.
When the OLED is added in the code, OLED works fine and shows texts. But the Babysitter produces an empty string. I printed the output in the serial monitor also with the same result.
Whithout the OLED however, the babysitter produces string output.
Hi Casper.
I’m afraid I don’t know what’s causing your issues.
My best guess is it’s some error in your code but I don’t know where to point you to look. We don’t carry your display and I don’t have a way to test this to see what the issue might be. You might need a different display.
Hi Chris,
Here is my source code.
FYI, am also using separate boards for ADC and digital io reading for buttons. Those are connected to the i2c bus too and they are working ok.
BQ27441_WirelessController.zip (2.16 KB)