This repository contains my ESP8266 working with a Arduino UNO.
See the sub folders in this repository for test scripts.
- Connects to a WIFI AP, and gets IP address. Configure the vars for your needs.
- When button on INPUT PIN 2 is pressed, a HTTP request is sent to google.
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.
- 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.
- Connects to a WIFI AP, and gets IP address.
- You can then go to the IP via browser and see the "OK" message.
- See the webserver() method for interesting things.
Use the same as wificlient, but you dont need the button.
Ebay, really cheap - like 3 $.