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 ABX00053 User manual

Arduino

Arduino ABX00053 User manual

Arduino MEGA 2560 R3 User manual

Arduino

Arduino MEGA 2560 R3 User manual

Arduino MEGA 2560 User manual

Arduino

Arduino MEGA 2560 User manual

Arduino uno User manual

Arduino

Arduino uno User manual

Arduino uno User manual

Arduino

Arduino uno User manual

Arduino MKR Vidor 4000 User manual

Arduino

Arduino MKR Vidor 4000 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 Nano ESP32 User manual

Arduino

Arduino Nano ESP32 User manual

Popular Motherboard manuals by other brands

Ampro LittleBoard 550 Reference manual

Ampro

Ampro LittleBoard 550 Reference manual

STI STM32G081B-EVAL user manual

STI

STI STM32G081B-EVAL user manual

Asus P4S8X user manual

Asus

Asus P4S8X user manual

Gigabyte 686LX3 user manual

Gigabyte

Gigabyte 686LX3 user manual

NXP Semiconductors PCA9957 user manual

NXP Semiconductors

NXP Semiconductors PCA9957 user manual

Asus PRIME N4000T quick start guide

Asus

Asus PRIME N4000T quick start guide

Renesas RC22312A manual

Renesas

Renesas RC22312A manual

mikroElektronika click boards Heart rate click manual

mikroElektronika

mikroElektronika click boards Heart rate click manual

MSI MS-9A78H1 manual

MSI

MSI MS-9A78H1 manual

Steren PIC-500 user manual

Steren

Steren PIC-500 user manual

Shuttle MS52P user manual

Shuttle

Shuttle MS52P user manual

Conrad 970A SLI Krait Edition manual

Conrad

Conrad 970A SLI Krait Edition manual

Transcend TS-ABX11 user manual

Transcend

Transcend TS-ABX11 user manual

Supermicro X11SSH-GF-1585 user manual

Supermicro

Supermicro X11SSH-GF-1585 user manual

ASROCK H81M-HDS Quick installation guide

ASROCK

ASROCK H81M-HDS Quick installation guide

Micrel MIC2169A quick start guide

Micrel

Micrel MIC2169A quick start guide

IEI Technology IMBA-9454ISA user manual

IEI Technology

IEI Technology IMBA-9454ISA user manual

Infineon KIT-FPG1-T2G-B-E-2M Guide

Infineon

Infineon KIT-FPG1-T2G-B-E-2M Guide

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

Copyright 2025 Manuals.Online. All Rights Reserved.