control PC using controller

Status
Not open for further replies.

embpic

Advanced Member level 3
Joined
May 29, 2013
Messages
742
Helped
80
Reputation
160
Reaction score
77
Trophy points
1,308
Location
india
Visit site
Activity points
5,213
Hello mastar
as we control our controller using pc. then is it possible controller our PC using controller. if possible then how and how to implement it.Many times if controller work as data-logger then depends on wheather condition it should give commands to PC or and any voltage spikes like other thing we should save our PC.
thanx
 

You need to decide the medium of communication between the controller and your PC. Then the software running on PC should open that particular port and wait for command. When the command arrives, process it and initiate some task or anything else.
 

Okay. The open the Serial port through your PC (ttyS0 if using Linux). Now Program your controller to send commands to the PC through serial communication. Run an application in your PC which will start some tasks based on the command received through the UART from uC.
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…