Bus Pirate BlinkM demo

From DP

Jump to: navigation , search

Overview

Incomplete demo of BlinkM.

Notes from this thread in the forum.

Useful commands

  • [0x00 "o"] stop the running script on all BlinkM
  • [0x12 "a" {0x13 r] read the address of BlinkM 0x09
  • [0x12 "g" {0x13 rrr] read the current color of BlinkM 0x09
  • [0x12 "n" 0xff 0x00 0x00] set BlinkM 0x09 to Red

Demo

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

(1)> 4
Set speed:
1. ~5KHz
2. ~50KHz
3. ~100KHz
4. ~400KHz

(1)>
Ready
I2C> W
Power supplies ON
I2C> P
Pull-up resistors ON
I2C> v
Pinstates:
1.(BR) 2.(RD) 3.(OR) 4.(YW) 5.(GN) 6.(BL) 7.(PU) 8.(GR) 9.(WT) 0.(Blk)
GND 3.3V 5.0V ADC VPU AUX SCL SDA - -
P P P I I I I I I I
GND 3.35V 5.00V 0.00V 3.27V L H H H H
I2C> h
1. h
2. v
3. P
4. W
5. m
6. [0 "n" 0xff 0 0]
7. h
8. m
9. [0 "n" 0xff 0 0]
10. h
11. [0 "n" 0xff 0 0]
12. h
13. [0 "n" 0xff 0 0]
14. hx. exit

(0)> 6
I2C START BIT
WRITE: 0x00 ACK
WRITE: "n ACK"
WRITE: 0xFF ACK
WRITE: 0x00 ACK
WRITE: 0x00 ACK
I2C STOP BIT
I2C> h
1. h
2. [0 "n" 0xff 0 0]
3. h
4. v
5. P
6. W
7. m
8. [0 "n" 0xff 0 0]
9. h
10. m
11. [0 "n" 0xff 0 0]
12. h
13. [0 "n" 0xff 0 0]
14. hx. exit

(0)> 2
I2C START BIT
WRITE: 0x00 ACK
WRITE: "n ACK"
WRITE: 0xFF ACK
WRITE: 0x00 ACK
WRITE: 0x00 ACK
I2C STOP BIT
I2C>