manuals.online logo
Brands
  1. Home
  2. •
  3. Brands
  4. •
  5. Arduino
  6. •
  7. Motherboard
  8. •
  9. Arduino ESP 8266 User manual

Arduino ESP 8266 User manual

ESP8266 Quickstart Guide
1
Quickstart Guide: Programming the Arduino ESP 8266
V1.0 - March 2018
Part 1: Setting up the Arduino
1. Connect to your wireless network
2. Install Arduino software from www.arduino.cc
3. Check if Windows automatically installs CP2112 USB-UART driver. Else, download driver from:
https://tinyurl.com/CP2112driver
NOTE for MAC users: Go to the Appendix at the back for help on how to install driver.
4. Connect Arduino board via USB cable to PC
5. Add Additional Board Manager URLs: FILE -> Preferences
http://arduino.esp8266.com/stable/package_esp8266com_index.json
ESP8266 Quickstart Guide
2
6. Include ESP8266 Board libraries: Tools -> Board -> Board Manager. Type ESP8266 and click on the
found module to install.
7. Select board NodeMCU 0.9. Tools -> Board -> NodeMCU 0.9 (scroll down to find it)
Click to install
ESP8266 Quickstart Guide
3
8. Select port (yours may be a different number, COM”X”). Tools -> Port COM
9. Set upload speed to 11500 or 9600. Tools -> Upload Speed -> 115200 or 9600
Ready for the first program 
ESP8266 Quickstart Guide
4
Part 2: Running the Blink Program
10. Open the File -> Examples -> Basics -> Blink
11. Investigate the program – which function blocks do what? Check that the LED is blinking properly.
Hint: Compile and Upload are in the top left corner of the IDE:
Part 3: Morse code
12. Alter the blink program to Morse SOS. Save the Blink program with name:
”Morse_SOS_yourname”
13. A few tips:
•All timings are defined as multiples of one dot length
•A dash is three times the length of a dot
•Each dot or dash has a short gap of silence after it (usually 1 dot length)
•Letters in a word have a slightly longer gap of silence between them (usually 3 dot lengths)
•Words have an even longer gap of silence between them (usually 7 dot lengths)
ESP8266 Quickstart Guide
5
Please note: (Solution example provided at the end of document)
•Arduino 8266 LED_BUILTIN:
•DigitalWrite HIGH -> LED off;
•DigitalWrite LOW -> LED on;
Part 4: Morse your name
14. Alter the blink program to Morse your name.Save the Blink program with name:
”Morse_NAME_yourname”
Want to know more about DTU Fotonik: For information on our B.Sc. programme
Go to www.fotonik.dtu.dk on Network Technology and IT, please visit:
Check out our education profile, courses
and research areas.
For questions, feel free to contact
B.Sc. Head of Studies Henrik Wessing at
hewe@fotonik.dtu.dk
We hope to welcome you as our future students 
For High Schools, we offer:
-Workshops on Internet of Things programming with Arduino
-SRP projects (Build your own Earthquake Warning System)
Please contact: Sarah Ruepp (srru@fotonik.dtu.dk) or Martin Nordal Petersen (mnpe@fotonik.dtu.dk)
ESP8266 Quickstart Guide
6
Appendix: Screenshots for MAC users
Go to https://tinyurl.com/CP2112driver and download the OSX driver. See screenshot below.
After downloading open/unzip the zip file and double click on the SiLabs USB Driver Disk.dmg file to install
the driver.
ESP8266 Quickstart Guide
7
After successfull installation you should see something like this:
After driver installation, in Arduino IDE, go to tho Tools -> Board manager and click on Boards Manager
ESP8266 Quickstart Guide
8
In Boards Manager search for esp8266 and install this board.
Now go to Arduino IDE, and open Tools -> Board menu. You should now find NodeMCU…
Select NodeMCU 0.9 (ESP…..
ESP8266 Quickstart Guide
9
Finally, to select the correct port go to Tools -> Port and select the one named something like
…SLAB_USBtoUART
Now you can open the Blink sketch:
ESP8266 Quickstart Guide
10
ESP8266 Quickstart Guide
11
Solution example to SOS:
// S: ...
// O: ---
// S: ...
// Please note for Ardudino 8266: DigitalWrite HIGH -> LED off; DigitalWrite LOW -> LED on;
const byte ledPin = LED_BUILTIN; // specify which pin is connected to the LED (here built-in LED)
const unsigned int delayTime = 300; // specify delay time
void setup() {
pinMode(ledPin, OUTPUT); // set mode of ledPin to OUTPUT
}
void loop() {
flash(delayTime); flash(delayTime); flash(delayTime); // S (three short pulses) -> see flash function below
delay(3*delayTime); // pause between letters
flash(3*delayTime); flash(3*delayTime); flash(3*delayTime); // O (three long pulses)
delay(3*delayTime); // pause between letters
flash(delayTime); flash(delayTime); flash(delayTime); // S (three short pulses)
digitalWrite(ledPin,HIGH); // turn off LED
delay(7*delayTime); // pause between words
}
void flash(int flashDuration)
{
digitalWrite(ledPin,LOW); // turn on LED
delay(flashDuration); // pause – keep LED on
digitalWrite(ledPin,HIGH); // turn off LED
delay(flashDuration); // keep LED turned off
}

Other Arduino Motherboard manuals

Arduino uno User manual

Arduino

Arduino uno User manual

Arduino MKR Vidor 4000 User manual

Arduino

Arduino MKR Vidor 4000 User manual

Arduino uno User manual

Arduino

Arduino uno User manual

Arduino WiFI Shield User manual

Arduino

Arduino WiFI Shield User manual

Arduino Nano A000005 User manual

Arduino

Arduino Nano A000005 User manual

Arduino MEGA 2560 User manual

Arduino

Arduino MEGA 2560 User manual

Arduino ABX00053 User manual

Arduino

Arduino ABX00053 User manual

Arduino Nano ESP32 User manual

Arduino

Arduino Nano ESP32 User manual

Arduino MEGA 2560 R3 User manual

Arduino

Arduino MEGA 2560 R3 User manual

Popular Motherboard manuals by other brands

Gigabyte GA-8GEM800 user manual

Gigabyte

Gigabyte GA-8GEM800 user manual

JETWAY K8M8MSR1A user manual

JETWAY

JETWAY K8M8MSR1A user manual

Texas Instruments LM5005 user guide

Texas Instruments

Texas Instruments LM5005 user guide

Asus B75M-A user manual

Asus

Asus B75M-A user manual

National Semiconductor SD394EVK user guide

National Semiconductor

National Semiconductor SD394EVK user guide

Vextrec GMB-P6EIMG user guide

Vextrec

Vextrec GMB-P6EIMG user guide

Texas Instruments LAUNCHXL-F28027 user guide

Texas Instruments

Texas Instruments LAUNCHXL-F28027 user guide

CMOSTEK CMT2300AW User guideline

CMOSTEK

CMOSTEK CMT2300AW User guideline

MSI PRO B550-VC quick start

MSI

MSI PRO B550-VC quick start

ASROCK P4S55FX2 user manual

ASROCK

ASROCK P4S55FX2 user manual

Asus P4P800 SE quick start guide

Asus

Asus P4P800 SE quick start guide

onsemi NCD57253GEVB user manual

onsemi

onsemi NCD57253GEVB user manual

Cirrus Logic CS492 Series manual

Cirrus Logic

Cirrus Logic CS492 Series manual

Maxim Integrated MAX17572 quick start

Maxim Integrated

Maxim Integrated MAX17572 quick start

Cavli Wireless C16QS EVK Connection manual

Cavli Wireless

Cavli Wireless C16QS EVK Connection manual

ECS A75F2-M2 user manual

ECS

ECS A75F2-M2 user manual

Supero X9DAX-iF user manual

Supero

Supero X9DAX-iF user manual

Biostar IDEQ 200T Bios setup manual

Biostar

Biostar IDEQ 200T Bios setup manual

manuals.online logo
manuals.online logoBrands
  • About & Mission
  • Contact us
  • Privacy Policy
  • Terms and Conditions

Copyright 2025 Manuals.Online. All Rights Reserved.