Difference between revisions of "Equipment/Bus Pirate"

From London Hackspace Wiki
Jump to navigation Jump to search
Line 1: Line 1:
 +
== Bus Pirate ==
 +
 +
=== Description ===
 +
 
The Bus Pirate is a low-level interface to:
 
The Bus Pirate is a low-level interface to:
  
Line 14: Line 18:
 
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.
 
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:
+
=== Reference ===
 +
 
 
* [http://dangerousprototypes.com/category/bus-pirate/ Bus Pirate]
 
* [http://dangerousprototypes.com/category/bus-pirate/ Bus Pirate]
 
* [http://dangerousprototypes.com/bus-pirate-manual/ Bus Pirate manual]
 
* [http://dangerousprototypes.com/bus-pirate-manual/ Bus Pirate manual]
 
* [http://code.google.com/p/the-bus-pirate/ Latest firmware] & [http://code.google.com/p/the-bus-pirate/wiki/TOC documentation]
 
* [http://code.google.com/p/the-bus-pirate/ Latest firmware] & [http://code.google.com/p/the-bus-pirate/wiki/TOC documentation]
  
Our connector:
+
=== Our connector ===
  
 
  brown - GND
 
  brown - GND
Line 32: Line 37:
 
  black - MISO
 
  black - MISO
  
AVRDude bus pirate mappings:
+
=== AVRDude bus pirate mappings ===
  
 
  + * BusPirate      AVR Chip  
 
  + * BusPirate      AVR Chip  
Line 42: Line 47:
 
  + *      MISO  <->  MISO
 
  + *      MISO  <->  MISO
 
  + *  SCL/CLK  <->  SCK
 
  + *  SCL/CLK  <->  SCK
 +
 +
== Real life example ==
 +
 +
As it happened at the LHS, the bus pirate interacting with a Hitachi HM55B compass module:
 +
 +
[[Projects/HM55B]]

Revision as of 15:29, 25 October 2010

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

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:

Projects/HM55B