USB Circuit Question

Login or Register for Dates, Times and to Reply

Thread Tools Search this Thread
# 1  
USB Circuit Question

My problem is I need to control a 7 segment LED circuit (currently on a breadboard, eventually on a PCB). The only option I have from my PC is through USB. The circuit I have built on a breadboard uses 7 segment LED's and 4206 decade counters. I have cut a USB cable in half, and am using the positive and negative leads to power the circuit. I have made multiple attemps at controlling the circuit through the D+ and D- leads, but have failed so far. Basically all I need to do is control the clock input to the 4206 decade counter.

I have made multiple attemps at controlling the circuit through the D+ and D- leads, but have failed so far.

Does anybody know if this is even possible using the D+ and D- leads from the USB? I will eventually attempt to control it through bash script, but don't want to waste my time trying to develop a driver for this circuit if I will not be able to control it.

University of Alabama
Kenneth Ricks
ECE 494 - Capstone Design II (URL's not allowed due to my post count)
# 2  
Perhaps this article may help ?
# 3  
No, this won't work. You can't just hook up raw USB signals up to a TTL-level chip and expect it to do anything meaningful. Even if the signals were powerful and noise-free enough for it to do anything, USB's got a very complicated protocol to the point it expects you to tell it how much power your device will consume before it's willing to give you the time of day. You'd better just get an adapter of some sort if you want to make USB controlled leds a project and not a career.

I've used the DLP-IO8 module before and reccomend it. It's pretty simple to use and flexible, plus works with Linux and Windows(uses the FTDI USB-to-serial chip). It acts like a serial port when plugged in. Set it to 115200 baud no parity 8 bits 1 stop bit. Write an ascii '1' to the device and it sets pin one high, write an ascii 'Q' to it and it sets pin 1 low, etc, etc. Other functions include analog input and digital temperature-sensor reading. It provides convenient power hookups. And it's shockingly cheap for what it does. It should control your LEDs fine.

Last edited by Corona688; 01-26-2011 at 08:07 PM..
Login or Register for Dates, Times and to Reply

Previous Thread | Next Thread
Thread Tools Search this Thread
Search this Thread:
Advanced Search

Test Your Knowledge in Computers #939
Difficulty: Easy
The author named the ping utility after the sound that a sonar makes.
True or False?

7 More Discussions You Might Find Interesting

1. Answers to Frequently Asked Questions

Running Turbo-cad and circuit wizard programmes.

Hi. i am new to Linux. i have a Turbo-cad and circuit wizard programme on CD that I want to install and run. I keep getting the message I do not have an auto-run programme. Do I need to install specific drivers for this? What programme do I need? (1 Reply)
Discussion started by: Alfred Kruger
1 Replies

2. UNIX and Linux Applications

UNIX Circuit Design System

Hi all. In some articles I have read about a "UNIX Circuit Design System", which was written originally in some version of Research UNIX by Sandy Fraser. Here is a quote from the article "A Research UNIX Reader: Annotated Excerpts from the Programmer's Manual", by Douglas McIlroy: Even... (1 Reply)
Discussion started by: mghis
1 Replies

3. Shell Programming and Scripting

Short circuit if

Hello everyone, just wondering if this type of if condition will execute properly. Suppose I have a script with two functions in it called abc and def: is this code valid, or is there a better way to short circuit the if statement? #! /bin/ksh93 abc(){ statement 1 using $1 statement 2... (4 Replies)
Discussion started by: gio001
4 Replies

4. UNIX for Dummies Questions & Answers

USB-USB cable between linux and windows computers

Is there an easy way to setup a cross-over cable (USB-USB) between a linux box and a windows PC? My 2 machines are next to each other but I really do not want to keep transfering my files using my USB drive. Thanks! (4 Replies)
Discussion started by: Xterra
4 Replies

5. Solaris

Mounting USB HD

I am very new to Solaris. The machine I am working with is running Solaris 10. I have a 1.5 TB hard drive plugged into a USB dock plugged into the Solaris machine. I ran 'cfgadm -al' and can see that the usb0/1 is usb-storage that was not there before. How do i mount this drive and format... (3 Replies)
Discussion started by: mcdef
3 Replies

6. UNIX for Advanced & Expert Users

protocol failure in circuit setup

Receiving the above error from an application. I narrowed it down to a problem with rsh. If the rsh command is issued too rapidly it fails intermittently. Try this script on your linux box... #!/bin/sh -f for i in 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 do echo $i rsh... (1 Reply)
Discussion started by: kevinl33
1 Replies

7. Cybersecurity


it's true that USB port has no security?? (0 Replies)
Discussion started by: lolo_vang
0 Replies

Featured Tech Videos