This is about attempts of building a retro gaming/media box out of Raspberry Pi 3 and a portable CRT TV.
I bought a miniature portable black and white analogue TV+radio from some guy over the internet. I did it because it was small (15x15x24 cm) and light (about 2kg) and seller was able to prove that it actually works. It cost me about 20€.
I bought it first and then started thinking what am I going to use it for. Obviously not for watching TV because analogue stations stopped broadcasting a long time ago.
This could be a tiny display for my 8-bit computers (C64, C128, Atari 2600 and Atari 65XE) or a display for RetroPie/Kodi.
Right now the idea is to actually put Raspberry Pi 3 inside the case and make it self-contained media/entertainment/general computing device. Just like C64 was in the old days.
ICE TV 1005
A B&W TV and radio portable receiver. Manufactured in Germany probably in 1991
Raspberry Pi 3
3.5mm jack to 3xCinch for audio and composite video
The ground has to be on the second ring (counting from the tip of the jack)
This is not a place to descibe the installation process of RetroPie, it is already done in great detail in RetroPie documentation. However you should do it with keyboard and HDMI display available. There is too much flicker to do anything in the text mode, even in 80x24 mode. There is a 320x240 mode added to /etc/fb.modes:
# added by RetroPie-Setup - 320x240 mode for emulatorsmode"320x240"
And you can turn it on with fbset:
This gives you quite stable 40-column screen. It is good enough for quick edits.
For me the most comfortable way was to setup network and SSH early and to everything through remote console.
There are two changes in the boot configuration to be done.
First thing is to enable composite video mode on RPi. I had to add these lines to /boot/config.txt
# this is to center the screen so that leftmost text column is visible
#overscan_right=16#overscan_top=16#overscan_bottom=16# uncomment for composite PAL
# uncomment for monochrome
# uncomment 1=4:3, 2=14:9, 3=16:9
The second thing was needed after installing Kodi. It turned out that the analog audio was slowed down and sounded as if wrong sampling frequency was used.
This line was also needed in /boot/config.txt. It fixed all the audio issues.
With this, my first goal was achieved - I was able to run retro games and youtube using nothing more than a cheap USB joypad.
News recordings from deep Cold War (and my kindergarten) times being watched on this device bring so much memories.
Raspberry Pi can run hot when running all these services. The case I'm using has a fan and I wanted it to be sofware-controlled.
This description has the sofware side (script and systemd service) completely covered. Most of the hardware description too. However the ciruit to control the motor there is wrong. It lacks a diode to protect GPIO from currents induced by magnetic fields in the motor. This is the kind of cirtuit you should use. RaspberryPi is no Arduino, but the principle is the same. Just instead of D3 on Arduino connect the transistor's base to GPIO18.
Instead of 2N2222 you can use other NPN transistors, for example S8050.
Some other things to do using raspi-config:
configure SSH server and add your public keys to /home/pi/.ssh/authorized_keys to be able to login remotely without password
configure autologin to console, RetroPie emulation station will start from there
Some other things to do using retropie_setup.sh:
update setup script and all emulators
install kodi from optional packages (nb. they are not in alphabetical order)
enable or remove usbromservice and/or samba if you need such things
Last time I learned that the TV part of this unit is powered by a single chip that has pretty much everything needed for audio-video decoding from RF signal integrated.
This particular device has AN5151N inside and according to severalwebpages all I had to do was to cut the trace with video out signal and feed external composite video signal in its place. To make it look like this:
Since the unit arrived in such good condition I took great care to disassemble it without damaging the soft plastic or scratching the front transparent cover in the process.
There are two screws on the top back and two more under the front.
After removing them it's easy to take out the top cover and it should be easy to separate the shell into two halves. But there was a clear obstruction on one side and I didn't want to break anything by using force.
After several minutes of trying, it turned out that it was the big wheel for tuning that has been keeping the parts together. After removing that obstacle, I was finally able to open the device. The cables are long enough that I could open it completely without the need of disconnecting anything.
I started this project in late October. First few log entries will cover what has already happened.
The item arrived in late October 2019. I was very suprised by its excellent condition. It was spotlessly clean, with no accumulated dust or grease. Only few scratches here and there. As if it was almost never used, even though it came without original packaging.
Seller was truthful - it was fully functional and in working condition.
On the front there is a 4,5" black and white CRT tube. There is a scale for radio and analogue TV tuning and set of six buttons to set time and alarm. I don't have any user manual, but seller was kind enough to set correct time for me before shipping.