Introduction: Blink With ESP8266 and Visuino
Step 1: Components
Step 2: Connect the Resistor and the LED
- Place the 220 Ohm Resistor on the Breadboard as shown on Picture 1
- Connect the Place the LED on the Breadboard so the Cathode end (The shorter one) is connected to one end of the Resistor (Picture 2 and 3)
- Connect Ground wire (Black wire) to the other end of the resistor (Picture 4)
- Connect "LED wire" (Yellow wire) to the Anode (The longer end) of the LED (Picture 4)
Step 3: Connect the ESP8266 Module
- Connect the other end of the Ground wire(Black wire) to the Ground pin of the ESP8266 module (Picture 1)
- Connect the other end of the "LED" wire(Yellow wire) to the Digital pin 2 of the ESP8266 module (Picture 2)
- Picture 3 shows where are the Ground and Digital 2 pins in the NodeMCU1.0 that were connected on this step
Step 4: Start Visuino, and Select the ESP8266 Board Type
To start programming the Arduino, you will need to have the Arduino IDE installed from here: http://www.arduino.cc/.
Please be aware that there are some critical bugs in Arduino IDE 1.6.6.
Make sure that you install 1.6.7 or higher, otherwise this Instructable will not work!
If you have not done follow the steps in this Instructable to setup the Arduino IDE to program ESP 8266!
Step 5: In Visuino: Add and Connect Pulse Generator Component
- Type "puls" in the Filter box of the Component Toolbox then select the "Pulse Generator" component (Picture 1), and drop it in the design area
- Connect the "Out" pin of the PulseGenerator1 component to the "Digital" input pin of the "Digital[ 2 ]" channel of the "NodeMCU ESP-12" component (Picture 2)
Step 6: Generate, Compile, and Upload the ESP8266 Code
Step 7: And Play...
If you power the ESP8266 module, the LED will start blinking once a second as shown on Picture 1 and 2, and on the video.
Congratulations! You have completed your first ESP8266 project with Visuino.
Participated in the
Arduino All The Things! Contest
1 Person Made This Project!
- JacSjoerd made it!