Revision [2599]
This is an old revision of RaspberryPiInCarProject made by ZorrUno on 2016-11-29 22:05:55.
Plans for Raspberry Pi In Car Project
Hardware Used
Project BoxRaspberry Pi (v3)
PMB Power Board http://rcbeacon.com/blog/?page_id=3946
WIFI usb module (Not needed with Pi3)
1.2AH SLA Battery
Hardware Additional Planned
Camera: Pi Camera, Pi Camera HDMI Extender boards, HDMI CableGPS: GPS USB Module (puck)
Engine Logging: ODBII Bluetooth adaptor, Bluetooth adapter
Attached Devices
Direct USB: USB Memory StickDirect USB: USB Hub
USB HUB: Keyboard (then numeric keyboard... or maybe bluetooth?)
USB HUB: Wifi Dongle (Not needed with Pi3)
USB HUB: GPS Device
USB HUB: Bluetooth Dongle (Not needed with Pi3)
USB HUB: Mobuis Dashcam
USB HUB: USB Hard Drive?
Pi Cam
NFC Shield
Menu Feedback and Selection
Karl's BASH menuinghttps://github.com/KarlMW/bash-ivr
Raspberry Pi GPIO general info and scripts
GPIO Info http://raspberry.io/projects/view/reading-and-writing-from-gpio-ports-from-python/File System GPIO activation https://sites.google.com/site/semilleroadt/raspberry-pi-tutorials/gpio
WiringPi c Lib http://wiringpi.com/
GPIO info from raspberry pi org https://www.raspberrypi.org/documentation/usage/gpio/
GPIO Benchmarks http://codeandlife.com/2012/07/03/benchmarking-raspberry-pi-gpio-speed/
inputs and outputs, file method https://www.element14.com/community/docs/DOC-78315/l/raspberry-pi-gpio-explained
i/o for this project
Using this reference https://www.raspberrypi.org/documentation/usage/gpio-plus-and-raspi2/README.mdand https://sites.google.com/site/semilleroadt/raspberry-pi-tutorials/gpio
Used a 4 pin floppy disk connector on physical pins 7,9,11,13 which equates to IO4,GND,IO17,IO27.
The connector has fly leads of yellow (io4), black (gnd), black (IO17), red (IO27). The black was useful as a gnd for first testing IO but both black lead was then snipped.
GPIO Port 4 for HOLD (setting as 1 sets GPIO 4 to 3.3v)
sudo su
echo 4 > /sys/class/gpio/export
echo out > /sys/class/gpio/gpio4/direction
echo 1 > /sys/class/gpio/gpio4/value
notes, this is obviously volatile... on reboot GPIO4 is high appears high, but is actually floating. It appears to drop low when direction is set to 'out'
GPIO Port 27 for ACC IN (Set as 3.3V when power is pludded in to the ACC+12V)
sudo su
echo 27 > /sys/class/gpio/export
echo in > /sys/class/gpio/gpio27/direction
cat /sys/class/gpio/gpio27/value
Audio Output
HF: Sound output of some sort to a small speaker (I2S?), also 3.5mm audio to car audio input. Hardware switch to turn small speaker off (for music play etc)ODB2 Engine Logging
http://www.cowfishstudios.com/blog/obd-pi-raspberry-pi-displaying-car-diagnostics-obd-ii-data-on-an-aftermarket-head-unitGPS Logging
DiscussionsOnGPSLoggingInCarhttp://hackaday.com/2014/08/14/a-raspberry-pi-helmet-cam-with-gps-logging/
Pi Camera Snapshots and Video
Pi Cam getting started https://www.raspberrypi.org/learning/getting-started-with-picamera/Pi Cam basics https://thepihut.com/blogs/raspberry-pi-tutorials/16021420-how-to-install-use-the-raspberry-pi-camera
More Pi Camera & Python info http://www.makeuseof.com/tag/raspberry-pi-camera-module/
Dashcam Video Store
- Connect dashcam via usb to pi, remove files from dashcam when stationary... upload to server when in wifi rangeMusic Server
- MPD server- sync of music when in wifi range
Navigation
Some sort of audio only navigation... i.e. select preset from menu, audio navigation?http://www.gpsdrive.de/features.shtml
Other GPS apps: http://tuxmobil.org/linux_gps_navigation_applications.html
Last edited by ZorrUno:
gpio in and out testing fine - notes on connector
Tue, 29 Nov 2016 22:05 UTC [diff]
gpio in and out testing fine - notes on connector
Tue, 29 Nov 2016 22:05 UTC [diff]
--
CategoryHowTos
CategoryRaspberryPi
CategoryVehicles
CategoryLinux