Hi, to give you a context i have a project with a Raspberry Pi connecting an Arduino to extends the GPIO pins to use those pins in a multiple Relay Slot, but after a few minutes the signal between Raspberry Pi and Arduino gets lock up.
I've been trying a lot of setups by connecting:
- Raspberry Pi [5v 3.1A]
- Arduino One [12v 1A]
- Relay Slot [5v 500MA]
- As a first idea, i've been trying to giving a dedicated power supply for each devices (Raspberry Pi, Arduino, Relay Slot) but it gets lock up the communication between Arduino and Raspberry.
- The second case is to setup it by giving power supply from Raspberry Pi to the Arduino and a dedicated power supply for Relay Slot and it gets lock up again.
- In the third case the Raspberry Pi has a dedicated power supply and the Arduino has its own power supply but in this case sharing power with the Relay Slot, and guess what, it gets lock up again.
I hope you can help me with this issue.
P.D:
- I'm using I2C protocol between Raspberry Pi (master) and Arduino (slave) as an standard.
- Every 0.5 secs i send a pulse with 0.5 secs of delay (this delay is in the Raspberry Pi code).
- I realized that it takes a lot of time to lock up (3 hours to be exactly) if the delay has a 20 secs of time.