Friday, April 19, 2024

Wireless Equipment Control Using AT89C51

The software program is designed to accept the input from the user as well as control the devices. It identifies the key pressed and displays the key code on the LCD module.

In the program, the LCD module is initialised first. As soon as the time-out is set, all the four devices turn on initially, then a particular device turns off at preset time. In this project, the timeout range is 00 to 99 seconds, which can be easily modified to extend the time duration in the delay subroutine of Assembly code.

Port 0 is configured as output port and interfaced with the RF module through encoder IC1. Port 1 is used for LCD interface and port 2 is used for the input from push-to-on switches.

Circuit operation

When the system is switched on, the startup message “press any key” appears on the LCD screen. When any key is pressed by the user, the LCD displays the message “to set time out press ent!”. Pressing ‘ent’ key displays the following messages on the LCD with a cursor blinking near the first device ‘D1_T’:

- Advertisement -

D1_T= D2_T=
D3_T= D4_T=

Use ‘up’ and ‘down’ keys to set the time for controlling the devices. The set time for each device on the LCD screen looks like this:

D1_T=10 D2_T=20
D3_T=30 D4_T=40

- Advertisement -

Now press ‘ent’ key followed by ‘run’ key. A device control subroutine executes and sends the data to the RF module, which transmits the data through ANT antenna. You can set maximum of 99 seconds as the control time for the device. If you set it to 00, a particular device is turned on for infinite time.

Construction

An actual-size, single-side PCB layout of the transmitter for wireless equipment control using microcontroller is shown in Fig.7(View as PDF) and its component layout in Fig. 8(View as PDF). The actual-size, single side PCB layout for the receiver circuit is shown in Fig.9(View as PDF) and its component layout in Fig.10(View as PDF)

Download PCB and component layout PDFs (Fig.7, 8, 9, 10): click here

Download source code: click here

2 COMMENTS

SHARE YOUR THOUGHTS & COMMENTS

Unique DIY Projects

Electronics News

Truly Innovative Tech

MOst Popular Videos

Electronics Components

Calculators