Arduino clone dev project - Experienced SOFTWARE engineer

6 views
Skip to first unread message

lcdking

unread,
Sep 15, 2011, 11:30:59 AM9/15/11
to Micropendous
I Want a consultant with software experience on using the arduino
emulation of this board to connect to arduino through MY USB to serial
adapter integrated in my design of a smart LCD: store.earthlcd.com/
ezlcd-301
Randy

Opendous Support

unread,
Sep 16, 2011, 6:26:23 PM9/16/11
to Micropendous
So you want to use an AT90USB1287 or AT90USB647 to Host your USB
Serial LCD Device?

Right now the LUFAduino example combines FreeRTOS, some Arduino
libraries, and the LUFA VirtualSerial Device demo. What you will need
to do is replace the LUFA VirtualSerial Device demo with the LUFA
VirtualSerial Host demo. Arduino code such as Serial.write() would
then send/receive to your LCD over the USB interface.

I will add to my TODO list a need to create tutorials for 1)
combining LUFA+FreeRTOS and 2) combining LUFA/FreeRTOS+Arduino.

If you are in a hurry take a look at the Micropendous Arduino "core"
code:
http://code.google.com/p/micropendous/source/browse/trunk/Micropendous/libs/arduino/cores/micropendous/main.cxx

The main.cxx above is basically just the USBVirtualSerial_FreeRTOS
demo with its code moved around for compatibility with the Arduino
code:
http://code.google.com/p/micropendous/source/browse/trunk/Micropendous/Firmware/USBVirtualSerial_FreeRTOS/USBVirtualSerial_FreeRTOS.c

What you would basically need to do is replace it with LUFA's
VirtualSerialHost demo:
http://code.google.com/p/lufa-lib/source/browse/trunk/Demos/Host/LowLevel/VirtualSerialHost/
Reply all
Reply to author
Forward
0 new messages