This is the documentation page for the SPI_PiPower and I2C_PiPower boards.
- 1 Overview
- 2 Use cases
- 3 Assembly instructions
- 4 External resources
- 5 Additional software
- 6 Pinout
- 7 jumper settings
- 8 Protocol
- 9 The software
- 10 Default operation
- 11 Future hardware enhancements
- 12 Future software enhancements
- 13 Changelog
This board enables you to switch upto 4 separete 12V 1A loads, and switch the 5V power rail to the GPIO header of the Paspberry Pi.
Pipower powered from USB, powers RPi on command
Pipower powered from RPi. Switches 12V appliances on command
Pipower powered from 12V on screw connector. Switches a 12V load on command (DCDC converter powering PI)
Pipower powered from 5V on screw connector
None: the board comes fully assembled.
The only LED is a power indicator.
See solder jumpers on how to change the solder jumper.
By changing the solder jumper SJ1, you can make the connector SPI1 into an ICSP programming connector for the attiny44 on the board.
JP1: Power source selection
1-2: RPi powered
2-3: USB or X1 powered
JP2: Vin selection
1-2: X1 powered, Vin = 5V
2-3: X1 powered, Vin > 5V
N-C: USB or RPi powered
For the intro to the SPI and I2C protocols read: SPI versus I2C protocols
The board specific protocol can be found here: PiPower_protocol
You should also read the General_SPI_protocol notes.
For arduino, a sample PDE is available, called ardemo_lcd.pde, also at BitWizard software download directory .
This is a demo to send things using SPI to the lcd board. The SPI routines there are applicable for the PiPower board as well.
Future hardware enhancements
Future software enhancements
- Initial public release