Introduction: Control Any AC Device Via PC RS232


This project is about How you can Control AC devices via PC RS232 Socket

Step 1:

Picture of

the project consists of two parts

1- software


  1. Softwere - u can use Hyper Terminal or Realterm

or u can used my own terminal program UART Serial Port Communication

2. hardware


  • microcontroller support UART
  • 2-led
  • relay module
  • Max232

Step 2: Circuit Simulation

Picture of Circuit Simulation
  • Construct the circuit shown

Step 3: Write UART Code

Picture of Write UART Code

use mikroC to write your own UART program

and then burn it on pic

code for two devices

Step 4: Relay Module

Picture of Relay Module

use relay module to control AC devices

Step 5: UART Serial Port Communication

Picture of  UART Serial Port Communication

use terminal programUART Serial Port Communication

to control devices via pc

for help contact me facebook

Step 6: UART Serial Port Communication [PC Program]

  • good luck


AsifI24 (author)2017-02-24

By the way , nice tutorial. keep it up

AsifI24 (author)2017-02-24

code is wrong for case a. check again :)

russ_hensel (author)2016-08-23

And the code is where?

almasry2011 (author)russ_hensel2016-08-23

check again

code has added

DIY Hacks and How Tos (author)2016-08-22

cool design. You could put together an awesome smart house system with this.

About This Instructable



Bio: my name is amr I'm an electronics and telecommunication engineer u can contact me via facebook 》》
More by almasry2011:Control any AC device via PC RS232
Add instructable to: