| Author |
Message |
electric_pk
Joined: 08 Dec 2006 Posts: 3
|
11 Dec 2006 17:18 controling devices with parallel port |
|
|
|
| Actuay devices are temperature dependant and in particuar range of temperature say(10 to 20 degree centigrade) a device turns on and similary in higher temperature range 2nd device turns on. I have to control 4 devices. wat I am doing is, I take analog output of temperature sensor interms of variable voltage and pass it through ADC and get 8bit data for parallel port and use it in Assembly code. but How can I use this information to control devices. Plz help me.
|
|
| Back to top |
|
 |
bigaussie
Joined: 29 Nov 2006 Posts: 58 Helped: 1
|
11 Dec 2006 19:01 Re: controling devices with parallel port |
|
|
|
Parallel Port has an 8-bit o/p port, 5-bit i/p port, & 4-bit control bidirectional port, with different addresses. You can use them as your requirement and for analog o/p you can connect DAC at o/p.
bigaussie
|
|
| Back to top |
|
 |
yogi
Joined: 08 Jan 2005 Posts: 344 Helped: 17
|
12 Dec 2006 10:45 controling devices with parallel port |
|
|
|
why go for assembly code,go for C programming
Here is the link for temperature sensor interfacing with parallel port
http://booksbybibin.14.forumer.com/viewtopic.php?t=63
use control port to handle 4 devices
Bibin John
www.bibinjohn.tk
|
|
| Back to top |
|
 |
soundar
Joined: 26 Sep 2003 Posts: 108 Helped: 11 Location: Chennai, India
|
12 Dec 2006 10:49 controling devices with parallel port |
|
|
|
First you have to convert analog temperature readings of all devices into digital.
Then with multiplexed mode pass each value to parallel port.
Compare each analog value based on reference voltage and control the device.
..
|
|
| Back to top |
|
 |
the_risk_master
Joined: 12 Aug 2005 Posts: 671 Helped: 59 Location: UE+MIT, Philippines, (14°N , 120°E )
|
12 Dec 2006 11:58 Re: controling devices with parallel port |
|
|
|
| what devices you want to control, post your design here or may be the block diagram of yer idea so we coul discuss further...
|
|
| Back to top |
|
 |