PiPower

From BitWizard Wiki
Revision as of 13:53, 11 July 2012 by Tom (talk | contribs) (Created page with "thumb|300px|alt=The PiPower board|The PiPower board (depicted: the SPI version) This is the documentation page for the SPI_PiPower and I2C_PiPower bo...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
File:SPI PiPower.jpg
The PiPower board (depicted: the SPI version)

This is the documentation page for the SPI_PiPower and I2C_PiPower boards.

Overview

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.

Use cases

Pipower powered from USB, powers RPi on command

Jumper settings:
JP1: 2-3
JP2: nc

Pipower powered from RPi. Switches 12V appliances on command

Jumper settings:
JP1: 1-2
JP2: nc

Pipower powered from 12V on screw connector. Switches a 12V load on command (DCDC converter powering PI)

Jumper settings:
JP1: 2-3
JP2: 1-2

Pipower powered from 5V on screw connector

Jumper settings:
JP1: 2-3
JP2: 2-3

Assembly instructions

None: the board comes fully assembled.

External resources

Datasheets

Additional software

Related projects

Pinout

For the SPI connector see: SPI_connector_pinout.
For the I2C connector see: I2C_connector_pinout.

X1

pin function
1 Vin
2 GND

X2

pin function
1 Anode
2 Cathode

X3

pin function
1 Anode
2 Cathode

X4

pin function
1 Vin1
2 GND
3 Out0
4 GND
5 Out1
6 GND

X5

pin function
1 Vin2
2 GND
3 Out2
4 GND
5 Out3
6 GND

LEDs

The only LED is a power indicator.

jumper settings

Solder Jumper

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.

Hardware Jumpers

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

Protocol

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.

The software

Default operation

Future hardware enhancements

Future software enhancements

Changelog

1.0

  • Initial public release