Shelly Pill Examples - nygma2004/km GitHub Wiki

01: Basics

This page contains the links and examples shown in my Shelly Pill videos. The introduction video explains the common topics that apply to the subsequent videos to get you started and get the Pill set-up for the serial communication.

Video

Link and useful resources in general:

  • Pill + SDS011: connecting the Pill to an environment sensor.
  • XLoader: flash HEX firmware files to Arduino boards.

Example demo code:

Wiring:

Nano wiring diagram

02: I2C Sensors

This project connects two I2C sensors the Nano, and sends the readings over to the Pill to update the virtual sensors

Video

Example files:

Wiring:

Wiring diagram

03: FM Radio

This project uses a TEA5767 digital FM radio module that can be controlled from Shelly: turning the radio on/off and tuning into preset stations.

Video

Example files:

Wiring:

Wiring diagram