Bus Pirate Edu Kit Exercise no.12

From DP

Revision as of 10:05, 17 April 2013 by Arakis (Talk | contribs)
Jump to: navigation , search

BP EK E12 overview2.jpg

Contents

Overview

The Circuit

BP EK E12 schematic2.jpgBP EK E12 circuit3.jpg

Breadboard legend

IC Location Breadboard wiring legend
IC PIN1 (+) PIN2 (-)
74HCT595 E8 E9
Potentiometer J22 J23
Signal name Contact1 Contact2
5V BP_5V BB_+_left
5V BB_+_left BB_+_right
5V BB_+_left LCD pin2
5V BB_+_right J8
5V BB_+_right J14
5V BB_+_right G22
GND BP_GND BB_-_left
GND BB_-_left BB_-_right
GND BB_-_left A15
GND BB_-_left LCD pin1
GND BB_-_right J11
GND BB_-_right G24
Data Input BP_MOSI I10
Data Clock BP_CLK I13
~CS BP_CS I12
Contrast G23 LCD pin3
RS C8 LCD pin4
RW C9 LCD pin5
EN C10 LCD pin6
D4 C11 LCD pin11
D5 C12 LCD pin12
D6 C13 LCD pin13
D7 C14 LCD pin14
  • The (+) and (-) next to PIN1 and PIN2 are intended for devices such as LEDs, where PIN1 should be the anode and connected to a higher potential then PIN2.

Bus Pirate Terminal


HiZ>m<<<the menu command
1. HiZ
2. 1-WIRE
3. UART
4. I2C
5. SPI
6. 2WIRE
7. 3WIRE
8. LCD
x. exit(without change)

(1)>8<<<select the LCD mode
This mode requires an adapter
Ready
LCD>W<<<turn on the power supplies
POWER SUPPLIES ON



LCD>(2)<<<send the LCD initialization macro
RESET
Display lines:
1. 1
2. Multiple

(2)>2<<<select multiple lines
INIT



LCD>"Bus Pirate"<<<write "Bus Pirate" in the first line
WRITE: "Bus Pirate"



LCD>(4)0x40<<<move the cursor to the beginning of the next line
CURSOR SET



LCD>"Edu Kit"<<<write "Edu Kit" in the next line
WRITE: "Edu Kit"



LCD>m<<<the menu command
1. HiZ
2. 1-WIRE
3. UART
4. I2C
5. SPI
6. 2WIRE
7. 3WIRE
8. LCD
x. exit(without change)

(1)>1<<<select the HiZ mode
Ready
HiZ>

Not Working?

Taking it further