VOGONS

Common searches


First post, by badmojo

User metadata
Rank l33t
Rank
l33t

This is a project I dreamt up a while ago because a) I kinda needed a new media centre, b) I had a couple of spare C64 cases hanging around, and c) I’ve been looking for an excuse to try out a Raspberry Pi. I’m sure that there are easier and better solutions out there, but what’s the fun in buying something like this off the shelf?

My requirements were:

- wifi
- able to stream movies from my PC
- able to stream content from the internet
- able to play content from a USB key
- HDMI output
- remote control
- responsive interface
- no modifications to the C64 case
- C64 keyboard works
- red ‘power’ LED works 😀

First things first I had to get a presentable case and working keyboard out of the 2 junker C64’s I bought a while ago as a source of replacement IC’s for my other, working C64. These were 2 very sorry looking machines when I picked them up cheaply on eBay, both having some broken key stems and significant yellowing to the cases on the back and sides:

DSCN0194_zpse276dd29.jpg

DSCN0406_zps99d6f400.jpg

Keyboards on the C64 are simple and easy to work with. There was some minor soldering required to get them apart but for the most part it was just a case of combining the best parts of both to make a working whole:

DSCN0398_zpsd3a5d23f.jpg

DSCN0414_zpsd40cb6fb.jpg

DSCN0423_zps5bf06d30.jpg

For the case I decided to use paint to hide the yellowing instead of RetroBrite, which I’ve never had much luck with, particularly in the situation where the yellowing is uneven as it was here.

As a kid I attempted to paint all sorts of things and was always disappointed with the messy, saggy, and uneven results I got due to not having a freaking clue what I was doing. The key, I now know, is patience, preparation, and thin coats.

I gave the case a good soak and scrub in oxy cleaner to get it squeaky clean, then primed it, and applied 3 coats of off the shelf ‘satin finish’ spray paint. I was very happy with the results:

DSCN0432_zpsa36b1c5b.jpg

Next up was installing a very cool little device which allows the C64 keyboard to work as a USB keyboard.

The Keyrah (manual here) is pretty much ‘plug and play’ if using the external USB cable to connect to your PC but to have the cabling internal, as I wanted it here, you need to solder in a 4 pin header and make your own cable. Then it’s just a matter of setting the relevant jumper to the relevant keyboard type, and off it goes.

DSCN0471_zpse66d725a.jpg

DSCN0476_zps7abdfec2.jpg

DSCN0469_zpsc9c7213d.jpg

The C64 keyboard is obviously not a 1-1 match for a modern 103 keyboard, so there’s a mapping of functions for anything beyond letters and keys. I wouldn’t want to write War and Peace on it, but for a media centre - which only needs a keyboard for searches, etc - it’s quite workable.

The next job was setting up the the Raspberry Pi, “the $35 computer”. It costs more than that down here at the arse end of the world, as most things do, and of course it’s not a complete computer. “The $50 motherboard” is probably a better description of it - you still need a PSU, SD card, input devices, monitor, etc. Most people have these things lying around though I guess.

If you google “Raspberry Pi PSU” you’ll soon realise that there are countless opinions about powering the Pi, but after some trial and error I ended up back-powering mine via a USB hub instead of via the micro USB power connector provided. Sending the power in via the ‘front end’ is a little more risky because it bypasses the fuses, and I don’t actually know if the hub I’m using is any good - I just found it lying around in one of my drawers - but I’m a risk taker. It’s a decent PSU, and it means that I have one less cord required.

The other 1 of the 2 available USB ports is taken up by the connection to the Keyrah.

Plugged into the HUB is an IR receiver for a cheap Windows Media Center remote I’d bought years ago and never used, and finally this USB wifi dongle:

http://www.tp-link.com.au/products/details/?model=tl-wn823n

I’m using the open source XMBC media centre package, and I’ve tried both RaspBMC and OpenElec. In the end I went with OpenElec because it seems a bit snappier and hasn’t crashed on me, where RaspBMC crashed a few times for whatever reason. OpenElec also includes some emulators apparently - I haven’t looked into that yet but I might be able to plug a joystick in (via the Keyrah) and get some hi-def 8 bit game action too.

DSCN0457_zps2c2fc314.jpg

Once the Pi was running and tested, it was time to put it all together. I mounted the Pi in the case with plastic standoffs which have double sided tape on their ‘feet’. I was able to position it so that the HDMI port is accessible via an existing hole in the case. The hub and the IR receiver are mounted on the side of the case which velcro and I considered trying to hide then around the back, but I like they way they look - they give the C64 a sort of “augmented” look, which of course it is.

DSCN0482_zps41e3403a.jpg

I’ve been using it for a week and it’s been great so far, it streams from the PC like a champ (the PC is running Serviio), and internet content (local TV) is accessible via an add-on. Time will tell if it’s “production ready” - I’ll forgive the odd glitch because it looks like a C64, but my wife and kids won’t be so forgiving.

DSCN0510_zpsd0612c9e.jpg

DSCN0500_zpsb562631c.jpg

DSCN0491_zps333e0849.jpg

Life? Don't talk to me about life.

Reply 3 of 14, by Mystery

User metadata
Rank Member
Rank
Member

The painted case looks really good, I doubt you would've gotten better results with retrobrite, it looks almost like new.

I personally prefer the C64C, which unfortunately has even more problems with yellowing due to the brighter case and keyboard.

