ユーザ用ツール

サイト用ツール


leonard_pirate_en

What is Leonard Pirate

Leonard Pirate (NOT Leonardo !!) is also Arduino Leonardo clone. You can connect this into USB port easily (no cables!!) and enjoy Arduino environment. :-)
Some Arduino ports (e.g. 3.3V, IOREF) was omitted.

I was inspired this from Bus Pirate. Bus Pirate is easy to control or hack SPI/I2C devices from CLI (Command Line Interface).
So, you can play with Bus Pirate clone, Bus Ninja!! (I'm Japanese.)
(Ian taught me Bus Ninja. This is not a syntax compatible, but it's also easy to use.)

I strongly recommend USB-A style. But, you can choose Micro-B with cable, when you build.
USB connector is EXCLUSIVE!! Do not load both A&B!!

USB-A connector:
6237845177_dc04ea8842_m.jpg
Micro-B connector:
6238366920_2e4861f537_m.jpg

Schematics

This schematic is RC version.

I refered Arduino's github master blanch. pins_arduino.h

BOM

Part.ValueNamePackageStoreAkizuki codePrice
C11uFC-USC0603KC0603K秋月P-029962
C222pFC-USC0603KC0603K千石 4
C322pFC-USC0603KC0603K千石 4
C40.1uFC-USC0603KC0603K秋月P-049400.5
C510uFC-USC3216C3216秋月P-0118512.5
C60.1uFC-USC0603KC0603K秋月P-049400.5
C70.1uFC-USC0603KC0603K秋月P-049400.5
IC1ATMEGA32U4-AUATMEGA32U4-AUTQFP44SSCI 480
LD13LEDCHIP-LED0805CHIP-LED0805秋月I-0397810
L1500mAPTCFUSE-1206R1206
L2TXLEDCHIPLED_0805CHIPLED_0805秋月I-0397810
L3RXLEDCHIPLED_0805CHIPLED_0805秋月I-0397810
PWRGREENLEDCHIP-LED0805CHIP-LED0805秋月I-0398010
R122R-US_R0603R0603千石 4
R222R-US_R0603R0603千石 4
R31KR-US_R0603R0603千石 4
R410KR-US_R0603R0603千石 4
R51KR-US_R0603R0603千石 4
R61KR-US_R0603R0603千石 4
R71KR-US_R0603R0603千石 4
R810KR-US_R0603R0603千石 4
S1 TAC_SWITCHSMDTACTILE_SWITCH_SMD秋月P-0300620
X1USBUSBMOLEX_480371000秋月C-0223650
X2USB-MICROBUSB-MICROBUSB-MICROB千石 200
X3FA238-16MHzXTAL-4-3225 秋月P-0245750


Most of parts could buy from Akizuki and Sengoku in Tokyo, Japan.
Fuse is difficult to buy in Japanese stores. I bought “NANOSMDC050F/13.2-2” of TE, from mouser.

How to build

I don't have any special advice for SMD soldering guys. :-D

I omitted XTAL's silk print, so please see the picture below. Pins are on opposite angle. So, you need to care only long or short sides of a rectangle.
Please refer this board layout.


How to flash

After soldering, please write bootloader to the 32U4.
You can burn with Arduino 1.0. Choose your Programmer, Arduino Leonardo for the boards. And just click “Burn Bootloader”. If you can't see “Arduino Leonardo” on your Arduino 1.0, please edit “boards.txt”.

Or, I ported “Bus Ninja” to this board. You can download hex file from here. And, customized “Bus Ninja” code is available on my github repository.
When you flash hex, here is the sample command.

avrdude -p atmega32u4 -c stk500v2 -P usb -F -U flash:w:ninja-leonard-pirate-atmega32u4.hex -U lfuse:w:0xCE:m -U hfuse:w:0xD8:m -U efuse:w:0xFF:m
leonard_pirate_en.txt · 最終更新: 2011/12/11 14:47 by ytsuboi