Click here to Skip to main content
16,016,537 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello all,

I am trying to interface relay driver circuit with PC in C#.

Relay driver ckt consists one microcontroller 89C2051.
Which takes serial i/p and and according to the serial i/p it controls the relays connected to it.

But i am not able to communicate with it.

If anybody knws ... Plz help.


Thanks in advance,
Posted

Need a little more info;
Show, describe or link for circuit.
How are you trying to communicate with the uController.
 
Share this answer
 
Comments
yoyogesh 3-Apr-12 1:28am    
I am serially communicating with the relay driver circuit.

I have the software to switch on/ off the relays ..and its working.

But i want to build a dll file for the same. Microcontroller is already programmed.

Also i would like to knw that hw will i send binary data in C#
I have a project [^] where I use a serial application that talks to a uCOntrollers USART to produced a square wave of varying frequency and duty cycle. You might want to look at this project to get some ideas.

Good Luck
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900