Hello, newbie here. Just trying to get a battery-backed RTC connected to an AMB82-mini, so started with the I2CScanner. As it returns all addresses with nothing attached, I put in 2 pull up resistors (1.2k) on SDA and SCL (pins 12 and 13). However, the voltage across the resistors is zero, indicating an open circuit on those pins(?) Any comments would be appreciated. Alternatively, can a back up battery be installed for the internal RTC, so it keeps time after main power is cut?
Hi @Barryn56 ,
May I clarify with you on “it returns all addresses with nothing attached”, does it mean it returns a random address of an I2C device? I have tested a few I2C examples in our Arduino SDK including I2CScanner, they are working fine. I could not reproduce your issue as there’s no I2C address returned when nothing is attached. The voltage across the pull-up resistor should be 0 when there is no current flowing through it, it is behaving normally as a pull-up resistor, which is to supply external Vcc to the input pin. Unfortunately, we can’t install a battery for the internal RTC, apologize for the inconvenience caused.
Thank you.
Hello Kevin, and thanks so much for your reply. As other people have mentioned, the I2C scanner just lists all possible addresses, and this led me to a comment that the I2C needs pull up resistors. I put 2 resistors (tried different values) on the 5V line, but it made no difference, the scanner still returns a total list of values. My plan forward is to use the SPI interface and a suitable RTC. This is an absolutely great product though! Personally, I wouldn’t use the NN chip, as I’d just use it for data acquisition and then process offline. I’d like to be able to put text (from the RTC) on the recorded video while maintaining 30fps, so looking into that now. Regards, Barry
Hi Kelvin, I am just using the Arduino (IDE 2.3.4), which I presume has the latest standard SDK(?). Let me know if there’s a sketch which will provide further details, or anywhere I should look to ensure the right SDK is being used. Best regards, Barry
Hi, well mine is only 4.0.5, so I shall see about getting the latest version, as there’s no ‘update’ option shown.
OK, so I did an update (download) to 4.0.8. Will recheck.
Thanks, Barry
Hi Kelvin,
so I upgraded, but the problem remains, and I am now getting a lot of error messages about missing files:
Hi @Barryn56,
It seems like you are not running the I2C Scanner example from our SDK.
Can you try to reinstall the SDK too?
Thank you.
Hi, and thanks for the continuing support. I found the issue with the new errors is due to the User folder name. Mine had a full stop and other text after the initial name. It seems the new version doesn’t read the whole name, just the text up to the full stop. I’ve gone into the PC and changed the name, so I will see if that fixes the file access, but I have to re-install the Arduino IDE, as it is now not starting. Then I will look at the I2C scanner sketch, which I got from the internet. Regards, Barry
Hi @Barryn56,
Please refer to this guide here. I2C – Scan I2C devices – Realtek IoT/Wi-Fi MCU Solutions
Thank you.
Hi Kelvin, the upgrade to the latest version of boards, etc., has worked. Now finds no I2C boards when empty. Thanks again for your great support. Regards, Barry