Introduction: How Connect Sonoff to Cayenne

About: I love Arduino, Raspberry Pi and make project.

Connect Sonoff to Cayenne

Step 1: Connect FTDI to Sonoff

Solder pins to Sonoff.

Connect FTDI to Sonoff.

Push the button on Sonoff and connect FTDI to USB (Sonoff is in programing mode).

Get Cayenne token.

Upload the code.

Relay connect to GPIO 12.

LED connect to GPIO 13.

Step 2: Schematic Sonoff and Code