Saturday, 9 July 2016

Notice Board Display using ESP8266

Notice Board Display using Wi-Fi


Wi-Fi(Wireless-Fidelity) is a Wireless communication protocol part of IEEE 802.11 standard
Wi-Fi is commonly used to create ad-hoc  network by creating access point.Unlike Bluetooth Many wifi devices can connect to same access point. ESP8266 is a Serial Wi-Fi module.
It has eight pins starting from 
Row-1
Top right (1) Vcc(3.3v) level sensitive  
Top left (2) Rx 
Row-2
 Right(3) Reset - connect it to 3.3v for normal operation
 Left (4) GPIO1 - Can be used as I/O
Row-3
 Right(5) CH_PD- connect it to 3.3v for normal operation
 Left(6) GPIO2- Can be used as I/O
Row-4
Right(7) Tx
Left(8) Gnd

Similar to Bluetooth configure Wi-Fi in AT command mode 
using USB-TTL converter 
 CoolTerm software

1. AT - OK
2. AT+CIOBAUD ?
GIVES COMMUNICATION BAUD RATE
3. AT+CIPMUX=1
CONNECT WITH MANY DEVICES
4. AT+CWMODE=3
STATION+ACCESS POINT
5. AT+CIFSR
GIVES DEVICE IP
6.AT+CWSAP="NAME","PASSWORD",5,3
TO CREATE ACCESS POINT
7.AT+CIPSERVER=1,80
START SERVER AT PORT-80




Once Configured through USB to Serial Converter. Connect your Android phone to esp8266 serial over wifi. Then open Telnet app and enter wifi IP and Port number here it is
IP: 192.168.4.1
Port: 80
then click on connect to server


then link will be established you can pass what ever message you want 
if you observe output on coolterm unlike bluetooth it is not a straight forward message along with message you can see some  redundant data like +IPD,0,13:  OK 

 which should be avoided  when you display it on lcd. So clearly from format character ':' indicates beginning of message and use some special char for termination of message in this example i used '#'


store entire message in string and then display it on lcd. In this way you can do this project

Downlode code - Here


No comments:

Post a Comment