Forum Members section DIY Ferduino controller Pcf8575 problem

Pcf8575 problem  [SOLVED]

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

Post Number:#61 Post Thu Dec 26, 2019 9:17 am
Posts: 52
Topics: 14
Images: 28
Solve rating: 0
Joined: Fri Jun 16, 2017 6:23 am
Topics: 14
Age: 58
Gender: None specified
National Flag:
Spain
I just completed another test with a blue module like the one Gio says that works for him and that has the integrated PCF8575TS and in my case the result is the same. Without ULN, the relay is switched on in LOW and turned off in HIGH and with the ULN the relay cannot be activated

Post Number:#62 Post Thu Dec 26, 2019 9:36 am
Posts: 1656
Topics: 38
Images: 280
Solve rating: 220
Joined: Mon Mar 03, 2014 5:59 pm
Topics: 38
Age: 35
Location: São Paulo
Gender: Male
National Flag:
Brazil

Hi!

I told above:

Fernando Garcia wrote:
The solution could be bypass the ULN and change on code LOW to HIGH and HIGH to LOW.

But I'm not sure if PCF can manage the current of all relays.

If the circuit is working as I told above to prevent damage PCF I think that ULN could be replaced by a PNP transistor array and TD62384AP seems suitable.


Jose Zazo wrote:
I had to compile the code with the PCF8575.h library since with the mxUnifiedPCF8574.h it gives me a compilation error (I have previously installed the library).


The function digitalRead doesn't work correctly in PCF8575.h for this reason I have replaced by mxUnifiedPCF8574.h.

Show me the compiling error and let's fix.

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:#63 Post Thu Dec 26, 2019 11:31 am
Posts: 52
Topics: 14
Images: 28
Solve rating: 0
Joined: Fri Jun 16, 2017 6:23 am
Topics: 14
Age: 58
Gender: None specified
National Flag:
Spain
I have reinstalled the library and it already works for me.

I didn't realize that the integrated TD62384AF can use it on the same base I used for ULNs so I can use the PCB without problems.

I have just placed the order, as soon as I receive them, I test them and inform them if they work.

Thanks and regards,

Post Number:#64 Post Thu Dec 26, 2019 4:11 pm
Posts: 1656
Topics: 38
Images: 280
Solve rating: 220
Joined: Mon Mar 03, 2014 5:59 pm
Topics: 38
Age: 35
Location: São Paulo
Gender: Male
National Flag:
Brazil

Don't forget to connect pin 10 (VCC) from TD62384AF to 5 V.
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:#65 Post Thu Jan 16, 2020 6:33 pm
Posts: 24
Topics: 7
Images: 5
Solve rating: 0
Joined: Wed Dec 05, 2018 5:23 pm
Topics: 7
Age: 38
Gender: None specified
National Flag:
Italy
Hi Fernando and Jose,
I bought a PCF8575ts and mounted it on a board.
It works perfectly.
I really think the problem was the pcf8575c.
Regards

Watch on youtube.com

Post Number:#66 Post Thu Jan 16, 2020 8:15 pm
Posts: 1656
Topics: 38
Images: 280
Solve rating: 220
Joined: Mon Mar 03, 2014 5:59 pm
Topics: 38
Age: 35
Location: São Paulo
Gender: Male
National Flag:
Brazil

Hi!

Glad to know. :)

The green board is a custom PCB or you bought in somewhere?

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:#67 Post Fri Jan 17, 2020 4:33 am
Posts: 24
Topics: 7
Images: 5
Solve rating: 0
Joined: Wed Dec 05, 2018 5:23 pm
Topics: 7
Age: 38
Gender: None specified
National Flag:
Italy
Yes Fernando, It is a custom board because the pcf8575c is much larger than the PCF8575ts.
If it can be useful to José, I have a few more
Regards

Post Number:#68 Post Fri Jan 17, 2020 11:39 am
Posts: 1656
Topics: 38
Images: 280
Solve rating: 220
Joined: Mon Mar 03, 2014 5:59 pm
Topics: 38
Age: 35
Location: São Paulo
Gender: Male
National Flag:
Brazil

Unfortunately PCF8575TS has only SSOP24 package available.
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:#69 Post Thu Jan 30, 2020 7:35 am
Posts: 52
Topics: 14
Images: 28
Solve rating: 0
Joined: Fri Jun 16, 2017 6:23 am
Topics: 14
Age: 58
Gender: None specified
National Flag:
Spain
Hi,

the integrated TD62384AF just arrived and they work correctly (connecting pin 10 to 5V as you commented).

The only thing is what we already knew, the relays activate the LOW and deactivate in HIGH.

Regards,

Post Number:#70 Post Thu Jan 30, 2020 7:54 am
Posts: 1656
Topics: 38
Images: 280
Solve rating: 220
Joined: Mon Mar 03, 2014 5:59 pm
Topics: 38
Age: 35
Location: São Paulo
Gender: Male
National Flag:
Brazil

Hi!

Glad to know!

I think everything here is solved. I'll close this topic.

If there's any other problem let me know in a new topic.

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.

Previous



  • Similar Topics
    Replies
    Views
    Last post

Return to DIY Ferduino controller





Who is online

Users viewing this topic: No registered users and 1 guest