Introduction: Control LED From Your WiFi Network! SPEEEduino V1.1
What is the SPEEEduino?
The SPEEEduino is a Wi-Fi enabled microcontroller board based around the Arduino ecosystem, built for educators. The SPEEEduino combines the form factor and the microcontroller of the Arduino with the ESP8266 Wi-Fi SoC, making it a highly configurable and compatible system. It is immediately compatible with the hundreds of libraries that people wrote for the Arduino Uno, as the SPEEEduino shares the same microcontroller unit as the Arduino Uno.
This simple guide is part of the collection of Instructable for the SPEEEduino. In this Instructables, we are going to learn how to control the onboard LED (and another LED from PIN 13) using a webpage.
Things you need:
1. A computer loaded with the Arduino IDE, available here.
2. The SPEEEduino itself
3. ESP8266 ESP01 Module
4. USB to Serial Converter (For this instructables, we are going to use the CP2102)
5. An active WiFi connection The ESP8266 does not work with Enterprise Networks, neither could I use it with 5GHz networks.
6. SPEEEduino Low-Level Library. To know how to set up your SPEEEduino/if you don't have it installed in the Arduino IDE, click here.
7. Most importantly, yourself! :)
Step 1: Connect the Circuit! [Optional]
The example program used will toggle the onboard LED (PIN13) on the SPEEEduino, but I included another LED both for fun and to demonstrate the lighting up of the LED.
For the simple circuit, you will need:
1. A LED (I used a blue 5mm one)
2. 220Ohm resistor
3. some Jumper cables
4. a breadboard
Step 2: Connect the SPEEEduino to Your PC Using the USB to Serial Converter.
Use the table to wire your SPEEEduino up correctly. In this page, we are using a CP2102 USB-TTL converter. Your converter might be different, but make sure that it uses 5V logic levels and outputs 5V power, not 3.3V.
Step 3: Open the Example Code and Configure It
To open the example code, go to:
File > Examples > SPEEEduino_Low_Level_Library > LED_Webserver
and open the example.
Next, in the code, make sure you change the NETWORK-NAME-HERE and NETWORK-PASSWORD-HERE to your WiFi SSID and password.
What this program will do is that it will connect to your WiFi and create a server to host a webpage for you to control the LED via a button on the webpage.
Now you can upload the programme to the SPEEEduino!
Step 4: Light Up My World!
After the program has been uploaded, open Serial monitor in the Arduino IDE.
In the Serial Monitor, it would display the status of the device connected to the WiFi network. Once it has connected to the network, it would generate an IP Address. Connect and control the LED by inputting that IP address into your browser
Bling! You have toggled the LED!
We have a be nice policy.
Please be positive and constructive.