controlling through computers

Thread Starter

raks_universe

Joined Mar 15, 2009
67
hi guys,
How to control the electrical and electronics devices(like fan,tubelights,heater etc)by the command from COMPUTER,instead of simply switching on with ordinary electrical switches.
 

KL7AJ

Joined Nov 4, 2008
2,229
The simplest way to learn your way through this is with a simple Data Acquisition board. B&B Electronics makes some affordable USB port DAQ modules with multiple channels of control and measurement available.

Industrial grade I/O cards can be quite expensive, such as National Instruments hardware, but you may be able to access them if you are in any university courses. Check with the robotics geeks you can usually find in any middle school, as well. :)

eric
 
Last edited:

KMoffett

Joined Dec 19, 2007
2,918
Depending on how much you want to spend, local control (in-home) through X10 modules would be the simplest. They have the software, interfaces, and modules to control almost any light or appliance.

Ken
 

Thread Starter

raks_universe

Joined Mar 15, 2009
67
I am very very new to this concept.......

what are the steps involved in implementing this small project .......?
And what are the requirements for this project....?
please guide me..........

(I am very attracted by this concept)
(I am in holidays and so i wish to do this small project in this holidays)
 

Harrington

Joined Dec 19, 2009
85
If you are going to control peripheral devices through a Pc My suggestion is read up on parallel ports and also RS232 communication
Rs232 is always a good way to start this type of project but would strongly recommend that you use a peripheral interfacing devices device to start with

C hard core programming required or Visual basic using MScomm control might be an easier approach to this
If you intend to use the parallel port you need to install a inputout32.dll otherwise you wont be able to communicate with the parallel port on 32 bit XP or NT based machines
I would also strongly recommend that you interface the port via 74LS273 data latch as this will prevent damage to the parallel port
Pic based serial in routines would also be an advantage here as well as understanding concepts about baud rate ascii communication, bit banging Lots of articles about this on the web I recommend Mike Pedro's pic programming

In fact I would start this way first before attempting to control via a Pc much safer
If you damage anything it s only going to cost you £2.50 up to £8.00 If you use a PC and do something wrong here its going to cost you a motherboard and that’s not cheap
 

Harrington

Joined Dec 19, 2009
85
As a further point of interest to you Recommendations are that when interfacing relays to any type of Microprocessor you use opto couplers to achieve this
This avoids noise which upsets ports and can disrupt registers inside a cpu Just a small tip

I found this problem out the hard way Don’t forget to use diodes across the relays to prevent back emf from damaging transistors
 
Top