Would you like to react to this message? Create an account in a few clicks or log in to continue.

You are not connected. Please login or register

PCF8574. I2C TO PARALLEL

2 posters

Go down  Message [Page 1 of 1]

1PCF8574. I2C TO PARALLEL Empty PCF8574. I2C TO PARALLEL Sun May 01, 2022 12:27 pm

Defran

Defran

Would it be possible to swap the order of the SCL and SDA on PCF8574 (Converters/ I2C to parallel) in order to avoid having to cross the cables  always with Arduino UNO and Nano?. I have created a new component like this, but from this new one You cannot change the address.

PCF8574. I2C TO PARALLEL Pcf85710

https://i.servimg.com/u/f82/20/41/44/47/cross10.png



Last edited by Defran on Fri May 26, 2023 11:40 pm; edited 1 time in total

2PCF8574. I2C TO PARALLEL Empty Re: PCF8574. I2C TO PARALLEL Sun May 01, 2022 6:12 pm

arcachofo

arcachofo

This kindof the "standard" as some other components use this arrangement.
In adition now you do vertical mirror.

3PCF8574. I2C TO PARALLEL Empty Re: PCF8574. I2C TO PARALLEL Sun May 01, 2022 10:36 pm

Defran

Defran

Well, and can You tell me somethig about the problem of the address in my new component?

4PCF8574. I2C TO PARALLEL Empty Re: PCF8574. I2C TO PARALLEL Sun May 01, 2022 10:53 pm

arcachofo

arcachofo

Well, and can You say me somethig about the problem of the address in my new component?
Which problem?

5PCF8574. I2C TO PARALLEL Empty Re: PCF8574. I2C TO PARALLEL Sun May 01, 2022 11:01 pm

Defran

Defran

As I told you before... "I have created a new component like this, but from this new one I cannot access and change the address from properties".

PCF8574. I2C TO PARALLEL Addres10

6PCF8574. I2C TO PARALLEL Empty Re: PCF8574. I2C TO PARALLEL Mon May 02, 2022 1:12 am

arcachofo

arcachofo

As I told you before... "I have created a new component like this, but from this new one I cannot access and change the address from properties".
You need to set I2CToParallel as main component.
But Looks like there is a problem...

By now you can do this trick, open the circuit of your new component and:
1- Open properties in the Package component.
2- Select type = Board.
3- Right-click in the Package component and click on "Select Main Component".
4- Click on I2CToParallel: it will become yellow.
5- Select type = None.
6- Save circuit.

Now yor new component will have an extended context menu.
Then you can open properties of I2CToParallel and set address.

7PCF8574. I2C TO PARALLEL Empty Re: PCF8574. I2C TO PARALLEL Mon May 02, 2022 2:23 am

Defran

Defran

Following your instrutions, the new component WORKS OK and it is possible to access the address and I2c Frecuency too.

Thank you very much for your effective help.

arcachofo likes this post

8PCF8574. I2C TO PARALLEL Empty Re: PCF8574. I2C TO PARALLEL Mon May 02, 2022 12:22 pm

Defran

Defran

I have done your procedure in several circuits and they work. I attach here a particular exaple working, but the led body is yellow always. Tell me, please.
Attachments
PCF8574. I2C TO PARALLEL AttachmentLEDG.zip
You don't have permission to download attachments.
(2 Kb) Downloaded 1 times

9PCF8574. I2C TO PARALLEL Empty Re: PCF8574. I2C TO PARALLEL Mon May 02, 2022 12:47 pm

Defran

Defran

An other example similar to the before one, but working fine and the led body is not yellow.
Attachments
PCF8574. I2C TO PARALLEL AttachmentLEDR.zip
You don't have permission to download attachments.
(2 Kb) Downloaded 1 times

10PCF8574. I2C TO PARALLEL Empty Re: PCF8574. I2C TO PARALLEL Mon May 02, 2022 1:16 pm

arcachofo

arcachofo

I have done your procedure in several circuits and they work. I attach here a particular exaple working, but the led body is yellow always. Tell me, please.
There is a problem with some properties like led color or wave type in wave generator, related to translations.

It is already partially fixed.

11PCF8574. I2C TO PARALLEL Empty Re: PCF8574. I2C TO PARALLEL Mon May 02, 2022 1:30 pm

Defran

Defran

Yellow not the led color like red, green and so on...
The YELLOW of the "main component" selected in the component creation procedure. Take a look at my attachment... LED IS LIKE A RADIOGRAPHIE.
Do you anderstand me?
I am doing more info about this...
Attachments
PCF8574. I2C TO PARALLEL Attachment2_LEDG_ok_ but body yellow always.zip
You don't have permission to download attachments.
(2 Kb) Downloaded 0 times

12PCF8574. I2C TO PARALLEL Empty Re: PCF8574. I2C TO PARALLEL Mon May 02, 2022 1:45 pm

arcachofo

arcachofo

Yellow not the led color like red, green and so on...
The YELLOW of the "main component" selected in the component creation procedure.
Do you anderstand me?
Ok, now I understand.
Solved at Rev 1147.

13PCF8574. I2C TO PARALLEL Empty Re: PCF8574. I2C TO PARALLEL Mon May 02, 2022 1:56 pm

Defran

Defran

14PCF8574. I2C TO PARALLEL Empty Re: PCF8574. I2C TO PARALLEL Mon May 02, 2022 1:58 pm

arcachofo

arcachofo

Solved at Rev 1147.

Sponsored content



Back to top  Message [Page 1 of 1]

Permissions in this forum:
You cannot reply to topics in this forum