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


Friday, 8 July 2016

Projects

Projects

1.Automation using WiFi - Click Here

2.Automation using Bluetooth-   Click Here

3. Notice Board display using Bluetooth  - Click Here

4.Automatic Railway Level crossing Control System - Click Here

5.Gas Sensor Based Automation - Click Here

6. Automation using GSM - Click Here

7. Automatic Irrigation System using Soil Sensor - Click Here

8. Automatic Water-Level Indicator using Water Sensor - Click Here

9. Obstacle Detection using UltraSonic Sensor - Click Here

10. Digital Clock Using Timer - Click Here

11. Digital Thermometer using LM35 - Click Here

12. Speed Control of DC Motor - Click Here

13. Automatic Street Light Control - Click Here

14. Electronic Voting Machine - Click Here

15. Music Generation using Buzzer - Click Here

16. Motion Detection using Accelerometer - Click Here

17. Notice Board Display using GSM - Click Here

18. Notice Board Display using Wi-Fi - Click Here

19. Internet of Things - Click Here

20. Interactive Voice Response System - Click Here

21. Authentication System using RFID - Click Here


Sunday, 3 July 2016

Automation using Wi-Fi

Automation 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







Microcontroller pins cannot drive relay directly hence a driver circuit is required.
Driver should have good current gain. CE or CC configuration is preferred
Relay has 5 terminals 
1. Vdc - 5v
2.Gnd- connect it to  Collector pin of BJT
3. Common - Connect it to AC/DC source
4. NC- Normally close connect it to load1 
5. NO- Normally open connect it to load2

or else connect only one load to any of these two pins (4,5)
so that you can switch only one device at a time.


Download-code

Automation Using Bluetooth HC-05


Automation Using Bluetooth HC-05

Bluetooth is a Wireless communication protocol got its name after King Herald Bluetooth,
Bluetooth is a IEEE 802.15.1 standard part of Personal Area Network (PAN) operates at 2.4GHz ISM band. Bluetooth uses Frequecy Hop Spread Spectrum(FHSS). Bluetooth divides transmitted data into packets, and transmits each packet on one of 79 designated Bluetooth channels. Each channel has a bandwidth of 1 MHz. It usually performs 800 hops per second, Bluetooth Module HC-05 is the serial device.


It has six pins
1. State -leave it floating
2. Rx- Should be connected to Tx of UART
3. Tx- Should be connected to Rx of UART
4. Gnd- connect it to Ground(0V)
5. Vcc- connect it to 5V
6. Enable- used in AT command mode.

Before using Bluetooth Module initially it is configured through AT commands.
use USB-TTL converter 
      Cool-Terminal





                                                USB-Serial(TTL) Converter







Microcontroller pins cannot drive relay directly hence a driver circuit is required.

Driver should have good current gain. CE or CC configuration is preferred
Relay has 5 terminals 
1. Vdc - 5v
2.Gnd- connect it to  Collector pin of BJT
3. Common - Connect it to AC/DC source
4. NC- Normally close connect it to load1 
5. NO- Normally open connect it to load2

or else connect only one load to any of these two pins (4,5)
so that you can switch only one device at a time.




download code -click here

Notice Board Display Using Bluetooth

Notice Board Display Using Bluetooth

Bluetooth is a Wireless communication protocol got its name after King Herald Bluetooth,
Bluetooth is a IEEE 802.15.1 standard part of Personal Area Network (PAN) operates at 2.4GHz ISM band. Bluetooth uses Frequecy Hop Spread Spectrum(FHSS). Bluetooth divides transmitted data into packets, and transmits each packet on one of 79 designated Bluetooth channels. Each channel has a bandwidth of 1 MHz. It usually performs 800 hops per second, Bluetooth Module HC-05 is the serial device.


It has six pins
1. State -leave it floating
2. Rx- Should be connected to Tx of UART
3. Tx- Should be connected to Rx of UART
4. Gnd- connect it to Ground(0V)
5. Vcc- connect it to 5V
6. Enable- used in AT command mode.

Before using Bluetooth Module initially it is configured through AT commands.
use USB-TTL converter 
      Cool-Terminal




                                                USB-Serial(TTL) Converter




Download - code