Forum Members section DIY Ferduino controller Pcf8575 problem

Pcf8575 problem

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

Post Number:#1 Post Tue Feb 26, 2019 7:18 pm
Posts: 15
Topics: 7
Images: 3
Solve rating: 0
Joined: Wed Dec 05, 2018 5:23 pm
Topics: 7
Age: 37
Gender: None specified
National Flag:
Italy
Hi Fernando
I have two pcf8575 modules.
https://www.ebay.com/itm/PCF8575-I2C-IO ... SwBPxcb6Qq
The first is this and everything works perfectly.
https://www.ebay.com/itm/PCF8575-16-bit ... Swqlha-Pgs
This is the second but even if it is correctly identified (0x20) it can not make the relays work. The leds are barely visible when turned on. The wiring is like the one you indicated with 10k resistances between sda/5v and scl/5v.

I would like to use the latter pcf8575 because I have already printed the board
Thanks

Post Number:#2 Post Wed Feb 27, 2019 8:13 pm
Posts: 1581
Topics: 38
Images: 271
Solve rating: 215
Joined: Mon Mar 03, 2014 5:59 pm
Topics: 38
Age: 34
Location: São Paulo
Gender: Male
National Flag:
Brazil

Hi!

Show me the schematic of your PCB.

Also make sure that the GND from Relay board is connected to Arduino GND.

Best regards.
Please do not PM me for support unless it is absolutely necessary.

I'll not write custom function to nobody unless you can pay for my job.

Post Number:#3 Post Thu Feb 28, 2019 5:55 am
Posts: 15
Topics: 7
Images: 3
Solve rating: 0
Joined: Wed Dec 05, 2018 5:23 pm
Topics: 7
Age: 37
Gender: None specified
National Flag:
Italy
Hi Fernando,
I forward you the schematic of the board.
The strange thing is that with a pcf8575 module everything work and with the other not.
at the moment I'm feeding the relays with the arduino's 5v and gnd.

the difference I notice between the two modules that the working one has an integrated resistor

thanks a lot

Image


Image

Post Number:#4 Post Thu Feb 28, 2019 10:19 am
Posts: 1581
Topics: 38
Images: 271
Solve rating: 215
Joined: Mon Mar 03, 2014 5:59 pm
Topics: 38
Age: 34
Location: São Paulo
Gender: Male
National Flag:
Brazil

Hi!

You can't feed relays using Arduino 5V, there's no enough current for it.

You should use an external power supply.

Best regards.
Please do not PM me for support unless it is absolutely necessary.

I'll not write custom function to nobody unless you can pay for my job.

Post Number:#5 Post Sat Mar 02, 2019 10:46 am
Posts: 15
Topics: 7
Images: 3
Solve rating: 0
Joined: Wed Dec 05, 2018 5:23 pm
Topics: 7
Age: 37
Gender: None specified
National Flag:
Italy
Hi Fernando,
Unfortunately even feeding the relay separately (gnd common) the pcf8575 sparkfun style does not work while the other is fine.
I ordered another to try if what I have is faulty but I don't think so
Do you think the schematic is correct?
Thank you again!

Post Number:#6 Post Sat Mar 02, 2019 1:04 pm
Posts: 1581
Topics: 38
Images: 271
Solve rating: 215
Joined: Mon Mar 03, 2014 5:59 pm
Topics: 38
Age: 34
Location: São Paulo
Gender: Male
National Flag:
Brazil

Hi!

Schematic seems correct to me.

Best regards.
Please do not PM me for support unless it is absolutely necessary.

I'll not write custom function to nobody unless you can pay for my job.

Post Number:#7 Post Fri Apr 05, 2019 3:32 pm
Posts: 1
Solve rating: 0
Joined: Thu Apr 04, 2019 2:51 pm
Age: 31
Gender: None specified
National Flag:
United States of America
Hi...i haven't looked at this ic before but scanning the datasheet in a minute it looks like this chip does NOT have any registers or commands for reading back the written data. You can only use it to write data to the ports or read data from the ports (if you made them logic 1 on forehand). So no you can not read back data you earlier sent.

Post Number:#8 Post Sun Apr 07, 2019 11:44 am
Posts: 1581
Topics: 38
Images: 271
Solve rating: 215
Joined: Mon Mar 03, 2014 5:59 pm
Topics: 38
Age: 34
Location: São Paulo
Gender: Male
National Flag:
Brazil

Hi!

Welcome Roch!

Gio, the problem was solved?

Have you tested with new module?

Best regards.
Please do not PM me for support unless it is absolutely necessary.

I'll not write custom function to nobody unless you can pay for my job.

Post Number:#9 Post Tue Apr 09, 2019 9:57 am
Posts: 15
Topics: 7
Images: 3
Solve rating: 0
Joined: Wed Dec 05, 2018 5:23 pm
Topics: 7
Age: 37
Gender: None specified
National Flag:
Italy
hi Fernardo!!

unfortunately not.
I also tried the new pcf8575 but it gives the same problem.
the relay lights on dimly and doesn't work.
with the other pcf8575 everything works perfectly (https://www.ebay.com/itm/PCF8575-16-bit ... Swqlha-Pgs).
I really can't understand what the problem is... :(

Post Number:#10 Post Tue Apr 09, 2019 10:01 am
Posts: 1581
Topics: 38
Images: 271
Solve rating: 215
Joined: Mon Mar 03, 2014 5:59 pm
Topics: 38
Age: 34
Location: São Paulo
Gender: Male
National Flag:
Brazil

Hi!

Can you show me some pics?

Best regards.
Please do not PM me for support unless it is absolutely necessary.

I'll not write custom function to nobody unless you can pay for my job.




  • Similar Topics
    Replies
    Views
    Last post

Return to DIY Ferduino controller





Who is online

Users viewing this topic: No registered users and 1 guest

cron