Delivery to USA & AUSTRALIA is temporarily unavailable due to COVID-19. For EU countries, please send me a message before ordering! Thanks!Designed by PicoTouchStore in Croatia
Raspberry Pi Automatic ON/OFF V2.1 Automatic turn ON and turn OFF (safe shutdown) Raspberry Pi with ignition key. NEWS in 2.1 version: On the HARDWARE side: 1. On the 12V constant power supply line...Read More…
Automatic turn ON and turn OFF (safe shutdown) Raspberry Pi with ignition key.
NEWS in 2.1 version:
On the HARDWARE side:
1. On the 12V constant power supply line use RBO08;
2. On the ACC line use opto-coupler and TVS diode
3. For 5V power (module internal power) use LM2931 (Designed originally for automotive applications);
4. Double USB A output connector (5V)
On the SOFTWARE side:
allow user to programming custom time values via USB/TTL serial adapter:
There are some things that we need to solve if we want to use a Raspberry Pi in a car, boat, or something similar.
First is a power supply. In a car we have 12V and we need 5V. Second is to power ON and properly power OFF (to avoid corruption problems with the SD card).
There are some solutions on internet but I didn't find anything which included all my requirements.
This module allows:
The module can be attached to the bottom of the Raspberry Pi, so the top side is free for another purpose.
*For connection power supply to Raspberry Pi use USB_A to micro_USB cable (male/male).
*For connection +3.3V and GPIO21 pins use jumper wires (2.54mm, female/female).
How it works:
INSTALLING PYTHON SCRIPT FOR SHUTDOWN:
For use this module you need to create a Python script and allow it to run at boot time.
Script and procedure are described in the documentation file.
You can use standoff spacer for mounting this module on the Raspberry Pi.
After ACC/IGNITION is ON, the micro-controller is waiting for “timeON” delay time.
If the time does elapse, the micro-controller activated DC/DC power supply and Raspberry Pi will start to boot.
If the time does not elapse, the output power is not activated so the Raspberry Pi will not start.
If ACC is back to OFF position before elapsed “timeON”, the whole process starts at the beginning after ACC/IGNITION is ON again. This allows short temporary ACC/IGNITION ON without starting the Raspberry Pi (if you forget close your windows or something that requires ACC/IGNITION ON, Raspberry Pi will not start before “timeON” elapses).
After boot process has started ACC/IGNITION is temporarily disabled because of proper boot procedure (“timeBOOT” value).
After ACC/IGNITION is OFF, the micro-controller is waiting for “timeOFF” delay time.
If the time elapses, the micro-controller sends a command to activate the script in the Raspberry Pi to properly shutdown.
After that turn OFF DC/DC power supply after “timeSHUTDOWN” values elapesd.
If the time does not elapse (“timeOFF”) output power is still activated so the Raspberry Pi continues running.
If ACC/IGNITION is back to ON position just after the shutdown script starts or in time before DC/DC is powered OFF (“timeSHUTDOWN”), Raspberry Pi will be start boot immediately without delay. This is the fast boot method.
PROGRAMMING times values:
Default times (if you not make changes) are:
To changes this values you need any USB/TTL serial adapter (CP2102, CH340G,...).
For serial monitor you can use Arduino IDE, or Realterm or similar. Settings for serial monitor: 9600,N,8,1 (CR+LF).
USB serial adapter / RaspberryPi Automatic ON/OFF serial_prog pins:
After set and open serial monitor, connect pins TX, RX and +5V.
Then connect GND.
When serial monitor start you will see:
If you successfully enter into settings mode, message “Time settings mode” will be on serial monitor.
If you don't enter into settings mode, message “Time elapsed, restart and try again” will be on serial monitor.
To restart, disconnect and connect GND (don't disconnect USB serial adapter from computer).
Programming mode use power supply from USB/TTL serial adapter only.
Message format to enter new value is:
Values for each time is 1-99(seconds).
Correct values example:
<5:8:30:30> or <05:08:30:30>
Incorrect values example:
This incorrect message will be translated to:
Each value which is not in range(1-99) or are not number/format will be replaced with default value.
Detail description,pictures and Python script are in the PDF file in Documentation section.
|Shipping Rate||Ships From||First item||Additional items|
Croatia Post: Standard Ground Rate
Peter | Nov. 7, 2019
We recognize our top users by making them a Tindarian. Tindarians have access to secret & unreleased features.
We look for the most active & best members of the Tindie community, and invite them to join. There isn't a selection process or form to fill out. The only way to become a Tindarian is by being a nice & active member of the Tindie community!