Solved

Interfacing to my PC

Posted on 2002-07-17
5
225 Views
Last Modified: 2010-04-26
I am interested in exploring the possiblities of creating a few sensors that I can connect to my pc.  The main sensors will detect say light activation and trigger an event on the computer.  I am okay working on the code but wondered what i would need to simply attach this unit to my PC?
0
Comment
Question by:andyuk
5 Comments
 
LVL 2

Expert Comment

by:tandy
ID: 7159271
Hi ,

Check this out and see if it is what you require:

http://www.fawcette.com/javapro/2002_03/magazine/features/mnadelson/

Hold this helps,

Tand
0
 
LVL 63

Expert Comment

by:SysExpert
ID: 7159499
0
 

Author Comment

by:andyuk
ID: 7159860
I am really a beginner when it comes to hardware and electronics so the simpler the solution (and cheaper the better), I had hope that a simple circuit could send information into the device and when it changes my vb program could notice and trigger and event?
0
 
LVL 63

Expert Comment

by:SysExpert
ID: 7161134
Either the serial or parallel ports can be used. There is plenty of sample code for manipulating these ports available.
NT/2k/XP make it harder to access the hardware directly.

What OS are you planning to use.

I hope this helps !

0
 
LVL 1

Accepted Solution

by:
lordxeroth earned 50 total points
ID: 7161905
I think the most simple thing is to use the parrallel port. You'll have 8 bidirectional channels (or 8 bit bidirectional). If you use ECP it's fast and relatively easy to use (electronical and software). Mind that you shouldn't use things as WinNT as OS because low level hardware access is more complicated there.
The ECP uses hardware based handshakes for data transfer. This handshake can be easily made on you device by using some simple logic gates. Data can be buffered into some register (simple chip).
I once thought of using the parrallel port to control a railtrack. It's possible to 'transform' the 8 lines to 256 lines that are able to switch something on or off. Getting 256 inputs to 8 bits is a bit more complicated and that is why I didn't go further with the project.

Send me an email to lordxeroth@yahoo.com and give a description of what you exactly want to do and we can talk a bit about it.

regards,
Jan
0

Featured Post

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Upper back Pain: My back hurt for months. Upper back, mostly my neck, spine and across my shoulder blades. I was getting headaches too, that felt like they were caused by tension in my shoulders, but now I feel fine! I'm sharing this hoping someone…
Moving your enterprise fax infrastructure from in-house fax machines and servers to the cloud makes sense — from both an efficiency and productivity standpoint. But does migrating to a cloud fax solution mean you will no longer be able to send or re…
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

785 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question