Solved

Interfacing to my PC

Posted on 2002-07-17
5
222 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
Comment Utility
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
Comment Utility
0
 

Author Comment

by:andyuk
Comment Utility
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
Comment Utility
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
Comment Utility
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

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

Suggested Solutions

Is it worth it to buy an Echo? In a word, yes! For me it was definitely worth it. I use mine on a daily basis. Prologue & Privacy At first, I was very skeptical about the Amazon Echo. In general, I don't like voice assistants. I don't li…
this article is a guided solution for most of the common server issues in server hardware tasks we are facing in our routine job works. the topics in the following article covered are, 1) dell hardware raidlevel (Perc) 2) adding HDD 3) how t…
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

762 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

Need Help in Real-Time?

Connect with top rated Experts

6 Experts available now in Live!

Get 1:1 Help Now