Arduino Without FTDI chip using V-USB (Virtual USB)

IF you are only looking for serial output of quasi-character strings, this sample code may help. The String object takes some RAM and code space, but makes it very easy to "print" to any HID application under Windows, Linux, iOS.... I have tried Excel and Notepad for data capture. It is the most flexible method that I have found to get "stuff" out of the V-USB Arduino environment.

http://arduino.cc/forum/index.php/topic,135623.0.html

Compiled and tested with Arduino 1.0.1

Sample of polling each analog input every 5 seconds:
(I walked the analog inputs with a 10K resistor to ground.)

ANALOG0 0
ANALOG1 120
ANALOG2 220
ANALOG3 265
ANALOG4 294
ANALOG5 294

ANALOG0 296
ANALOG1 0
ANALOG2 109
ANALOG3 213
ANALOG4 268
ANALOG5 282

ANALOG0 313
ANALOG1 315
ANALOG2 0
ANALOG3 120
ANALOG4 217
ANALOG5 261

ANALOG0 312
ANALOG1 332
ANALOG2 313
ANALOG3 0
ANALOG4 128
ANALOG5 216

ANALOG0 290
ANALOG1 322
ANALOG2 320
ANALOG3 312
ANALOG4 0
ANALOG5 120

ANALOG0 120
ANALOG1 234
ANALOG2 272
ANALOG3 297
ANALOG4 282
ANALOG5 0

  • Ray