---
title: "LED control with Arduino, Beebotte"
url: "https://maker.wiznet.io/gemma/projects/led-control-with-arduino%2C-beebotte/"
markdown_url: "https://maker.wiznet.io/gemma/projects/led-control-with-arduino%2C-beebotte/md"
type: "UCC: User Created Content"
author: "beebotte"
author_url: "https://beebotte.com/tutorials/led_control"
editor: "WIZnet"
editor_url: "https://maker.wiznet.io/"
original_author: "beebotte"
original_url: "https://beebotte.com/tutorials/led_control"
published: "2023-01-31"
language: "en"
hardware: ["Arduino UNO", "Arduino Ethernet Shield"]
likes: 6
views: 574
comments: 0
source: "WIZnet Makers (https://maker.wiznet.io/)"
---

# LED control with Arduino, Beebotte

> This tutorial presents how Beebotte can be used to control a led connected to an Arduino board.

Original author: beebotte (source: https://beebotte.com/tutorials/led_control)

## Components

- **Arduino UNO** x 1 ([docs](https://www.farnell.com/datasheets/1682209.pdf))
- **Arduino Ethernet Shield** x 1 ([docs](https://docs.arduino.cc/retired/shields/arduino-ethernet-shield-without-poe-module))
- Software: **Arduino IDE** ([docs](https://www.arduino.cc/en/software))
- Software: **beebotte**

## Article

### **Required Hardware**

We need the following hardware in order to complete this tutorial:

- Arduino UNO board or equivalent

- Arduino Ethernet Shield to connect to the Internet

- Breadboard (tiny one is enough)

- LED

- 220 Ω resistance

- Jumper wires

### **Subscribing to led control messages**

Include dependencies:

```c
#include <SPI.h>
#include <Ethernet.h>
#include <PubSubClient.h>
#include <ArduinoJson.h>
```

### **Creating a Dashboard with a control widget**

In your account page, go to `My Dashboards` and click `Create Dashboard`; enter a friendly name and a short description for your dashboard then add an `ON/OFF` Widget. Indicate the channel and resource you want to control with this widget. Voilà.

![](https://d2imkaiqu95sh.cloudfront.net/landing/img/LedControlDashboard.png)

---

Source: https://maker.wiznet.io/gemma/projects/led-control-with-arduino%2C-beebotte/
