Sponsored Content
Full Discussion: USB Circuit Question
Homework and Emergencies Homework & Coursework Questions USB Circuit Question Post 302491123 by Corona688 on Wednesday 26th of January 2011 05:56:11 PM
Old 01-26-2011
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 07:07 PM..
 

7 More Discussions You Might Find Interesting

1. Cybersecurity

Usb??????????????

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

2. UNIX for Dummies Questions & Answers

Where is my USB key?

Hi everybody, When I plug a USB key to my debian, where can I access the files? I don't have any user interface, what commands do I have to run to find the files in my USB key? Thanks for your help. Santiago (6 Replies)
Discussion started by: chebarbudo
6 Replies

3. 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

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. 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

6. 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

7. 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
xgsch2pcb(1)															      xgsch2pcb(1)

NAME
xgsch2pcb - gEDA/gaf gschem -> PCB workflow GUI SYNOPSIS
xgsch2pcb [project] DESCRIPTION
When designing a printed circuit board (PCB) it's often desirable to create a 'schematic' which shows the components to be used and their connectivity in an abstract fashion. The connectivity information is then used to help when designing the actual circuit board. gsch2pcb is a command-line tool, part of the gEDA suite, which is used to generate and update a PCB layout. It works with schematics cre- ated by gschem, part of the gEDA suite, and layouts created by pcb, a PCB layout system commonly used with gEDA. xgsch2pcb provides an intuitive, user-friendly graphical interface to gsch2pcb. The main window is divided into three main areas: o The toolbar at the top offers the usual options to quit the program and to load and save project files. o The left hand 'Schematic' frame shows a list of schematic pages that the PCB layout will be based on. The 'Edit schematic' and 'Edit attributes' buttons respectively launch gschem and gattrib to edit the selected schematic page. o The right hand 'Layout' pane shows the name of the PCB layout file associated with the project. The 'Edit layout' button launches pcb to edit a file, and will offer to update your PCB layout if necessary. The 'Update layout' button forces an update of the PCB layout even if one isn't strictly necessary. The update process will carry out the following actions to modify your layout, after launching pcb if isn't already running: 1. Remove any elements from the layout that are not in the schematic. 2. Find any elements that are in the schematic but not in the layout, and add them to the layout (in the top left corner). N.b. that it's probably a good idea to leave this corner of your layout clear until the layout is more or less finalised, to avoid new elements inter- fering with elements which have already been placed and routed. 3. Clear your rats and load a new rats nest. 4. Update the component pin names to match the pin names on the schematic symbol. Note that the update process won't modify your PCB file on disk, and will take into account any changes you have made since you last saved. 02 January 2010 xgsch2pcb(1)
All times are GMT -4. The time now is 08:48 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy