electronics forum

Rules | Recent posts | topic RSS | Search | Register  | Log in

MICROCONTROLLER to control relays


Post new topic  Reply to topic    EDAboard.com Forum Index -> Microcontrollers -> MICROCONTROLLER to control relays
Author Message
pfaisalbe



Joined: 22 Jul 2009
Posts: 3
Location: United Kingdom


Post03 Nov 2009 15:39   

MICROCONTROLLER


Hi

I am a postgraduate student and a beginner in micro controller. I have done Intel 8085 programming during undergraduate course. It was 10 years back.

Now I need to control relays via PC which means PC will send a command to an electronic circuit to energize relay coil and PC will send other command to deenergize the relay coil.

Electronic circuit and relay is straight forward. I can do that.

My problem is how to communicate electronic circuit using PC.?

I guess micro controller together with PC can do that. Is there any alternate solution ?

If it can be done with Micro controller , I need to get familiar with Micro controller first. Can you suggest me where to start with micro controller?

Regards

Faisal
Back to top
Naveed Ahmed



Joined: 31 Aug 2008
Posts: 22
Location: Pakistan


Post03 Nov 2009 16:28   

Re: MICROCONTROLLER to control relays


Dear Faisal Smile

You should use microcontroller to control relays and switch your device on/off.

1) Use Microcontroller's Serial port and connect it with PCs COM(serial port).

2) Send commands from Hyperterminal or any terminal software in PC to switch on/off relays. But you must have to program microcontroller for that.

3) If you are beginner with microcontrollers, then you should use 8051 microcontroller. 89c51 or 89c52. Then be perfect in this controller, then shift to the AVRs.
Back to top
Google
AdSense
Google Adsense




Post03 Nov 2009 16:28   

Ads




Back to top
elrayes



Joined: 03 Jun 2008
Posts: 164
Helped: 8
Location: Egypt


Post03 Nov 2009 16:58   

MICROCONTROLLER to control relays


another solution to use PC parallel port directly to control your relays without microcontroller in the middle, but remember to use buffers like 74244,74245,74373 to isolate parallel port and increase your fanout current, you can program it using C/C++/VB and even in matlab and labview.
if you use C/C++/VB under windows 2k, XP or higher then remember to use a low level access software like "User port" to open the ports for low level access.
good luck


Last edited by elrayes on 04 Nov 2009 9:44; edited 1 time in total
Back to top
glenjoy



Joined: 01 Jan 2004
Posts: 1028
Helped: 47
Location: Philippines


Post03 Nov 2009 23:04   

MICROCONTROLLER to control relays


Use a microcontroller via serial port, you problem just might be is the absence of serial ports in PCs now.
Back to top
Arabic versionBulgarian versionCatalan versionCzech versionDanish versionGerman versionGreek versionEnglish versionSpanish versionFinnish versionFrench versionHindi versionCroatian versionIndonesian versionItalian versionHebrew versionJapanese versionKorean versionLithuanian versionLatvian versionDutch versionNorwegian versionPolish versionPortuguese versionRomanian versionRussian versionSlovak versionSlovenian versionSerbian versionSwedish versionTagalog versionUkrainian versionVietnamese versionChinese version
Post new topic  Reply to topic    EDAboard.com Forum Index -> Microcontrollers -> MICROCONTROLLER to control relays
Page 1 of 1 All times are GMT + 1 Hour
Similar topics:
The control of relays (5)
how to control mains supply using relays (3)
inverter control using microcontroller (6)
microcontroller-based motor control (14)
Microcontroller elevator control system (7)
temperature control with microcontroller (2)
Microcontroller execution control flow (9)
microcontroller to control 4 brushless simultanously (1)
microcontroller based speed control dc motor (2)
AT89C52 Microcontroller Based DC Motor control (1)


Abuse || Administrator || Moderators || Support us || sitemap
topic RSS