Analog voltage to USB

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 15, 2016 by lpcware
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.