XOrduino
Assembly notes
See C. Scott's notes below.
For folks assembling A1 boards, the PDF links on http://cananian.livejournal.com/tag/xorduino are useful.
Programming
With just the chip mounted, the following command should work as a smoke test:
avrdude -c usbtiny -patmega32u4 -U flash:r:test.hex
(Do this as root if you must, then see XO Stick for how to fix this.)
Once the crystal, 18pF capacitors, and USB components are mounted, install the arduino bootloader by:
- opening the arduino IDE
- selecting "USBtinyISP" under Tools > Programmer
- selecting "Arduino Leonardo" under Tools > Board
- selecting Tools > Burn Bootloader (this takes a while. watch the status line in the arduino IDE)
C. Scott's notes
Notes on XOrduino v4 boards:
- avoid tab on usb connector, move to body - N/C jumpers turned out N/O (scratch sensor board)
.- merge 5V and +5V nets
- C5/C7 too close together (and too close to C9) & need polarity marks - C11/C13 needs polarity mark (or to be unpolarized) - flip RN3? - audio jack footprints are wrong. and drill holes overlap for top&bottom - just use tip and sleeve(gnd) on audio jack (leave ring(s) disconnected) use 1/8" instead of 3/32"? digikey CP1-3523N-ND $0.39480 qty 100 (stereo, no switch) - right angle pot is right but don't need strain relief holes, need knob (shorter handle?)
.- mini USB jack silkscreen on wrong side .- mini USB just a tiny bit too close to pcb plug
- mounting hole clearances too small: - add front nose skid (near where audio jack currently sits?) - potentiometer footprint - add light sensors and/or bumper switches somehow light sensors pointed at the wheels? - add labels to new arduino 1.0 pins (SCL/SDA above AREF) - add breakoff tabs to thicken USB plug (by reset pin, two deep) - solder spot under AVR is unnecessary - male header strip should be female for arduino headers 1x S7004-ND (6 pin) 2x S4008-ND (non-stock) or S7006-ND (8 pin) 1x S7043-ND (10 pin) or S7008-ND (should be cheaper, but isn't) - ISP header needs pin 1 indication, label. - Yellow LEDs don't have a flat side! - add LED polarity silkscreen - remove solder mask on solder jumper center - replace 2x7 shorting header w/ 1x7 signal header and array of shorting jumpers
NOTE THAT ATmega32u4 should be placed upside down. (rotate it?)
TESTED: xorduino can be programmed w/ nothing mounted but the chip and the ISP header.
Distribution
1. cjb 2. cscott (cannibalized) 4. Quozl 5. Mike Lee 6. Pippin Wallace 7. Pippin Wallace 8. Sridhar Dhanapalan 9. Tony Forster 10. Javier Andres Galaz Jeria 11. Alan Jhonn Aguiar Schwyn 12. Stephen Thomas 13. Ricardo Moran 14. George Hunt 15. Juan Cubillo
Sources
http://github.com/cscott/xorduino -- look at the "A1" tag for the schematics for the A1 boards. Latest XOrduino is at HEAD, targetted for the B1 build.
See also
Links
http://arduino.cc/en/Tutorial/ArduinoISP programming the bootloader with another Arduino https://www.sparkfun.com/products/9825 pocket programmer https://github.com/cscott/xorduino circuit board artwork, etc current revision https://github.com/cscott/xorduino/tree/A1 circuit board etc A1 revision https://github.com/cscott/xorduino/blob/A1/XOrduino-sch.pdf?raw=true schematic A1 https://github.com/cscott/xorduino/blob/A1/XOrduino-brd.pdf?raw=true circuit board A1 https://groups.google.com/forum/?hl=en&fromgroups#!forum/xorduino Google interest group http://cananian.livejournal.com/66129.html and http://cananian.livejournal.com/66654.html blog http://www.sparkfun.com/tutorials/106 a soldering tutorial http://www.atmel.com/devices/atmega32u4.aspx?tab=documents Documentation ATmega32U4