Difference between revisions of "Equipment/Bus Pirate"

From London Hackspace Wiki
Jump to navigation Jump to search
(Created page with 'brown - GND red - +3.3 orange - +5 yellow - ADC green - VPU blue - AUX purple - CLK grey - MOSI white - CS black - MISO')
 
m
(16 intermediate revisions by 8 users not shown)
Line 1: Line 1:
brown - GND
+
{{EquipmentInfobox
red - +3.3
+
| name = Bus pirate <!-- Name of the item. -->
orange - +5
+
| image = Hackspace_Unknown.png <!-- Image of the item. Leave with placeholder image if none exists. -->
yellow - ADC
+
| model = Unknown <!-- Model -->
green - VPU
+
| category = Equipment <!-- Main category. Please leave alone to keep item in this category -->
blue - AUX
+
| subcat = Test equipment <!-- Sub-category if one exists. Please check main listing to see other categories contained within the main one -->
purple - CLK
+
| status = Good working order <!-- Set to one of; Good working order, Faulty, Out of order, Under construction, Out of consumables, Scrapped, or Unknown -->
grey - MOSI
+
| consumables = Unknown <!-- Any items used up in normal operation, such as; ink, paper, saw-blades, cutting disks, oil, etc.. -->
white - CS
+
| accessories = Unknown <!-- Any items associated with the equipment but not consumable, such as; drill bits, safety gloves, goggles, etc.. -->
black - MISO
+
| reqtraining = <!-- Is training required to use this equipment? Yes or no. -->
 +
| trainlink = Unknown <!-- If training is required, provide a link to training signup or contact page. Otherwise leave blank. -->
 +
| acnode = <!-- Is the equipment ACnode locked? -->
 +
| owner = Unknown <!-- Provide a link to owners members page if other than LHS -->
 +
| origin = Unknown <!-- If via pledge, please link to the completed pledge page on the wiki -->
 +
| location = Ground floor, electronics bench<!-- Floor, room/zone and location within that area -->
 +
| maintainers = <!-- NO LINKS PLEASE; it currently breaks the template. If someone is nominated as managing the upkeep of this item, please list them here. -->
 +
| template_ver = 1.1 <!-- Please do not change. Used for tracking out-of-date templates -->
 +
}}
 +
 
 +
== 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 ===
 +
 
 +
* [http://dangerousprototypes.com/category/bus-pirate/ Bus Pirate]
 +
* [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]
 +
 
 +
=== 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:
 +
 
 +
[[Projects/HM55B]]
 +
 
 +
[[Category:Equipment]]
 +
[[Category:Electronics]]

Revision as of 15:49, 29 May 2013

Bus pirate
Hackspace Unknown.png
Model Unknown
Sub-category Test equipment
Status Good working order
Last updated 8 August 2022 12:12:30
Consumables Unknown
Accessories Unknown
Training link Unknown
Owner Unknown
Origin Unknown
Location Ground floor, electronics bench

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:

Projects/HM55B