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 internet
- Circuit 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 on top of Raspberry Pi OS (Buster), 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
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.