My goal for this project was two-fold. First, I wanted to create an in-car media player capable of storing enough videos and music to keep things interesting for my kids on long trips.
Although my car came equipped with a DVD player, storing discs in the car and constantly swapping them in and out, not to mention having to wrestle with those diabolical DVD menus, is not a direction I wanted to go. Second, I really wanted to put my Raspberry Pi to good use after having it lie around for several months while I worked on other things. Luckily, I succeeded on both fronts.
When I decided to build an in-car media computer, I got to work collecting all of the necessary components. Two operating system images are available for download here that provide a complete XBMC-based media center distribution, OpenElec and Raspbmc. Most configuration in both distributions is done through the menus and is very easy to accomplish. Setting up an IR remote and adding a script to monitor my power supply required that I set up SSH to log in remotely, but neither of those tasks proved to be difficult or time-consuming.
Providing power to the Raspberry Pi and its components proved to be my biggest hurdle in this project. Fortunately, such a power supply exists, and it can be found here at mausberrycircuits. When the ignition is turned off, the Pi continues to receive power from the battery, but it will also be made aware of the power loss through a signal sent to a GPIO pin.
A script running on the Pi can then decide what it wants to do. It can initiate a clean shut down immediately, or perhaps it can wait a few minutes to see if the power comes back on before going through the trouble. When the Pi does shut down, a signal back to the power supply tells it to remove power completely, thus fully powering down the Pi and any other components. I took the script provided for OpenElec and modified it in a couple of ways.
First, I have a waiting period from the time I turn off the ignition to when it actually initiates a system shutdown. Second, I send a command to XBMC when the power is removed that causes it to stop whatever media is currently being played.
Doing this seems to help XBMC remember where it was when you go back to resume playing the same file. Scripts for other distributions as well as installation instructions are provided at mausberry. As I mentioned, the power supply requires three wires: battery positive, ignition accessoryand ground.
One of those thoughts was having someone with more know-how do it for me, but that costs money. After wandering around my local AutoZone for a little while, I discovered these little devices that allow you to add a fused circuit to an existing line through the fuse box.
Fortunately, there is a very accessible fuse box on the inside of my car.
Using a voltmeter, I was able to locate two empty slots, one connected directly to the battery and one connected to the ignition line. I used a 5A fuse from the battery and a 2. My vehicle has a built-in LCD screen along with auxiliary audio and video inputs, which made adding the media player a breeze.
Navigating the XBMC menus is a little challenging, as the text becomes difficult to read on the low-resolution screen, but there are some XBMC themes that make it more bearable than others.
My original plan was to use a IR sensor and remote control to operate the media computer. I first experimented with a bare IR receiver and followed this guide with great success.
For the final product, I purchased this IR Receiver from monoprice. I got everything working with an old, bulky Sony remote control but planned to get something more like this one from adafruit. However, with my spare time was running short and a road trip only a few days off, I ended up buying a miniature wireless keyboard from Amazon.
This turned out to be a great solution and one I intend to stick with. A built-in laser pointer might also be useful to some.GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together. If nothing happens, download GitHub Desktop and try again. If nothing happens, download Xcode and try again. If nothing happens, download the GitHub extension for Visual Studio and try again.
Install Rasbian Lite on the micro SD card. Purchase a MPEG2 license from here. You will receive an email telling you what to add. Copy dvd-play. Copy dvd-remote.
Copy dvd. You may need to create the directory. Copy dvd-background.
Skip to content. Dismiss Join GitHub today GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign up. Python Branch: master. Find file. Sign in Sign up. Go back. Launching Xcode If nothing happens, download Xcode and try again. Latest commit Fetching latest commit…. Install VLC: sudo apt-get install -y vlc. You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window.Have you ever envied your friends' sweet touch screen systems in their car?Raspberry Pi 3 Media Centre with 1TB HDD and DVD in a VCR (MEHS) Episode 43
Do you look at the dash of your old and decrepit Isuzu Rodeo and dream of having a slick computer system in your car? Well, your in luck. This Instructable will be your guide on building a system that is low cost and easy to build; it doesn't even require special tools.
The goal of this Instructable is to create a easy-to-build car computer based on the Raspberry Pi. It does not require special tools and very little knowledge of the Raspberry Pi. I chose not to use advanced tools like 3D printers or laser cutters because, while many do have access to these machines, I have been turned off of projects in the past for using such "out of reach" resources. The touch screen is resistive which, while not ideal, keeps cost down and is easily available through Amazon.
It has the capacity to play music, watch videos, look at pictures, play games, and much more. Did you use this instructable in your classroom? Add a Teacher Note to share how you incorporated it into your lesson. They are both labeled in the previous step. Then, plug the ribbon cable from the screen into the control board with the same orientation as pictured.
Make sure to unlock the black tabs first and to lock them after inserting the ribbon. Screen and board should both lay flat facing up. Now, plug the button board for the screen into the control board. It uses the flat white cable to do so. So, here is a strangely simple bit of the process. Most people would use special adhesive strips made for touchscreens for this process, I decided that I didn't want to wait for shipping so I used scotch tape.
It surprisingly worked very well. To do so, lay the touch panel flat atop the LCD screen. Make sure the touch control ribbon is on topside and that the corners are square.
Next, administer tape along the edges of the touch screen in a manner that attaches it to the the LCD module. There should be no tape along the front side of the touch screen, only on the sides.Have you ever been stuck in traffic and pulled up next to some maniac singing along with the radio to an audience of no one, index fingers drumming out a spastic beat on the steering wheel?
That's me. A few months ago I realized my haven was losing its appeal, and I sensed it was connected to my radio's anachronistic scan button. So I decided to see if I could build a touchscreen dash personalized with thousands of my favorite songs using a Raspberry Pi, a computer board barely larger than a credit card.
If you haven't heard of Raspberry Pi yet, remember the name—this easy-to-use microcomputer is taking over the programming world. Lauded by amateurs for its accessibility and by experts for its versatility, the Pi has been the catalyst for all sorts of cool projects: voice-activated coffeepots, self-watering plants.
Setting it up for this project was fairly straightforward. This last input is the most important because the Pi runs its operating system known, a tad confusingly, as its "image" from an SD card. There's a bustling online community of Raspberry Pi coders who make pre-programmed images available for download. When I searched for images that would run a homemade media center, a site called xbian. It can play music and movies, display pictures, and run other media apps such as Pandora—it can even stream content from Apple devices using AirPlay.
I popped an 8-gigabyte SD card into my laptop, and by following the step-by-step directions of the free installer I downloaded from the XBian website, I copied the image directly onto my card.
Raspberry Pi Car Computer
Then I ejected the card, slid it into my Raspberry Pi, and congratulated myself on becoming a genuine programmer. The touchscreen comes with a primary control board that looks strikingly similar to the Raspberry Pi, plus two smaller control boards, all of which help communicate data to the Pi.
The LCD screen and the glass touchscreen, meanwhile, don't come attached to each other because I guess that would make too much sense, so I had to connect them myself. There's a rough guide online to making a touchscreen dashboard in which the author, a mysterious wise man identified only as Zaqq, explains how to do this with masking tape.
I simply aligned the touchscreen atop the LCD screen, then ran tape along the centimeter-thick edges of the two stacked screens. For security I used five layers of tape, and I folded any excess neatly onto the back of the LCD screen. To work properly, the touchscreen needs to be connected to its three control boards via three cables.
Tontec does not include instructions, but each wire snaps exclusively into a specific corresponding jack, so I managed to connect everything using trial and error.
I plugged the Pi into an outlet with its included power adapter.
Here is where things turn into a computer-hacking scene from a mid-nineties movie. Both the Raspberry Pi and touchscreen turned on automatically. Then I had to get the XBian operating system synced with the touchscreen, and that required installing some drivers directly to the Raspberry Pi from the Internet. To do this I plugged the Pi into my modem with an Ethernet cable, and, using the arrow buttons of a computer keyboard to control XBian I connected the keyboard via USBI highlighted the power icon in the menu screen and selected Exit.
This closed the software and opened up the command terminal for the Pi. The command terminal asked for a username and password. I entered "xbian" and "raspberry," respectively, then typed in a few -gibberish-looking prompts recommended by Master Zaqq from that online guide.
I'll spell them out here in case you're following along, but I strongly recommend supplementing these steps with your own Internet research. After I complied with some onscreen prompts to orient the touchscreen, I was good to go. The calibration of the touchscreen wasn't as precise as I would've liked, but some tinkering would probably fix that. In the meantime I now had a slick media center that could play my entire MP3 library, which I had stored on a gigabyte flash drive that was plugged into the Pi's second USB slot.
At last: the hard part.You also need to have fairly recent firmware from around 3rd week in August, or later. You can get this with….
It needs to be externally powered.
The best Raspberry Pi media players
There should be a list of files ending with. VOB for your chosen filename. Then sit back and relax. Mine works better when I call it up via ssh rather than the main console. I have no idea why, but when on main console, omxplayer regularly locks up on quitting. This will only work with your own recordings. Hopefully a future video will detail that process. At that time, as far as I could make out, nobody had managed to watch a commercial encrypted DVD, […]. Mine is somewhat temperamental too.
Sometimes an unplug and replug fixed it. I also had a lot of trouble trying to get OPEN elec to identify the usb drive consistently. II found that if I inserted a disk into the player with the Pi switched OFF, which is possible with an external powered usb hub and then switched the Pi ON, the disk mounted correctly.
Raspberry Pi Stack Exchange is a question and answer site for users and developers of hardware and software for Raspberry Pi. It only takes a minute to sign up. Please share you thoughts on this. In my experience there are many issues with establishing and maintaining connection. You need to install netatalk on the Pi to enable this which also provides zeroconf discovery. There is limited support on Windows. If you need both Windows and Mac access you can run both Samba and netatalk.
In main config file I had to change group to cdrom so that nbd-server can access the drive device. This is almost certainly not correct way but it worked.
The group is disk. Permission setup is kinda silly and inflexible on both sides; it worked for me though. If someone knows better, feel free to update this answer. Make sure your Pi has enough power to run the DVD drive and whatever other devices you have connected. Or just disconnect all other devices if you can. Sign up to join this community. The best answers are voted up and rise to the top.
Home Questions Tags Users Unanswered. Asked 5 years, 3 months ago. Active 18 days ago. Viewed 5k times.
Build This DIY Touchscreen Music Player for Your Car
Karthik Karthik 11 1 1 silver badge 2 2 bronze badges. Hello and welcome to RPi. While I think this can be done the question is quite broad as it is now and lacks to show any specifics like what research has been done before, what has been tried so far. This is not how SE is supposed to work.
Please add some more of your own thoughts. Active Oldest Votes. It can indeed be done you just need to pick a Protocol. Milliways Milliways So I think filesystem will almost always be UDF. Sharing this with Samba should be pretty straightforward as there is already a CD-drive in the sample configuration. LuWi oops - I misread the question. The comment on Protocol are still relevent. What pi OS distribution would cater for this? Alois Mahdal Alois Mahdal 2 2 bronze badges.Raspberry Pi has been used to play video and music since the very first board landed in the hands of an enthusiast.
Its use as a media platform is legendary, and for good reason. VLC seems to be able to play just about anything you throw at it, while still having a very small install size. It also has great streaming abilities, and can receive web streams and network streams as well.
It also has a GUI. Need a tiny media server that will stream to all your devices that support Plex? Using Raspberry Pi you can create the ultimate streaming media server, with the tiniest footprint in both physical space and on your electricity bill. Another excellent streaming solution for your home. As well as being able to connect to your local music collection, it connects well to online services such as Spotify and SoundCloud.
A Kodi alternative for people who like slightly more modern user interfaces. It has a special installer that can get a Raspberry Pi microSD card set up in minutes, and it also supports streaming to other devices.
Using the default Raspbian web browser, you can access a world of content online from various video sources like YouTube, as well as stuff on your home network with the right add-ons. RuneAudio is a complete home hi-fi system, connecting to local network storage and internet streams. It can be controlled by multiple clients if run headless, and plays music perfectly through a DAC.
Volumio wants you to have everything connected to one device, and has created a system to allow you to do that. Not only can you store music on it, you can stream music from other places to it. Our favourite Kodi-based OS gives you the pure, familiar, highly customisable Kodi experience. It can play just about anything you can throw at it, including a lot of video games now.
This is great for having media play when you turn a Raspberry Pi on, or to control it from an SSH-connected remote computer. It makes use of minimal resources, while also being hardware-accelerated for great picture quality. If your keyboard has you bored, why not learn Morse and then be able to send tweets using nothing but a simple switch? A board to help beginners get started with physical computing. Meet the expressive and flexible open-source robot powered by a Raspberry Pi.
David Crookes reaches out. By Simon Monk. Engineer Quint Crispin has been drawing lots of attention to his latest project. Adafruit 1. A compact TFT display with two buttons and a joystick. Perfect for gaming?