Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Forums > Electronic Projects Design/Ideas/Reviews


Electronic Projects Design/Ideas/Reviews Are you building an electronic project or want to? Maybe you need some assistance? Come and submit your electronic questions here and let our experienced members find a solution.

Reply
 
LinkBack Thread Tools Display Modes
Old 3rd January 2006, 10:42 AM   (permalink)
Default sensor as an input to the parallel port

what multiplexer can i use to my 10 sensors? can i just connect it to pins D4-D7? D0-D3 are already used for my solenoid driver used to open the drawer. My project as a whole is like this, it is like an automated library. The user will login and borrow books using the computer. The books are placed individually in a drawer. Once a book inside that drawer is selected, the drawer will automatically open. There is a sensor placed on the drawer, if the user will get the book, the sensor will be cut. Once the sensor is cut, the database will be updated that, that book is unavailable already. Hope u'l have time to help me with this one. I'm already done with the drawer. my problem now is how to connect the sensor to the parallel port port which will serve as an input.
__________________
an ordinary person that does extraordinary things
marlep is offline  
Old 4th January 2006, 01:12 PM   (permalink)
Default still on sensor connections to the parallel port

is there a multiplexer that has 10 inputs?
__________________
an ordinary person that does extraordinary things
marlep is offline  
Old 4th January 2006, 01:30 PM   (permalink)
Default Re: still on sensor connections to the parallel port

Quote:
Originally Posted by marlep
is there a multiplexer that has 10 inputs?
Give it a little thought?.

Three inputs allow 8 outputs (binary 0 to 7), four inputs (binary 0 to 15) obviously allow 16 outputs - 10 isn't a round binary number.

So you need four pins for a multiplexer, and ignore the six you don't need.
__________________
PIC programmer software, and PIC Tutorials at:
http://www.winpicprog.co.uk
Nigel Goodwin is offline  
Reply

Bookmarks

Thread Tools
Display Modes





All times are GMT. The time now is 07:33 PM.


Electronic Circuits  |  Learning Electronics
Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.

eXTReMe Tracker