There’s something exciting about crossing the boundary between the abstract world of software and the physical ‘real world’, and a relay driven from a GPIO pin seemed like a good example of this. Although a simple project, I still learned some new things about the Raspberry Pi while doing it.
Full article here:
Link: Raspberry Pi – Driving a Relay using GPIO (SusaNET)
Tutorial: How to use your Raspberry Pi like an Arduino (Limina.Log)