User Tools

Site Tools


2011:arduino_usb_host_shield_20110822

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
2011:arduino_usb_host_shield_20110822 [2011/08/22 19:33] tomgee2011:arduino_usb_host_shield_20110822 [2012/02/04 13:55] (current) tomgee
Line 35: Line 35:
  
 Here is a part of MAX3421e_constants.c:\\ Here is a part of MAX3421e_constants.c:\\
 +
 if defined(AVR_ATmega1280) || (AVR_ATmega2560)\\ if defined(AVR_ATmega1280) || (AVR_ATmega2560)\\
- 
 #define SCKPIN 52 \\ #define SCKPIN 52 \\
 #define MISOPIN 50 \\ #define MISOPIN 50 \\
Line 43: Line 43:
 endif  endif 
  
-if defined(AVR_ATmega168) || defined(AVR_ATmega328P) +if defined(AVR_ATmega168) || defined(AVR_ATmega328P)\\
 #define SCKPIN 13 \\ #define SCKPIN 13 \\
 #define MISOPIN 12 \\ #define MISOPIN 12 \\
Line 51: Line 50:
 endif \\ endif \\
  
-define MAX_SS 53 define MAX_INT 9 define MAX_GPX 8 define MAX_RESET 7+define MAX_SS 53 \\ 
 +define MAX_INT 9 \\ 
 +efine MAX_GPX 8 \\ 
 +define MAX_RESET 7\\
  
 Arduinology | June 25, 2011 at 1:39 AMComment Rating1 Arduinology | June 25, 2011 at 1:39 AMComment Rating1
Line 135: Line 137:
 bye, zacharias bye, zacharias
  
 +
 +=========================================================
 +My Sparkfun comments:
 +
 +I can confirm that the Sparkfun Ethernet shield works with the USB Host Shield. 
 +To make mine work with Oleg's legacy code: 1. Cut USB Host Shield PCB trace 
 +going to IO pin 10. 2. Wire the PCB trace to pin 6. (this is the trace that used 
 +to be hooked to pin 10). 3. Change #define MAXSS 10 to #define MAXSS 6 in 
 +Max3421econstants.h 4. Supply a hefty source of 9 volts to the Ethernet shield. 
 +Running from the USB power is not enough!!! 5. Run boardtest.pde. Monitor using 
 +the serial monitor with monitor speed set to 115200 baud (the drop down menu in 
 +the lower right corner).
 +
 +The Sparkfun Arduino ethernet regulator is almost too hot to touch. Using an IR 
 +thermometer I measured 150 F on the regulator and 180 F on the reverse 
 +protection diode D1 feeding it.
 +
 +===========================================================
 +Comments from stan001 on Sparkfun:
 +
 +I got V2.0 libraries to work with this Sparkfun USB Host Shield.
 +
 +I compared this board schematic to the Circuit@Home V2 board and found the differences.
 +
 +The Sparkfun board, MAX3421E RESET pin is wired to pin D7 whereas the 
 +Circuit@Home V2 board is wired to the Arduino RST or Atmel328 Pin 1.
 +
 +I just jumper the D7 to RST on the female header and it "kinda" works...
 +
 +Run the board_qc of Version 2.0 libraries and all the test is passed except the 
 +100 resets is a bit delay with the message below : \\
 +
 +Circuits At Home 2011 USB 
 +Host Shield Quality Control Routine\\ Reading REVISION register...\\ Die revision 03\\ 
 +SPI long test. \\ Transfers 1MB of data. Each dot is 64K\\ ................ \\ SPI long 
 +test passed\\ [snip]\\ Resetting oscillator \\ Reset number 0 Time to stabilize - 687\\
 +
 +
 +-------------
 +stan001 | October 12, 2011 at 10:46 AMComment Rating1
 +
 +It will work and I can confirm it..
 +
 +Just solder a wire from digital pin7 to reset pin (next to the 3.3V pin) at the bottom of the Sparkfun shield.
 +
 +No software changes necessary on V2.0 library..
2011/arduino_usb_host_shield_20110822.1314056026.txt.gz · Last modified: 2011/08/22 19:33 by tomgee