Skip to content

peec/esp8266_on_arduino_uno

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ESP8266 for Arduino UNO

This repository contains my ESP8266 working with a Arduino UNO.

See the sub folders in this repository for test scripts.

The wificlient/wificlient.ino script

  1. Connects to a WIFI AP, and gets IP address. Configure the vars for your needs.
  2. When button on INPUT PIN 2 is pressed, a HTTP request is sent to google.

Wiring Diagram

This is the complete wiring diagram using the "wifi/wifi.ino" script. Just follow the simple steps and upload it to your arduino and you are good.

Wire Diagram

  • The resistor can be any resitor, I use a 1K resistor. The resistor is needed because we have a direct positive to negative when button is pushed.
  • Connecting the ESP8266, you see that we use a total of 5 Connection points on the chip. RX, TX, GND, VCC and CH_PD. Both VCC and CH_PD connects to +3.3V. RX to input 11, TX to input 12 and GND to .. GND.

The wifiserver/wifiserver.ino script

  1. Connects to a WIFI AP, and gets IP address.
  2. You can then go to the IP via browser and see the "OK" message.
  3. See the webserver() method for interesting things.

Wiring Diagram

Use the same as wificlient, but you dont need the button.

Where to buy the ESP8266 chip?

Ebay, really cheap - like 3 $.

ESP8266 Diagram

ESP8266 Diagram

About

Sample scripts for the wifi ESP8266 module on Arduino UNO

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Other 100.0%