Raspberry Pi power circuit


The Pi project’s power system is based on the Arduino Watchdog timer with RTC module. The ATMega 328p with Uno bootloader is used to check the time from the RTC module, If the returned time matches the defined times in the Arduino code, the raspberry Pi is activated via the relay, else sleep for another 8s

Raspberry Pi power circuit


1x Raspberry Pi – model B

1x ATMega328p with Uno Bootloader

1x 16MHz Crystal Oscillator (comes with ATMegga328p)

1x 100 µf Capacitor

1x RTC Module

1x Photocoupler – PS2501

1x 5v, 1A read relay

6x AA battery

some hookup wires


  1. The ATMega328p is powered by 3 sets of 2 parallel AA batteries connected in series, producing 4.5V.
  1. chip comes with a 16Mhz oscillator, which is connected across pins x1 and x2. Power is supplied via pins Vcc and GND.
  2. Pin A5 is connected to SCL of the RTC, pin A4 is connected to Pin SDA of the RTC
  3. Pin D8 of the Arduino is connected to one side of the LED in the photocoupler, the other side of the LED is connected to GND of the Arduino via a 50 Ohm resistor. on the other side of the Photocoupler, one side of the transistor is connected to the power supply for the Raspi, the other side is connected to one side of coil of reed relay, the other side of the coil is connected to negative of Raspi power supply.

Raspberry Pi power circuit schematicone side of the reed switch s connected to the Raspi power supply, the other side will be connect to the voltage regulator for the raspi.

the battery connection for the Arduino is bridged by a 100uf capacitor. a 100 ohm resisitor is bridging relay connection from the photo isolator to the negative for the Raspi

First test

the first run of the system used the power source from the Arduino Uno and a frequency generator to provide the necessary current.


For more detail: Raspberry Pi power circuit

Scroll to Top
Read previous post:
Raspberry Pi I2c Interfacing and Programming

I2C is a multi-device bus used to connect low-speed peripherals to computers and embedded systems. The Raspberry Pi supports this interface...