Bus Pirate Demo Board v5 design overview
From DP
[Available for $xx.xx at Seeed Studio].
Prototype PCBs are available in the free PCB drawer.
Bus Pirate Demo Board v5 is a multiple protocol, multiple IC emulator. To test out major functions of the Bus Pirate we programmed one microcontroller to emulate various different devices you could connect to the Bus Pirate. By selecting different combinations of jumpers you are in fact changing the function and the interface protocol of the board. It can emulate the following functions:
- PWM generator
- ADC converter
- DAC converter
- SRAM memory
Communicating with the Bus pirate over the following protocols:
- SPI
- I2C
- UART
- TBD (to be decided)
Contents |
Overview
History and related links
Hardware
Click for a full size schematic image. Schematic and PCB were designed with the freeware version of Cadsoft Eagle, download the latest project files from our Google Code project page.
PIC16F1829
The Demo Board v5 uses a small 8bit PIC16F1829 microcontroller (U1) that is powered directly from the Bus Pirate IO header. The power pin (VDD) is decoupled with a 0.1uF capacitor (C1).
The ICSP programing connection is brought to a header for easy development. The MCLR (RESET) programming pin is connected to the power supply through a diode (D1) and 10K pull-up resistor (R1). The diode stops the 9volt supply using during programming from damaging the rest of the circuit.
Two LEDs (LED1 and LED2) are connected to pins 5 and 7 of the microcontroller through current limiting 1k resistors (R1 and R2).
Also added on the MCLR programing pin is the current limiting resistor R3 and voltage limiting 9V zener diode (D2), making it compatible with programmers that can only supply 13V programming voltage. To enable this mode you simply need to cut away the trace below R3 and populate both R3 and D2. If you don't need this just leave the trace connected, and don't populate the relevant components.
Protocol Jumper
Device Jumper
ADC input header
Bus Pirate header
PCB
We used the freeware version of Cadsoft Eagle to make the schematic and PCB. Download the latest designs and firmware from the project Google Code page.
- PCB and placement notes
- soldering advise
Partslist
Click for a full size placement image.
| Part | Quantity | Value | Package |
|---|---|---|---|
| ADC_IN | 1 | M1X3 | |
| BP | 1 | HDR-BUSPIRATE | |
| C1,C4 | 2 | 0.1uF | C603 |
| C2,C3 | 2 | 1uF | C603 |
| D1 | 1 | DO323 | |
| D2 | 1 | SOD-323F | |
| DEVICE,PROTOCOL | 2 | 2X02 | |
| IC1 | 1 | LMV321-SOT-23-5 | SOT-23-5 |
| ICSP | 1 | HEADER_PRG_PIC_ICSPB | HEADER_PRG_1X05_ICSP_B |
| LED1,LED2 | 2 | LED | LED-805 |
| R1,R2,R3 | 3 | 1k | R603 |
| RN1,RN2 | 2 | 10k | RN8P-4R-CRA06S |
| U1 | 1 | PIC16F1829SS | SSOP20 |
Firmware
The firmware is written in C and compiled with the free HI-TECH C compiler for PIC10/12/16 MCUs. You can download the latest files from our Google Code project page.
- Operating modes
- extra software required
Taking it further
Here's some ideas for the future:
- List
We'll post the most recent firmware updates on our blog. You can also join the discussion in the [forum].
Get one!
You can [get one for $00], including worldwide shipping.
Your purchases at Seeed Studio keep the open source project coming, we sincerely appreciate your support!
