Simple IoT LED Control (Turn a LED On/off Over the Internet With a Raspberry Pi)

What you'll be building

This tutorial teaches you how to turn a light-emitting diode (LED) on and off via the internet.

Requirements

Raspberry Pi connected to the internetCircuit materials: LED, breadboard, wires, 330 ohm resistor

Step 1: Set Up the Circuit

Connect the LED to GPIO pin 4, and add a 330 ohm resistor in series.

Step 2: Run LimitOS on the Raspberry Pi

LimitOS runs alongside your existing operating system, and can be run via:

curl -sS https://limitos.com/run | bash

Follow the on-screen instructions to register the device afterwards.

Step 3: Set Up the Device on the LimitOS Website

After registering your device, you'll be on the LimitOS website at https://limitos.com . From there, go to your device by clicking "My Devices" and selecting your device. Then add pin 4 as a digital output, and you can then click the "on" or "off" buttons on the website to turn the LED on or off.

IoT Challenge

Participated in the
IoT Challenge

Share

    Recommendations

    • Beauty Tips Contest

      Beauty Tips Contest
    • Frozen Treats Challenge

      Frozen Treats Challenge
    • Classroom Science Contest

      Classroom Science Contest

    Discussions