[PIBUS] DIY E46/E39 Media Centre: MP3, videos, Digital Radio, Digital TV?
So I bought me one of those Raspberry Pi boards for $25 (actually more like $40 in Australia after shipping/gst etc) and hooked the video-out to my car. It works
It won't be easy, but potentially you could do lots of things with this, without ripping out your factory equipment:
1. MP3s with album art, playing from SDCard or USB
2. Videos off USB storage
3. Digital Radio
4. Digital TV? (antenna will be a problem)
Stay tuned, an interface to the headunit buttons is the next step. Information dumped at: http://pibus.info
Got the kit today (super fast postage!)
Did some research and got myself a promising SD card.
Started soldering (all parts are accounted for)
Just waiting for my RPi
Thanks Pete!
Got the kit today (super fast postage!)
Did some research and got myself a promising SD card.
Started soldering (all parts are accounted for)
Just waiting for my RPi
Thanks Pete!
Model A or B? I noticed they got more expensive, must be our weak AUD$. If you ordered from Element 14 and they're in stock you'll probably get it in 24 hours, they (E14) are awesome.
Yeah, I'm not entirely happy with the shutdown strategy but it works like this:
* The pibus software on the Pi watches the IBUS for idleness. If there's 4 minutes of no ibus messages, it runs /sbin/shutdown.
* The ATtiny firmware watches the IBUS for idleness as well. If there's 6 minutes of no ibus messages, it cuts the Pi's power supply.
RPi is in the mail and I'm going to order the kit next week on payday
just need to teach myself how to solder PCB now lol. Be nice if there was an easy way to integrate nav into this somehow. My car is non nav, i know of a few Rpi GPS solutions but not via open elec. Might be something to play with
Mainly I had extracted the zip package retaining the directory structure and followed the instructions for the autostart.sh
Thus pointing to the wrong place. Plus needing to set the pibus to eXec.
I'd mainly use the screen in NAV mode with music in background, I haven't tried to see if the phone button is affected outside of CDC, would be disappointing if it is... I'll report back
Really? I just tried it with the key out, doors closed, boot open, and it all shut down (including nav) after 6 minutes. Are you testing with a door open, or SD card removed?
Email me the ibus.txt log after about 7 minutes, something must be chattering away still.
Basically it works (once) after rebooting the rpi.
reboot
after 4 minutes nav and rpi go into standby (car unlocked)
unlocking car via remote wakes the nav and rpi
BMW logo no longer displayed on screen upon door open (not really fussed)
turn on ignition
headunit can show CDC (xbmc)
tried 2 options: 1- playing and stopping mp3, 2- not do anything in xbmc
turn off ignition
lock car
wait 10 minutes
nav unit and rpi still on - does not go into standyby (continues to stay awake.. forever - good thing I have a battery tender)
console [reboot]: repeat from 2.
Emailing you my ibus.txt now Pete. I suspect the pibus needs to ignore the messages coming from the NAV unit, though it works properly when the rpi is rebooted. (I dunno )
PS. the speak button does pause xbmc but also starts a call on the phone lol
Ah huh. I think I see what's happening in your log. The CDC (Pi) keeps announcing itself, but your radio never replies (mine does). Or maybe it replies only once when you 1st booted it.
Anyway, I changed the logic a bit, so try the new version on the _beta page, hopefully will fix it. It now stops the whole polling thing if there's a cdc-info request from the radio.
YOUUU BEAUTYYY!!
Your beta worked Pete! I couldn't be happier.
Nav and amp shuts down like normal now and the rpi turns off 6 minites after the nav drive does it's thing (11 minutes odd)
Email sent (will attempt to drop off something for your support!)
I'm actually installing the Pibus I bought you in my car. I want to update the attiny with your latest program but I'm not familiar with that process. Can you please explain me how to do this in a Few words ? Thks in advance.
There's actually nothing new for the ATtiny, you should be fully up to date. There's just an update for the /storage/pibus program on the R-Pi though. Do you know how to install that?
#define SETTING_NO_PHONE_BUTTON 1 /* For cars with factory bluetooth */
#define SETTING_NO_CAMERA 2 /* Don't switch to camera on 'R' gear */
#define SETTING_NO_CDC 4 /* Don't switch video on CDC on/off */
#define SETTING_NO_IDLE_TIMEOUT 8 /* Don't power off PI after 6 minutes */
Any volunteers to make a guide or video on installing the Pibus software on the Raspberry Pi? I keep getting emails about it and it's really hard to describe to a Linux newbie.
Is there a way to regain the Tone / Balance control on the CD (now Pi) input? There is something really missing in the audio that could be fixed with a little EQ the headunit has, just can't get to it.
R9,R10: Not needed. They are just an after-thought, a way for the ATtiny to talk directly to the Pi. I've never used them for anything.
R11,R12,Q5,Q6: Not needed. If you populated them with 100K and BSS-138 (not supplied), it would allow the ATtiny to transmit on the IBUS. But it never needs to transmit.
C6: Not needed. Just some spare access to the 5 volts. Or put a big-ass cap here if your Pi is rebooting when you start the engine (I doubt it ever would).
re: the pibus install. I'm guessing it's just
a) install openelec on SD card. Test.
b) copy pibus folder from zip file provided to the linux partition on that SD card
c) modify autostart.sh as required
Status
Not open for further replies.
You have insufficient privileges to reply here.
Related Threads
?
?
?
?
?
E46 Fanatics Forum
17.9M posts
592.8K members
Since 2001
A forum community dedicated to BMW E46, E90, and F30 owners and enthusiasts. Come join the discussion about M performance, turbo kits, engine swaps, builds, modifications, classifieds, troubleshooting, maintenance, and more!