11-27-2018, 11:21 PM
11-28-2018, 01:00 AM
Bluetooth A2DP I'm not sure how I've managed this, because it didn't work before I started tinkering but Bluetooth streaming through A2DP now works well. As far as I know I don't have any custom scripts installed, or services running, only additional packages installed from stretch repository, and a few minor config settings. I think the main difference is to install the bluetooth-alsa package. Anyone else tried this to confirm? Even on a device not previously connected, I can see the Rpi, pair, trust, and enable A2DP on standard pop-up messages from raspbain. On reconnecting there are no messages, just connect phone & hit play! Now it would be nice to make the pop-up messages a bit bigger and re-colour them to match OA! OBD2 pyobd-pi downloaded from git hub and runs (without install), although I have had to run it as pi not sudo as suggested on the official site, to allow this and get it to launch through OA, I've had to edit one of the python files to add the full path to a couple of required files. The main screen loads and my ELM327 lights up like it's trying to connect. Only issue remaining is that it runs full screen with no way to close it without a keyboard or reboot! Can't test any further till it's in the car. Touchscreen I wasn't happy with the clibration of my touch screen so I spent a whole evening to Re-Calibrate it with the old ts-calibrate and spread sheet calculation to get the calibration matrix, I still wasn't happy so started tweaking the numbers through trial and error to perfect it. I'm happy with it,... for now. New Hardware The NooElec nesdr smartee rtl-sdr dongle has arrived and seems to work well, turns out there was nothing wrong with my previous one just very week signals in my area, made worse indoors, but the cheap active aerial I have is not it great to say the least but it is powered directly by this one. In theory it should work better with a standard car aerial with an active DAB adaptor fitted. The most stations I've found so far 19, Side note: The NooElec Dongle does not like having the laptop too close and produces lots of squelch if it is. Also the dongle may need better grounding/ isolating from ground because it looses sync if i touch the casing. More new Hardware on it's way! Bluetooth + wifi dongles for the old Pi model B, that's now going to become a Car Wifi hotspot, hopefully it can cope power wise if not I have another USB hub I can modify. I wont be bothering with any kind of boot up/ shutdown on the ignition, I'll just set the file system to read only to avoid SD corruption. pi-DAC+ and parts to build a steering wheel audio controls interface board. This will be a Pimoroni perma protoboard + resistors for 12v opto-isolated gpio interface. I just need to find 2x quad opto-isolator ic's from somewhere that doesn't charge a small fortune for them, I may need to go to RS Components. Then I can hookup and configure my steering controls. I might need a few extra bits of mounting hardware, but I'm not sure what comes with the DAC or protoboard! I'll find out soon. Hopefully the Pi will still fit in it's current location and not clash with the video drive board below it, I still need to turn it the right way up too! I have a couple of long journeys to do soon, so would be nice to get this all done and in the car by then.
11-28-2018, 02:27 AM
Pre-written program for GPIO-Keyboard press Edit! Don't bother with any extra scripts for this the xdotool will emulate keystrokes. i.e. xdotool key space
01-24-2019, 03:07 AM
A word of warning though, this is written specifically for my setup, I accept no responsibility for anything going wrong on your system if you decide to use any part of it. Now that's out the way! This script will pause and resume kodi on ignition switch off/on, it will also shut the system down after a time delay while the ignition is off. The resume does not currently work across a reboot. The Next stage for this is to get the current playlist, track and position information from kodi once it's paused, process the data and store it out into a separate file to be reloaded on next system start-up. I'm also tempted to split this up into smaller sub-scripts, and just call the main loop to monitor the GPIO pin. It started life as an OnOff SHIM script by cyperghost on retropie.org.uk I've also added a log output so it records what happened before the last reboot.
06-26-2019, 08:48 AM
Can you give any details on how you did the custom 3D printed screen bezel mounted to RDS6000 case...
I too have a Ford RDS6000 spare radio that I plan to use... I have an official Raspberry Pi 7" screen that I would like to use... was thinking of creating a 3D printed bezel for it. Regards |
|