Forum Members section DIY Ferduino controller BUS i2C Clock and PCF8575

BUS i2C Clock and PCF8575  [SOLVED]

Ask here about your controller made with pieces purchased in other shops.

Post Number:#1 Post Sat Oct 03, 2020 1:03 pm
Posts: 65
Topics: 18
Images: 32
Solve rating: 0
Joined: Fri Jun 16, 2017 6:23 am
Topics: 18
Age: 61
Gender: None specified
National Flag:
Spain
I have redesigned my PCB to make it compatible with the new source code.

It compiles without problems but the clock does not work (the entire line is displayed with strange characters and the date or time cannot be set).

I have tried the I2C test code but it does not detect any device on the bus.

Attached layout scheme (I don't know why but I can't directly insert the image)

Image

Post Number:#2 Post Sat Oct 03, 2020 3:14 pm
Posts: 1699
Topics: 38
Images: 301
Solve rating: 233
Joined: Mon Mar 03, 2014 5:59 pm
Topics: 38
Age: 39
Location: São Paulo
Gender: Male
National Flag:
Brazil

Hi!

Wich RTC module are you using?

Can you try scan I2C BUS only with PCF connected?

Best regards.
Post your doubts on forum because it can help another user too. Just PM me for support if it's absolutely necessary.

Post Number:#3 Post Sat Oct 03, 2020 3:39 pm
Posts: 65
Topics: 18
Images: 32
Solve rating: 0
Joined: Fri Jun 16, 2017 6:23 am
Topics: 18
Age: 61
Gender: None specified
National Flag:
Spain
I use the DS3231, it is the same one that I used with the old code on pins 18 and 19 and it worked correctly.

As for the test sketch I2C does not detect any device

If I remove the clock the result is the same:

Scanning ...
No I2C devices found

Thanks

Post Number:#4 Post Sat Oct 03, 2020 5:01 pm
Posts: 1699
Topics: 38
Images: 301
Solve rating: 233
Joined: Mon Mar 03, 2014 5:59 pm
Topics: 38
Age: 39
Location: São Paulo
Gender: Male
National Flag:
Brazil

Can you scan only with RTC connected?
Post your doubts on forum because it can help another user too. Just PM me for support if it's absolutely necessary.

Post Number:#5 Post Sat Oct 03, 2020 5:50 pm
Posts: 65
Topics: 18
Images: 32
Solve rating: 0
Joined: Fri Jun 16, 2017 6:23 am
Topics: 18
Age: 61
Gender: None specified
National Flag:
Spain
I have disassembled the PCB and directly connected the clock to pins 20 and 21 and it stays and GND and 5V from to Arduino

I2C Scanner
Scanning ...

If I do it with PCF8575 the same thing happens

Post Number:#6 Post Sat Oct 03, 2020 6:01 pm
Posts: 1699
Topics: 38
Images: 301
Solve rating: 233
Joined: Mon Mar 03, 2014 5:59 pm
Topics: 38
Age: 39
Location: São Paulo
Gender: Male
National Flag:
Brazil

If connected directly to an Arduino it doesn't works so the problem should be with your Arduino.

You can try with another I2C module to make sure that this modules are not damaged.

Also can try with another Arduino Mega.
Post your doubts on forum because it can help another user too. Just PM me for support if it's absolutely necessary.




Return to DIY Ferduino controller





Who is online

Users viewing this topic: No registered users and 2 guests

cron