matt2005 / RoadApplePi

An elegent "Black Box" solution that can be retrofitted into any car with an OBD(II) port for minimal cost.
GNU General Public License v3.0
7 stars 3 forks source link

Two Reuests: on-board Pi Camera and wifi ELM327 #2

Open jsable opened 4 years ago

jsable commented 4 years ago

After install, I ran sudo modprobe bcm2835-v4l2, RoadApplePi was pulling video from the on-board camera for about 45 minutes, then stopped. I added bcm2835-v4l2 to the /etc/modules file and rebooted and the on-board camera has since stopped working with RoadApplePi. Any ideas as to how I can make this work on boot? I am using a Raspberry Pi zero W ver. 1.1 with Raspbian Buster & RoadApplePi working in both AP mode and by wifi. My second question is if it is possible to get RoadApplePi to work with a wifi ELM327 device, since I am stuck using iOS devices.

Thanks,

~John

EDIT - After looking through all the files, the only reference I found for the camera was in the raprec.c file, it looks for a webcam at "/dev/video0". So assuming that this is where RoadApplePi is pulling video from, I searched for my pi camera and found it at "dev/video10". I made the changes to the raprec.c file and rebooted. Still no video from the pi cam.

matt2005 commented 4 years ago

I don't have access to a wifi elm device, however if you can get the pi to see it as a serial port it should be possible.

matt2005 commented 4 years ago

You could try this for the wifi elm. Wifi elm