Element14 DIY Pi Desktop User Manual page 16

Kit
Hide thumbs Also See for DIY Pi Desktop:
Table of Contents

Advertisement

Hardware
The hardware architecture used by the PiDesktop to perform safe power control is
shown below:
A low power MCU on the PiDesktop add-on board is used to control the power supply
and monitor the state of Raspberry Pi board. Two pins (Pin1, Pin2) are used to
communicate between these two boards. Information sent on Pin1 is used to inform the
Raspberry Pi board to prepare for shutdown. The PiDesktop MCU utilizes Pin2 to
continually monitor the run state of the Raspberry Pi board. For added robustness,
close-cycle control has been implemented. This allows the PiDesktop power switch to be
utilized to perform safe and reliable startup and shutdown procedures.
Action
Startup
Switch off
Force switch off
Software
The PiDesktop add-on board MCU works with the Raspberry Pi board through Pin1 and
Pin2. Below are the details of the FSM (finite state machine).
PiDesktop Add-On Board MCU
When USB power is supplied to the PiDesktop add-on board, the MCU will run in
an Initialize state. The MCU will turn OFF (LED off) when the Raspberry Pi board is
shutdown (power removed).
When the PiDesktop is turned on (power button action is initially detected), the add-on
board will open the power to the Raspberry Pi and go into a Waiting ON state.
In the Waiting ON state the MCU will continually read the level of the Raspberry Pi
board Pin2.
V4.0
Element14 | element14.com/PiDesktop
Button Time
at least 150ms
2 seconds
5 seconds
16

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the DIY Pi Desktop and is the answer not in the manual?

Questions and answers

Table of Contents