Equipment/Bus Pirate: Difference between revisions
From London Hackspace Wiki
mNo edit summary |
mNo edit summary |
||
Line 71: | Line 71: | ||
[[Projects/HM55B]] | [[Projects/HM55B]] | ||
[[Category:Equipment | [[Category:Equipment]] | ||
[[Category:Electronics]] |
Revision as of 18:05, 28 May 2013
Bus Pirate
Description
The Bus Pirate is a low-level interface to:
- 1-Wire
- UART
- I2C
- SPI
- JTAG
- raw 2-wire
- raw 3-wire
- PC keyboard
- HD44780 LCDs
- MIDI
It includes an ADC and can bit bash these protocols at the wire level. It can also be put into UART bridge mode, acting as a simple serial port.
Reference
Our connector
brown - GND red - +3.3 orange - +5 yellow - ADC green - VPU blue - AUX purple - CLK grey - MOSI white - CS black - MISO
NB This order depends on attachment as connector is symmetrical and may be inverted.
Sparkfun Connectors
I have noticed that the sparkfun connector and buspirate uses the following mappings
black – gnd white – 3.3V grey – 5V purple – ADC blue – VExtern green – aux1 yellow – clk orange – MOSI red – CS brown – MISO
AVRDude bus pirate mappings
+ * BusPirate AVR Chip + * --------- -------- + * GND <-> GND + * +5V <-> Vcc + * CS <-> RESET + * MOSI <-> MOSI + * MISO <-> MISO + * SCL/CLK <-> SCK
Real life example
As it happened at the LHS, the bus pirate interacting with a Hitachi HM55B compass module: