Analog voltage to USB

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Analog voltage to USB

153 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by cjk2 on Mon Jun 06 17:45:02 MST 2011
Would it be possible to use an LPC1342 (or any other micro in this family) to read an analog voltage and send it via USB to a PC?

Ideally the computer would see a virtual com port and could send a byte to request an ADC sample. The LPC would then sample on a given channel and send two bytes back to the computer that represent what the ADC saw.

I have programmed for AVR before but never LPC. How complicated is the driver stack needed to make this work? It there a standard virtual com driver I can use?

Thanks for any help.
0 Kudos
1 Reply

146 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Ex-Zero on Tue Jun 07 02:11:42 MST 2011
There a even samples for usbcdc and adc in example folder, why shouldn't it be possible ?
0 Kudos