Making a USB interface

Something I always wanted to do is to be able to design some hardware that would send information into a computer and communicate with some software that the user could interact with. Here are some examples: I have different hardware with USB inputs such as a biofeedback device, a sound level meter, etc. Or, if I designed a circuit that sent and received information to a USB output which could be plugged into a computer. It would be great to be able to write a program that gets and sends information to these devices. But, I just do not know where to start. I was wondering if one of you could point me in the direction of understanding the process. Does it involve writing a driver? If so, what is involved? etc.
Here is concretely what I am looking to do now.
I have an exercise bike that has an eight pin input from the bike into a circuit board which connects to a screen. I would like to disconnect the screen and communicate with the bike through my laptop running Mac OS X. I figure it must be possible to have the eight pin input connect to a USB computer input that would connect to a computer. I imagine, if you understood how Mac OS X works at a fundamental level, you could then write a program that would then use the input from the bike (through the USB input).
Somebody must know how to do this because every device that hooks into a computer must do this. I would just like to know the basics of how to get this to work at the most simple level. Any help would be greatly appreciated.

Here is concretely what I am looking to do now.
I have an exercise bike that has an eight pin input
from the bike into a circuit board which connects to
a screen. I would like to disconnect the screen and
communicate with the bike through my laptop running
Mac OS X.
Forget about USB and OSX and programming etc for now.. the first thing you will need to do is work out what each of those wires are used for. Are they connected to sensors or another circuit? Do they drive the screen, or does the screen drive them? Do they need power? What voltage? etc. If you can't do this.. then there isn't much point continuing any further until you can. If you aren't already handy with a multimeter and a soldering iron, then you might want to try interfacing the computer with something a little less complicated to start with, or find someone who is experienced to help you.
How to talk to/program for a custom USB device is going to be the last thing you want to deal with, not to mention requires many years of system level programming experience. Something I am assuming you don't have by the way you asked the question (no offence intended).
That's not to say don't attempt it.. on the contrary, it sounds like a cool idea, however it's not going to be easy. For the computer interface part I would probably be looking for an already supported, cheap, input device that can be repurposed to suit, such as a USB gamepad controller, which have numerous digital and analogue inputs, not to mention readily available example source code from apple on how to talk to it.
Seeya...Q

