Using the AutoPi With an External Power Supply
The device you have is pre-configured to work directly in your car. When working it in a lab environment you may need to supply the AutoPi with a controlled power supply. There are a couple of things you should be aware of, before connecting your device:
Always power your AutoPi from the OBD connector. Don't use the power inputs on the Raspberry Pi. This makes some of the function on the AutoPi not function correctly and could potentially damage your AutoPi device.
The AutoPi has several commands that can be run from the local terminal. Commands like
power.status
should be written out on the local terminal as you see them in our commands documentation. All terminal commands can also be run when logged in via SSH. All you need to do is prepend theautopi
command, likeautopi power.status
. This works for every AutoPi Core command.The AutoPi auto powers down when voltage is below 12.2V. This is to prevent draining the vehicle battery. Power it with at least 12.5V when in a lab. We also recommend that your power supply can output at least 2.5A.
There is a trigger (sleep timer) on the device, that will initiate if there is no communication to the car, more specifically, its CAN bus. You can see sleep timers by running the
power.sleep_timer
command and you can clear them by runningpower.sleep_timer clear=*
.
We recommend getting the OBD power cable from our shop, to ease the connection to any external power supply. You can get it here.