I have attached the Interrupt pin on the host shield to the Mega pin D9, and have done the test both with the reset pin attached to the Mega reset pin, and to Vcc, with similar results. I need the board to eventually host a USB scanner which takes a fair amount of current. I have used the 3.3V / GND to power the board (markings would indicate it runs on 3.3V, however I understand that the MAX3421 chip works on both 3.3 and 5V. I have used pinout 1 which matches the board I have. Pinout diagram one matches exactly the board I have, and pinout 2 I think is for the 'original'. I have found 2 pinout diagrams for the board, which I have attached. The mini USB host shield (ILS - Mini USB Host Shield 2.0 For Arduino ADK SLR Development Tool ) is from amazon: The sketch I used is under examples/USB host Library and is called "board_qc", which I am running out of the box. The library I used (USB Host Library 2.0) is located at GitHub - felis/USB_Host_Shield_2.0: Revision 2.0 of USB Host Library for Arduino. Here's some more information on the setup, and the issue at hand. Has anyone has managed to make this combination work? If so I'd love some guidance for those who asked me, the version with the pin number (not 1:1) and the Pinout of ATMega2560. I also tried the Hid examples with the same result so concluded that I'm doing something basically wrong here. as promised, after the version of arduino uno, here is the diagram of Mega: NEW Version 2.0. I have tried various recommendations for the interrupt pin, reset pin etc I have currently connected the boards using:Ītmega pin 50 (miso), pin 51 (mosi), pin 52 (sclk), and pin 53 (SS), and the power pin of course. Having read many posts I am currently no further (the hair pulling stage!) I then (just for interest) tried the CircuitsAtHome qc sketch and got the following message: The message coming back from the serial port is 'OSC not started'. I have connected a DuinoFun Mini USB host shield to my Elegoo ATmega 2560, running some basic example code from Oleg's USB Host 2.0 library. As a newbie I'm sure this is basic, but I've been at this a couple of days without success.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |