Pages: [1]   Go Down
Author Topic: Arduino Mega ADK USB Port  (Read 3675 times)
0 Members and 1 Guest are viewing this topic.
Cwmbran, UK
Offline Offline
Newbie
*
Karma: 0
Posts: 31
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi guys,

Sorry if this is a stupid question. Im very new to the Arduino - so far all Ive really done is download a few of the test programs and marvel at the flashing LED. Historically I am a fully trained C programmer but haven't done any for 10 years.

I want to do some testing based on http://www.circuitsathome.com/canon-eos-cameras-principles-of-interfacing-and-library-description but I'm unsure if I need to buy a separate USB Host shield, and for that matter how to convert the code on that page to work with the built in one, if that is what it is.

Is the USB port on the Arduino Mega ADK equivalent to having a USB Host shield connected to the board?

Thanking you in anticipation,

Chris.
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 12
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

The USB-host port on the Mega ADK won't work with the version 2.0 library from circuits@home.
Hence the version 2.0 of the PTPcamera-libswon't work either because they rely upon them.

You can use version one of the USB-host-lib on the mega ADK but even this one suffers sometime
from the dreaded "Failed to assert..."-error and might need fixing.
Just do a search on the forum to know what I mean...



Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 22
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi, i know this is a reply to an old post, but hopefully it will help others if they stumble upon it as i did

you can use the library with the built in usb slot on the mega adk.

you need to change a few lines in the usb.h and usbhost.h files

the files and infomation that i followed to make it work are here

https://github.com/felis/USB_Host_Shield_2.0/pull/3
Logged

Pages: [1]   Go Up
Jump to: