Presentation is loading. Please wait.

Presentation is loading. Please wait.

“Wireless equipment control using microcontroller”

Similar presentations


Presentation on theme: "“Wireless equipment control using microcontroller”"— Presentation transcript:

1 “Wireless equipment control using microcontroller”
Submitted by, Chachadia swati Hirpara himani External guide: Mr.Dhaval Sheth Internal guide: Mr.N.V Bhadresha Company :Ocean technology

2 Introduction: The project we have done is entailed wireless equipment control using microcontroller . This is an industrial defined project i.e. IDP. our company name is Ocean technology. And the title is so given from the problem definition “automatic light or other device control”. We got the above mentioned problem definition from our industrial visit to Ocean technology industry. We have developed an automatic machine, which control the electronics device.

3 Circuit diagram: Transmitter:

4 Receiver:

5 Circuit discription: Connect the 5v and ground to the receiver. Connect 1,2,3,4 terminal of receiver to p0.0, p0.1, p0.2, p0.3 respectively. Connect p3.4, p3.5, p3.6, p3.7 with on board lads which shows device1, device2, device3, device4 respectively. Connect to the power supply to the board (initially all led’s are on) Connect 9v battery to the TX board. Check device 1 on/off by SW1 on TX Check device 2 on/off by SW2 on TX Check device 3 on/off by SW3 on TX Check device 4 on/off by SW4 on TX

6 TX: TX and RX is serial communication .in transmitter HT12E LC is the heart of the transmission. it is encoder IC.10,11,12,13 is connect with the encoder SW.1 to 8 unconnected. ASK modulation provide in TX. 9 is GND.15,16 clock provide (osci.).transmitted the signal through pin no.17.it has high frequency it work without antenna. IC required +5 to 12v.

7 Rx: Receiver reception to parallel signal. Again RX consist dual HT12E and HT12D both are keep to every time. RX data in 14 pin. 15,16 clock provide (osci.). 9 is GND. 1 to 8 unconnected. Rx need +5v which provide by microcontroller. 1,2,3,4 terminal of receiver to p0.0, p0.1, p0.2, p0.3 data bit.

8 Transmitter:

9 Receiver:

10 Microcontroller board:

11 Program: //Header file inclusion #include<reg52.h>
#include<stdio.h> #include<math.h> #include<string.h> sbit device1=P3^4; sbit device2=P3^5; sbit device3=P3^6; sbit device4=P3^7; void MSdelay(unsigned int rtime)

12 { unsigned int r,s; for(r = 0;r<rtime;r++) for(s = 0;s<1275;s++); } void delay (unsigned int a ) unsigned int k; unsigned char l; for (k=0;k<a;k++)

13 { for (l=0;l<10;l++) } / //Main function void main()

14 { unsigned char i; P3=0x00; P0=0xff;// as input port from rf receiver device1=0; device2=0; device3=0; device4=0; while(1)

15 { i=P0; MSdelay(100); if(i==0xfe) MSdelay(200); device1=~device1;

16 } if(i==0xfd) { MSdelay(200); device2=~device2; if(i==0xfb) device3=~device3;

17 } if(i==0xf7) { MSdelay(200); device4=~device4;


Download ppt "“Wireless equipment control using microcontroller”"

Similar presentations


Ads by Google