Hi all,
I’m new to arduino and electronics in general, so apologies if I miss out some important information. I have an adafruit DS1307 breakout board that I’m trying to wire up to an arduino Yun Rev 2. For background, I inherited a system that uses the DS1307 (as well as other sensors) and I’m trying to replicate it. The old system was made with an arduino yun but works just fine when the yun is switched out with the Rev 2. I’ve attached and wired the ds1307 to the breadboard exactly as the previous system and have connected the sda (green wire in picture) to digital pin 2 and the scl (yellow wire) to pin 3, gnd (brown) to gnd and 5v (red) to 5v on power. When I run the rtclib library example sketch ds1307 it either prints nothing or “cannot find RTC”. If I run the i2cBusScan it just prints “addr: 0x0” so doesn’t look like it finds the ds1307 (address should be 0x68).
The only difference between the old system and mine (apart from the yun) is that the old system uses the old version of the adafruit ds1307 breakout (Which comes unassembled), which is now discontinued, whereas mine is supposed to be the same but assembled.
I’m at a loss and could really do with some advice and suggestions for what I’m doing wrong. I’ve attached a picture of how I’ve attached it to the breadboard. My only conclusion is that my awful soldering skills has messed up the board somehow/ I’ve installed it wrong. Also attached to the board (but not in picture) is a ds18b20 temperature sensor which I’ve soldered in and communicates to the arduino just fine.
If anyone could share a tutorial for how to install the Ds1307 and get it to work for the arduino yun/Yun rev 2 I’d really appreciate it as I can only seem find tutorials for older boards where the sda and scl connect to analog pins instead of digital.
Thanks in advance!