Similar Messages

  • Software needed for the USB device, "USB Interface Controller TEST2.0"

    My mother recently acquired a digital camera. She acquired it from a second-hand store, which did not include an interface cable or software. The manual (and the USB port on the camera) indicates that a male-male USB cable is necessary for photos to be copied to the hard drive.
    I was not successful in locating such a cable at any local electronics store (I assume such a cable is now out-of-date). I purchased one from a seller on eBay. The brand is "e circuit electronics".
    Upon powering up the camera with the cable connected to it and the computer, the following message appeared:
    "Software needed for the USB device "USB Interface Controller TEST2.0" is not available. Would you like to look for the software on the Internet?"
    I clicked "Yes". After an approximate two-minute wait, another message appeared stating:
    "Software Update is not able to connect to the Internet. Please check your configuration and try again."
    I deleted, "Software Update Preferences" in the Preferences folder inside the System Folder, without solving the problem. How do I solve the issue of allowing Software Update to connect to the Internet?

    Thank you for your continued assistance, BDAqua. Unfortunately, the driver you linked to does not seem to be compatible with the camera. It is a driver for the V20 model, whereas my model would correspond to be a V2755, as referenced from a list of other Vivicam models when during a search at the Open Drivers web site.
    From the system requirement about the card reader you gave me, it will not work, as this system is running 9.1. I am hesistant to upgrade this computer to 9.2, as I have experienced system unstability with that version, with even the 9.2.2 update applied.
    In the mean time, I have e-mailed Vivitar regarding this issue, but have as of yet received a reply.
    I am not certain as to other specifics to give you, in order to solve the Software Update problem. Please elaborate.
    Yes eww, the computer in question is able to fully connect to the Internet for all that I need. I am fully aware of the difference between a computer connecting to the Internet, and a computer connecting to a digital camera. I have 15 years of Macintosh experience.

  • How do I add a USB interface back to my network preferences

    Help, I mistakenly deleted the usb interface from the list of available interfaces from my network preferences. How do I add it back?

    Hello,
    I found a website that you can download mail for. I dont know if you can trust the website, but this is just to let you know that it is out there. http://en.softonic.com/s/mail:mac
    Also, if you do not want to download that, you can alway have a safari tab open with you email. That also works.

  • IPhone 5 not working properly with  USB interface in Honda Accord.

    The iPhone 5 seems not to work properly with the USB interface in my 2012 Honda Accord. It says I have 500  songs when I only have 430, it skips over songs and freezes during play.

    I actually have a different problem. I am unable to play Pandora through my USB connection in my 2012 Honda Accord SE with my iPhone 5. I can't get map directions through my speakers or any sounds at all. Any idea if a fix will be available?

  • Setting output to onboard and input to USB interface ?

    Hi all,
    Does somebody now a way to "split" the input and output in logic?
    What I want is using my Alesis USB interface for the incoming signals and the onboard (headphone) output for the the master output. The reason is, when recording guitars through ie Amplitube, the Alesis interface is giving both the clean guitar input signal and the processed signal form Logic back on the output. There's no way to stop the clean input signal going to the output... IF there's a way to set the output to onboard, I only monitor the Logic output.
    In Garageband you can easily set both the input and output in Preferences, but Logic only gives me the option to select the soundcard for both in and output.
    I hope someone can help me out. Thanks a lot
    Kind regards,
    Martijn

    You may be able to configure your interface to do this...
    But if not, you can create an aggregate device (in Audio MIDI setup - may be in Applications>Utilities).

  • Audio problems with an USB interface

    Hi everyone, this is my first post and glad to finally do it.
    I am so pleased with arch linux, it's just simply amazing. I have learnt a lot following the wikis, it's pretty simple and effective.
    I managed to install and configure ssh server, samba server (surprisingly easy), usb samsung laser printer, nvidia drivers, KDE desktop (so fast in arch), fonts, cpu scaling and I'm so happy with the results and perfomance.
    The only problem I ran into is about audio, I think the wiki on audio is pretty  incomplete (don't get me wrong I enjoy your work).
    The problem is with an USB interface line 6 toneport gx (http://line6.com/toneportgx/), I know the device is meant to be an usb guitar interface but since I don't longer play guitar I use it as soundcard. As complementary information it works with no problem on Ubuntu 10.04 (which is the distro I came from).
    The interface works and it's unmuted since I dmix does not work when I try to play sounds from different sources I had to install pulseaudio. Pulseaudio works partially, the sound was improved and finally I am able to play different sources. The big problem is when high cpu load ocurrs the the audio dies and does not come back even when the cpu loads decrease.
    Any help is appreciated.
    Thanks.

    You may want to debug pulseaudio (check their wiki to see how, involves running pulseaudio in verbose mode) to see what happens.

  • Contructing an RS-232 interface using USB interfaces Digital IO

    Hi,
    I've got a NI USB interfaces to work with, which has plenty of digital IO available (USB 6259)
    I need to communicate via RS-232 with a few instruments, which I've already done using USB to RS-232 devices.
    However, I would like to do everything on a single NI USB DAQ interface. Is it possible to use a few digital lines from the USB 6259 to create an RS-232? It seems that this would be relatively straightforward, but I haven't heard of this being done.

    Not recommended.  Voltage levels are different, no FIFO of communication, no UART that does bit sampling and error checking, no clock for data, a lot harder than you think it would be.
    Matthew Fitzsimons
    Certified LabVIEW Architect
    LabVIEW 6.1 ... 2013, LVOOP, GOOP, TestStand, DAQ, and Vison

  • Usb interface not on aggregate structure list

    when i pull up my aggregate device box the structure list only has only built in components listed what do i do to get my usb interface on there?

    The problem lies with Tascam and their inability to write stable drivers for OS X...  and isn't anything to do with Logic Pro ..
    As you know, you are not the only person to have had this issue and the reality is, while the 1641 might work fine with  Windows, when it comes to OS X Macs.. it's an entirely different story... depending on the version of OS XS you are running.
    The one tip I have read, that seemed to fix it for most people.. (Though not all) is as follows;
    (Thanks to Paulypaulpaul for this)
    -uninstall your tascam driver 2.10
    -restart
    -install driver 1.03
    -restart
    -plug in your tascam
    -goto where you download your drivers (http://tascam.com/product/us-1641/downloads/), scroll down to the bottom where it says firmware, Download the firmware 1.02 (3rd from top under firmware), install it. your control panal should now read 1.03 for your drivers and 1.02 for your firmware.
    -install drivers 2.10
    -restart
    Follow each of the steps exactly.. including all restarts when indicated..
    ...and good luck...

  • Recommendations for Electric Guitar to USB interface?

    I'm interested in purchasing a guitar-to-USB interface for my MacBook Pro. This Spring '11 model does not have an audio input jack, so a 1/4" to 1/8" converter is not an option. Can anyone recommend a relatively inexpensive interface that works well with the amps offered in GarageBand (v.6.0.4)? Thanks!

    isteveus wrote:
    Csound1 wrote:
    isteveus wrote:
    All Macbook Pros have audio input. It probably shares the same jack as the headphone.
    Both the gain and the impedance are wrong for an electric guitar pickup, not a good idea.
    Why not a good idea. It's cheep, it works and thousands of people do this every day.
    Of course a audio interface is the way to go but if you just want to mess around with with garageband or do the guitar lessons there is no problem using the audio input.
    Some single coil pickups may not have enough gain to get a good signal.
    Read up on Ohms law

  • How can I use USB interface in Labview?

    Hi.
    Does labview allow to USB interface?
    I have been seen allowing GPIB and RS232.
    I'm beginer at Labview and wanna use USB interface for my target system and pc.
    I wanna know how to labview interfaces from target system to pc.
    And if Labview doesn't provide USB interface module, how can I use USB?
    Is using a USB at Labview hard to beginer?
    Plz, answer to my quetion.
    sorry, my English is very poor.
    thx for reading my article.

    You can access devices connected to the USB port, but not in the same way as you would a GPIB or RS232 device. There are no USB drivers like there is VISA for GPIB or serial. Rather devices that plug into the USB appear to the systen as some sort of standard resource like a printer, disk drive or IO board. LabVIEW then interacts with these devices as it would any other device of the same type.Look at it this way, if you have a USB daq device you will access it through MAX the same as if it were a plugin card. Mike...
    Certified Professional Instructor
    Certified LabVIEW Architect
    LabVIEW Champion
    "... after all, He's not a tame lion..."
    Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps

  • Can I use iphone in BMW via usb interface for phone call and ipod functions

    Can I use iphone in BMW via usb interface for phone call and ipod functions

    Why don't you check the manual for your car or ask your dealer?

  • HT201066 Using us-144 mkII (USB interface) with Quicktime

    Does anybody know how I can get my MacBook Air to recognize my USB interface when I use Quicktime?
    Quicktime input options are limited to internal mic and my cam... won't recognize my USB interface, even though its appearing in the computers' audio preferences.
    HEEEEEEEELP!!!
    Thanks!
    Eddie

    foxyroxyD wrote:
    digital piano - midi in/out - audio interface - usb - Macbook.
    check the cabling:
    http://www.bulletsandbones.com/GB/GBFAQ.html#controllertointerface
    (Let the page FULLY load. The link to your answer is at the top of your screen)

  • USB interface locked for windows-based application via VMWare fusion 3

    recently I found some applications based on windows XP (I used Vmware fusion 3 on mac OS X 10.6.3, macbook pro) can't find the h/w connected to USB interface..e.g.
    I have a 3G wireless modem card, the console in windows (of course based on virtual machine VMWARE) says no any modem card founded when I connected to my mac pro with USB interface..
    another case is I use ebank client s/w with U-key.. of course doesn't find any U-KEY when i insert it too..
    It seems that the USB interface is locked when I use windows-base application via virtual machine, right?

    yes, your suggestions are very useful.. I tried again..it asked me to select if connecting to "windows" or "mac".. I made the mistakes before.. Now I selected "windows" and it was okay..
    btw, one more question about the bridge connection.. when I dial through my 3G modem card (based on windows XP), I just only use IE as the web browser.. Safari is not ok. I assumed that I should make a bridge connection between 3G modem card and LAN connection, right? If yes, how to do it? I can't select two connections once a time in control panel..
    Thanks for your answer!

  • So What's the Consensus on USB Interfaces with Logic?

    Digidesign's new ELEVEN Rack has a coreaudio driver and therefore can be used as a main interface. This is good news for those who like to use both Logic and Pro Tools, perhaps depending on the project, or to track in Logic and mix in PT.
    But, Digi has chosen to make the Eleven Rack a USB interface. Some people on the DUC are not pleased about this and claim this will mean low track counts and all manner of horrors. I worry about it too. Digi went from the Mbox which was USB to the MBOX II Pro which is Firewire, and Ensemble and all the other top interfaces are firewire. Digi's answer seems to be that Firewire is going the way of the buffalo.
    Does anyone have any real data on whether a USB interface will result in poorer perfomance?
    Thanks
    Tom

    As FW is approx 5x faster than USB It will mean lower track counts, but as the Eleven rack is a guitar processor, I'm sure Digi aren't marketing it as a multitrack audio interface.
    FTR: I went and had a listen to the Eleven and I wasn't all that impressed to be honest, the new Logic amp designer and pedals are far more realistic.

  • M-Audio MIDI USB Interface

    have a Yamaha P60 piano connected to an iMac with an M-Audio USB interface. it works initially but Garageband hangs (the color spinner) after i press the record button to stop recording. it never comes back - have to Force Quit.
    any thoughts?

    first things to try for "oddball" probs:
    http://www.bulletsandbones.com/GB/GBFAQ.html#oddballprobs

Maybe you are looking for

  • [GTK+/Libwnck:] signals not being sent on second popup [SOLVED]

    I'm having trouble getting the "viewports-changed", "window-opened", and "window-closed" signals getting sent to the functions in Diff between the last implementation of the first patched version w/dbus and the reimplementation of dbus: http://pasteb

  • TreeTable selectedRowKeys not working in Jdev 11.1.1.4

    Hi, We have a treetable which we create using bindings (underlying objects are POJOs and not BC) We used to add a row to the treetable and then select the first node. This code used to work "as is in Jdev 11.1.1.3" Now when we test the same code usin

  • Select *, rowid into var1, var2 from...

    Hello, as mentioned in the subject, I want to do the following in plsql: var1 table%rowtype; var2 rowid; select *, rowid into var1, var2 from table where ...; So this is not possible yet, what else can I do instead as I ... 1. don't want to split one

  • User keeps loosing settings on her iPad

    Hi Guys, I have a user that regularly says she has lost her settings on her iPad, its as if she has removed the profile which does require authorisation. We push these through our Mac OSX 10.9 Server , so its simple enough to re apply. She swears she

  • I need some serious help...

    Okay, so, I was playing RuneScape earlier today, for you who don't know, it's a browser game, and I started lagging, really bad. All of a sudden, my computer went to the blue screen, and it told me just to restart my laptop. So I did, and when it sta