Skip navigation
TechXchange
Digi-Key TechXchange Communities > Projects and Designs > Discussions
2609 Views 6 Replies Latest reply: Apr 27, 2013 2:08 AM by Nesikep RSS
Currently Being Moderated

Mar 30, 2013 12:12 AM

Analog input/Digital output for computers

Hello, I'm looking for some way I can get an analog input into laptop/desktop computer.. Most common use will be for temperature control, but I'd like to be able to do other things as well... I'm an intermediate VB programmer, and would need to be able to access the data from the device via VB, and for output, I can always use the parallel port for several digital inputs and outputs if I had to... I'd just need to build a breakout box with some higher power transistors and relays.

 

I'm sure something like what I need is out there (even USB powered is fine), I just don't know where to look...   I was lookign in the digikey catalog about some ADC controllers with the evaluation boards (One was a 12 channel  12bit via serial, can't remember the number though) but don't have the tools I would need to access it via a PC

 

Any suggestions?

  • catman88 Novice 1 posts since
    Apr 21, 2013
    Currently Being Moderated
    Apr 21, 2013 3:53 PM (in response to Nesikep)
    Analog input/Digital output for computers

    Nesikep,

         Just joined this forum today, saw your post witn no reply so if you still need help this may be it.  I would use a microcontroller called the VINCO. It is produced by ftdichip.com and sold by them and Digi-key. This device is a generic microprocessor similiar to the Arduino but I like it because of the drivers provided by ftdi. You can have it send the results to your laptop  via a usb connection and it will appear in your VB program as a Com Port.  This makes interfacing simple.  The vinco board has a very powerful cpu with many input / output options including analog to digital sampling, pulsewidth modulated outputs and almost any combination of digital I/O that you would ever need.  It also supports a series of what they call "Shields" which are plug in hardware adapters that add functions such as motor drivers, network interfacing, lcd displays and others. Most arduino shields could be used but you may need to do a bit more code writing.  If you have not yet figured it out the arduino is also a microcontroller pc board and you can find out about this at sparkfun.com. I have used both but find the vinco to interface with VB easier.  The arduino however is more widely used and much forum support is available.

    Just somewhere to start, Good Luck!

     

    Catman88

  • Spider99 Novice 7 posts since
    Feb 24, 2012
    Currently Being Moderated
    Apr 23, 2013 2:49 PM (in response to Nesikep)
    Analog input/Digital output for computers

    Nesikep,

    Since you know VB you would easily be able to use one of the Stamp development boards from Parallax.com. There is tons of help for what you want to do on their pages, even sample code!

    Go to

    http://www.parallax.com.

    Good luck

    Dave

     

    

  • MicrochipRTCfr Novice 40 posts since
    Sep 4, 2012
    Currently Being Moderated
    Apr 24, 2013 3:11 PM (in response to Nesikep)
    Analog input/Digital output for computers

    Hi,

     

    The company HEXWAX is selling tiny chips which connect to the PC using USB and offer a large variety of functionalities.

    Their KEY advantage is that these chips are DRIVER FREE ;=) as they use HID USB class.

     

    Additionally Hewwax offers the software libraries to write on host side the application which connects to DLL API.

     

    Regards

  • basreflex Novice 3 posts since
    Aug 30, 2012
    Currently Being Moderated
    Apr 26, 2013 1:43 PM (in response to Nesikep)
    Analog input/Digital output for computers

    buy a multimeter with isolated USB interface , that's what I do as I am too analog to do programming.

    for example the

    72-7732 - TENMA

     

    does the job really well. you can only hook up one meter per PC..

  • Instruments-SouthAfrica Novice 1 posts since
    Apr 26, 2013
    Currently Being Moderated
    Apr 26, 2013 11:35 PM (in response to Nesikep)
    Analog input/Digital output for computers

    Hello,

    We had a similar requirement for measuring strain gauge transducers and controlling machines. We build a machine control interface, with:

    16-bit millivolt level data acquisition unit with Analog Devices AD7795 - can have three channels, more with circuit modification.

    Pulse-counting input from Opto or Prox, PNP or NPN.

    USB interface: Silicon Labs CP2102;

    0-10 volt DC output;

    Four relays with 5A contacts;

     

    We supply application programs written in VB6, or, better, we encourage the customer to write his own.

    The measured value is available as a string, "00000" to "65535" inputted to VB6 via Silicon Labs Driver, and VB6 MScomm.

    The pulse count is available in the same way.

    Measuring rate is slow, about 5 readings per second.

    The relays are switched on and off by outputting a number via the MSComm.

    The 0-10 volt value can be varied by outputting a number via the MSComm.

     

    The USB, Analog input and 0-10 volt output are all isolated from each other.

    The unit is supplied as an open circuit board.

    Its power supply is 220 volt or 110 volt AC mains

     

    This is a commercial item, which started as an RS232 interface, then evolved to the USB version because of changes to PCs and operating systems.

    We sell it for about 300 USD ex works.

    If you are interested, let me know, and I will send you more information.

    Have a happy day,

    Louis Eder

    instruments@mweb.co.za

More Like This

  • Retrieving data ...

Bookmarked By (0)

Legend

  • Correct Answers - 4 points
  • Helpful Answers - 3 points