Raspberry Pi relay tutorial

Raspberry Pi relay tutorial

Contents1 INTRO2 STEP1: Install relay board3 STEP2: Enable I2C bus4 STEP3: Install software packages5 STEP4: Write python control script6 STEP5:  Control a led strip INTRO I’m writing this tutorial to highlight the advantages of using the DQ10rly I2C-HAT, a relay board specifically designed as an add-on for Raspberry Pi rather than using a generic relay board. Advantages: easyRead more about Raspberry Pi relay tutorial[…]

I2C-HAT for Raspberry PI

I2C-HAT for Raspberry PI

Contents1 The I2C-HAT1.1 I2C baudrate and clock stretching1.2 I2C Address1.3 I2C-HAT commands1.4 I2C-HAT Modules1.4.1 Status LED1.4.2 Communication Watchdog1.4.3 Digital Outputs1.4.4 Digital Inputs2 Firmware Update The I2C-HAT This type of Raspberry Pi add-on board uses only 5V power pins and the I2C bus pins (used for bidirectional data transfer with Raspberry PI), GPIO usage is minimal.Read more about I2C-HAT for Raspberry PI[…]

Application Wiring

Application Wiring

Contents1 Digital Inputs1.1 Bi-directional Opto-coupler Input1.1.1 Sink Type1.1.2 Source Type2 Digital Outputs2.1 Relay Outputs2.1.1 DC source2.1.2 AC source In the following diagrams there are two sections: Internal External Internal section reflects a simplified version of the on-board circuit. The External section reflects the wiring that the user can build. Digital Inputs Bi-directional Opto-coupler Input SinkRead more about Application Wiring[…]