::42::

Reply 4 of 14, by badmojo

User metadata
Rank l33t
Rank
l33t
obobskivich wrote:

Does everything stay relatively cool stuffed under the keyboard like that?

Yeah it seems to, there's pretty good ventilation up the back there. Before I installed the Pi in the case I had it running 'nude' next to the TV for a couple of days and I put my hand on it every now and then to see if was getting hot - it was only ever slightly warm.

Life? Don't talk to me about life.

Reply 5 of 14, by SquallStrife

User metadata
Rank l33t
Rank
l33t

Good work, as always! 😀

You must have one of the later rev RasPi boards, my one spews out heat because of a design error in the launch units.

VogonsDrivers.com | Link | News Thread

Reply 7 of 14, by badmojo

User metadata
Rank l33t
Rank
l33t
leileilol wrote:

Is a Pi really much like a P2 300 with a Geforce9? I do wonder how it could deal with media with that kind of awkward proportional ratio of processing power.

I read somewhere that it struggles with 1080P but I haven't experienced any problems yet, of course Serviio might be reducing the quality as it serves it up - I think I saw a 'quality' option in there.

Life? Don't talk to me about life.

Reply 8 of 14, by retrofanatic

User metadata
Rank Oldbie
Rank
Oldbie

Very nice...another great project! Good job on the paint job...the color matches really nicely and it looks nearly flawless from the pics you posted.

I like that you added a IR receiver for a remote. I have a couple cheap IR remotes (with IR receivers of course), but I have been looking for an RF remote since it would be nice to not have to point the remote exactly in line with the IR receiver.

Reply 10 of 14, by retrofanatic

User metadata
Rank Oldbie
Rank
Oldbie
Harekiet wrote:

You can just use a bluetooth receiver together with a small bluetooth keyboard.

Good call...I almost forgot about bluetooth. duh 😕 .

I did a search online and found good solution (it's probably old news to many and it maybe it has been mentioned on Vogons too...i'm not sure)---I can use my Wii controller with a bluetooth receiver and download a small free utility that allows me to set it up quickly and easily. I think I may go that route. This would be perfect for me, because I want to be able to move the pointer. I may try to get a small keyboard as well.

Reply 11 of 14, by badmojo

User metadata
Rank l33t
Rank
l33t

This C64 media center has been a success so far, having been in constant use for ~10 months without issue. It was however a little slow when navigating the XBMC menus, and Netflix has arrived in AU, so the release of the Raspberry Pi 2 got me thinking upgrades.

Switching the Pi’s wasn’t as straight forward as I’d hoped – I needed a version of OpenELEC that was compiled specifically for the new model, and the mounting holes and layout is significantly different. But the new model is wickedly fast – XBMC flies now – and it has 2 more USB ports, so I could toss the USB hub. I’m using a wired network connection now too, which helps with the navigation speed a little. I’m still using the excellent Serviio to host my media.

To get Netflix on the Pi I followed this guide: http://mymediaexperience.com/raspberry-pi-xbmc-with-raspbmc/. It works OK, but the interface is pared back to a simple directory - there’s no summaries, etc. I still have some fine tuning to do I think, I’m not convinced that PlayOn is working as well as it could. Once you’ve found what you want though, it works beautifully.

The C64 case aside, I can really recommend the new Raspberry Pi as a media center. It’s quick and cheap for what it can do. There’s talk of a version of Windows being developed for the Pi too, which should be interesting.

DSCN1740_zps3bhce3jg.jpg

DSCN1764_zpsmslwacsy.jpg

Life? Don't talk to me about life.

Reply 12 of 14, by calvin

User metadata
Rank Member
Rank
Member

The Windows for Pi is likely (judging by the Internet of Things branding on announcement and the new Nano Server SKU) just a Server Core type deal to run C#/whatever code from Visual Studio on. Don't expect Windows RT to make a comeback.

2xP2 450, 512 MB SDR, GeForce DDR, Asus P2B-D, Windows 2000
P3 866, 512 MB RDRAM, Radeon X1650, Dell Dimension XPS B866, Windows 7
M2 @ 250 MHz, 64 MB SDE, SiS5598, Compaq Presario 2286, Windows 98

Reply 13 of 14, by Zup

User metadata
Rank Oldbie
Rank
Oldbie

I used OpenElec until version 5, when they screwed tvheadend. That forced me to change to Xbian, that IMHO works better.

It's still a tuned Raspbian that boots directly into Kodi, but it supports ssh and apt-get, so you can install any other packages needed (so you can compile things like tvheadend, or configuring network in wpa_supplicant.conf). It supports everything that works in xbmc or OpenElec, so you won't have any problem having it working.

Keeping in mind that you're using a C64 case, you might consider using retropie (a distro devoted to emulation). Kodi can be installed on that distro, so you'll have an emulation center and a media center in one shot.

I have traveled across the universe and through the years to find Her.
Sometimes going all the way is just a start...

I'm selling some stuff!

Reply 14 of 14, by badmojo

User metadata
Rank l33t
Rank
l33t
Zup wrote:

Keeping in mind that you're using a C64 case, you might consider using retropie (a distro devoted to emulation). Kodi can be installed on that distro, so you'll have an emulation center and a media center in one shot.

Yar I looked at that briefly but I have the real thing, so no need to emulate.

Life? Don't talk to me about life.