Notifications
Clear all

Raspberry Pi (1) with relay board  


KUTGV
(@kutgv)
New Member
Joined: 10 months ago
Posts: 2
Topic starter  

I'm a bit confused, rather "overinformed" and I can't think clearly any more. Or maybe is just aging or the corona lockdown that is hitting me ....

 

I want my old raspberry pi 1 to switch some relay board (those cheap classic boards from china).

The pins on the raspberry pi are 3.3V, those on arduino are 5V. Every tutorial with arduino just connects the Arduino Pin with the pin on the relay board. So it works with 5V.

Can I do the same with my pi? Will the 3.3V be seen as high or will I need a level shifter (that I learned about on the dronebotworkshop, tx BTW)?

 

Another solution would be to link my Arduino to the Pi with I2C and connect the relay board to the arduino but that is overcomplicating things. KISS needs to be the ground rule ...

 

TIA

Mario (from Belgium)


Quote
frogandtoad
(@frogandtoad)
Honorable Member
Joined: 2 years ago
Posts: 670
 

@kutgv

Posted by: @kutgv

I'm a bit confused, rather "overinformed" and I can't think clearly any more. Or maybe is just aging or the corona lockdown that is hitting me ....

 

I want my old raspberry pi 1 to switch some relay board (those cheap classic boards from china).

The pins on the raspberry pi are 3.3V, those on arduino are 5V. Every tutorial with arduino just connects the Arduino Pin with the pin on the relay board. So it works with 5V.

Can I do the same with my pi? Will the 3.3V be seen as high or will I need a level shifter (that I learned about on the dronebotworkshop, tx BTW)?

 

Another solution would be to link my Arduino to the Pi with I2C and connect the relay board to the arduino but that is overcomplicating things. KISS needs to be the ground rule ...

 

TIA

Mario (from Belgium)

 According to the diagram and explanation in the following article, it should work just fine:

    logic-levels

Cheers.


ReplyQuote