How to communicate 2 arduino unos (with cable connected to PWM)

how to communicate 2 arduino unos (with cable connected to PWM)
i try connect directly (1st male to 11 2st to other unos 5 pin) but it didnt work so, whats the way (also i need PWM pins because i have 13 diffrent informations (i use A0 and A1 as extra))

What protocol are you going to use for such communication?

i search and i think im gonna use I2C

It sounds like you have 13 pins on one Arduino connected to 13 pins on a second Arduino. If so then it is OK to just use A0 and A1 as digital pins just like any other digital pin

NOTE : A0 and A1 are analogue in pins not PWM output pins

What does pvm have to do with this?
For i2c, pins a4 a5 are used on the Uno

i use 11 as communication.

Can you explain it in more detail? What is "11"? the pin number?
Why do you going to use i2c in this pin?

11 isnt gonna be the I2C pin its the pin i try directly connection between two (also i need to send an 0 - 255 8 bit integer)

Microcontrollers don't connects like that.
But of course you can try your way.
Good luck

To avoid further confusion can you please post a diagram showing exactly how the 2 Arduinos are connected

im using Serial connection its done

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.