ESP8266 Programming Using Arduino IDE

The ESP8266 can be programmed using the Arduino IDE. The best part is the codes are similar to Arduino. To start programming a ESP8266 using Arduino IDE follow the below steps Prerequisites Arduino 1.6.8, get it from Arduino website. Steps Start Arduino and goto File-> Preferences. In the “Additional Boards Manager URLs” Enter http://arduino.esp8266.com/stable/package_esp8266com_index.json  (You… Continue reading ESP8266 Programming Using Arduino IDE

ESP 8266 – ESP-12E Hello World – Blinking LED

We are using Arduino IDE to program our ESP8266. Please see this article regarding how to setup the Arduino IDE for programming ESP8266. Here is a blinking LED code for ESP8266 written in Arduino IDE. #define ESP8266_LED 5 void setup() {   pinMode(ESP8266_LED, OUTPUT); } void loop() {   digitalWrite(ESP8266_LED, HIGH);   delay(500);   digitalWrite(ESP8266_LED,… Continue reading ESP 8266 – ESP-12E Hello World – Blinking LED

Connect Arduino and BMP 180 to Cloud

  BMP-180 SCL – Grey wire SDA – Orange Wire   Notes: Here the hardware TX and RX has been used for performance.   The code: See Arduino – Communicate with Server – Part 1 Updated code will be posted here some time soon. For more details on ESP 8266 please see the article “https://www.kolkataonweb.com/code-bank/arduino/esp8266-esp-01/“

ESP8266 ESP-01 – Part 2 – Useful AT Commands And Their Outputs

Below are some AT commands for ESP8266 and their outputs AT OK AT+GMR This will display firmware version and some other details AT+CIPMUX=1 OK AT+CWMODE=3 OK AT+CWJAP=”WIRELESS-ROUTER”,”password” [WIFI DISCONNECTED] (if it is already connected) WIFI CONNECTED WIFI GOT IP OK AT+CIPSTART=4,”TCP”,”x.x.x.x”,80 4,CONNECT OK AT+CIPSEND=4,205 OK > [at this point HTTP request will be made, read… Continue reading ESP8266 ESP-01 – Part 2 – Useful AT Commands And Their Outputs