Skip to content

extends gpiozero's OutputDevice to control relay boards

Notifications You must be signed in to change notification settings

barlaensdoonn/relay

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

relay

extends gpiozero's OutputDevice to control relay boards

dependencies

gpiozero

sudo apt-get update
sudo apt-get install python3-gpiozero

connections

sainsmart 5V 4-channel relay board

link to the board

raspi connections to relay board:
    3.3V -> VCC
    5V -> JD-VCC
    GND -> GND
    GPIO -> IN*

power supply connections to relay terminals:
    +V power supply -> +V power input
    GND power supply -> NO relay terminal (far left when facing the relay terminals) -> GND power input

About

extends gpiozero's OutputDevice to control relay boards

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages