So im making a school project that uses a mh real time clock module 2 that adjust the time with 3 push buttons , a 0.91 inch oled display and max30105 heart rate sensor and a coin vibrating motor the project worked fine on the bread board when i soldered it to a proto board last night it suddenly started displaying 20165 / 165 /165 the indication led thats build it is blinking every seccond and the serial monitor also runs the push buttons rest of the project works fine i get and display the heart rate can go to the menu where i adjust the time but it keeps ons saying 165 ...swapped batterys it didn't work so i got a new rtc and had the same problem i resoldered the whole board i checked for short circuits and lose connections can someone help please ?
Can you post a wiring diagram? How is the DS1302 connected? Hopefully you are not connecting it to the I2C bus, probably not since it would never have worked properly on the breadboard.
Were you using the pro mini when testing on the bread board, or another type of arduino?
I dont have my computer with we will send a schematic asap , i used the same pro mini on the bread board the rtc uses a 3 wire conection
RST TO DIGITAL PIN 2
DAT TO DIGITAL PIN 4
CLK TO DIGITAL PIN 5
GRN TO GRN
VCC TO VCC
THE OLED IS
GND TO GRN
VCC to VCC
SDA to A4
SCL to A5
The only thing else connected to the i2c bus is the max30105 its connect the same as the oled
GND to GND
VCC to VCC
SDA to A4
SCL to A5
but this sensor works and displays the avarage bpm as it should on the oled and the small vibrating coin motor also comes on when its detects a low avarage Bpm
I'll try removing power from all other devices and leave only the oled and rtc as @xfpd suggested and send a schematic of the project
So you guys can check it for any faults once again thank you all for the support its appreciated hope im using the forum correctly trying to give as much help as possible