Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Building a custom USB device

Posted on 2006-11-08
6
Medium Priority
?
346 Views
Last Modified: 2013-12-10
Hi there,

I'm looking for advice on how to convert a circuit like this:
http://www.tip2tail.co.uk/lpt_diag.gif

To a USB device from Parallel (LPT).  Does anyone know either how to do something similar to this (see below) or where I can learn about building USB devices (BEGINNERS GUIDES!!)

The circuit would:

Not need to use the same chip etc - all new components for desired function.
Need to be able to have more or less lanes & lights - up to a combined max of 8 - ie 4 lanes and 4 lights or 5 and 2 respectively etc.
The lane sensors will always be Light sensors, light source seperate.  The device would need to signal the computer saying what sensor had stopped getting light each time for when the motor car passes.  This is for a model car race track lap timer and control system.
Finally, the system would need to be able to switch the 12v on or off programatically.

I want to do all this in C# too!

HELLLLLLP!

thanks,

Mark
0
Comment
Question by:t2tmark
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
6 Comments
 
LVL 27

Expert Comment

by:d-glitch
ID: 17908808
Not a real easy home project, but there are a couple of ways to go.

You can get a USB interface chip from Future Technology.  It is about $20.  You get the PC drivers, but you would still need some sort of uC on the real world side.

     http://www.ftdichip.com/Products/FT245BM.htm


You can also get a PIC uC with USB connectivity built in for about $5.  The demo board for this chip is $125.  I have one and I poked at it.  But I still have a ways to go.

     http://www.microchip.com/stellent/idcplg?IdcService=SS_GET_PAGE&nodeId=1335&dDocName=en010280
0
 
LVL 27

Expert Comment

by:d-glitch
ID: 17908835
0
 
LVL 27

Accepted Solution

by:
d-glitch earned 2000 total points
ID: 17908922
And finally, a little USB module for hobbyists, that can handle 8 I/O lines for $33.
It uses the Future Technology Chip from my first post.  There are drivers available.

You can control a 12V Power Supply with a MOSFET or a solid state relay:

     http://www.crydom.com/products/productFamily.aspx?id=21
0
 
LVL 27

Expert Comment

by:d-glitch
ID: 17909828
Sorry.  I forgot the link in my last post.  

The USB Plug and Play Parallel 8-Bit FIFO Module from HobbyEngineering is $33.

               http://www.hobbyengineering.com/H1517.html
0

Featured Post

Enroll in October's Free Course of the Month

Do you work with and analyze data? Enroll in October's Course of the Month for 7+ hours of SQL training, allowing you to quickly and efficiently store or retrieve data. It's free for Premium Members, Team Accounts, and Qualified Experts!

Question has a verified solution.

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

Introduction: When a connection to the internet is established, there always exists a modem between the connected device and the ISP (Internet Service Provider). The Operating System (OS) on your PC controls the modem which communicates with the …
More and more people are using the enhanced small form-factor pluggable (SFP+) tranceivers, and speed is of utmost importance. Testing of speeds are critical to ensure that the devices will meet the speed requirements. There are some testing challen…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …

609 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