How to use the Raspberry Pi Zero Composite Video Connection!
As you may know, unlike the other Raspberry Pi boards, the Raspberry Pi Zero does not have a composite video output jack. But there is a spot to add one. Then you can plug it into a TV screen that does not support HDMI but has RCA type composite inputs.
I followed this video here, to add one to my Pi Zero W and plugged it into an old TV and it worked.
With this connection, you still don’t have audio, but you can add it with a usb sound card adapter.
My idea for this was to revive a portable DVD player set I bought for the kids to play in the car, when they were little. Was going to use it to make a little car entertainment center. The set has one unit that is the DVD player and the other is just a monitor. The DVD player was broken but the monitor still worked. And, it has composite video and audio inputs. Unfortunately the screen is a little damaged though, with a couple of black lines in it.
Maybe I can use it on one of those cheap backup car monitors though or another portable DVD player. Put Retropie on it to play games and Kodi to watch movies stored on a flash drive.
Anyway! I thought it was neat that I got it to work. Takes a steady hand to solder the raspberry pi zero composite video connection, but I got it!
Yep! The NEW Raspberry Pi Zero W, now comes with onboard Wifi and Bluetooth!
Great, it will no longer need a wifi and bluetooth dongle! And for one of my projects, the zero controlled external speakers, I won’t need a usb hub anymore! It can also take over as the media player on my TV in place of the Pi 3, so I can use it in other potential projects where I might need more processing speed and memory.
There is also now an official Pi Zero case!
Now all it needs is a way to add a speaker (for projects like a homemade mp3 player or pigrrl zero) without needing a hat/dac or usb sound card, or reconfiguring the GPIO pins. Maybe next upgrade? lol!
Anyway! You can learn more about the NEW Raspberry Pi Zero W @ raspberrypi.org!
Pi Zero control external speakers!
UPDATE: Now with Pi Zero W (W = on board wifi), you can eliminate the need for the wifi adapter and the 4 way usb hub!
Using a Pi Zero to control external speakers, remotely from your couch!
(sorry about my redundant wording, it’s for google search engine stuff)
For a while now, I have had these Creative SBS powered PC speakers, connected as external speakers, to my TV. It sounds great, especially when watching movies! It’s really amazing how much these little speakers can enhance the TV’s sound quality, especially the bass.
But, to turn the volume up or down on these speakers, used as external speaker on my TV, you have to get up and physically turn the volume nob. Not too much trouble, but if you didn’t turn them down before or after you shut the TV off, you might get blasted the next time you turn on the TV. Not good when you can’t sleep at 3am in the morning, so you try watching a little TV to pass the time. Then you turn it on and it blasts noise into the still of the night, waking up the whole house!
Anyway, so recently I bought a Raspberry Pi Zero and have been wondering what to do with it. I have lots of ideas like building a robot car, a portable retro game console or maybe use it as a spare desktop or printer server. But then I thought, why not set it up to control the volume on the external speakers connected to the TV!
For this to work though, the Zero has to have a few things that it doesn’t. An audio source to get sound in and out (except out from HDMI). And a way to connect remotely to the Zero to control the sound, like over a WiFi or Ethernet connection.
Things You Will Need to Control External Speakers with a Pi Zero
But the Pi Zero does offer support for sound through a USB connected sound card adapter that has a line-in and out port, and an internet connection with a WiFi adapter / Ethernet adapter. And with an OTG cable and USB hub, you can connect both!
From the audio out on the TV, I have connected a male RCA Y adapter cable (red and white) to 3.5mm male round pin jack, to the line-in port on the USB sound card.
And the green wire from the PC speakers, connected to the line-out on the Zero.
Then I installed the latest version of Raspbian Jessie OS on an SD card, inserted it into the Pi Zero. Connected the HDMI to the TV and power and booted it up, and installed the OS. I also did an update and upgrade through the terminal (sudo apt-get updated, sudo apt-get upgrade) on the Pi. And, enabled ssh and VNC through the Raspberry configuration menu.
Now To Get The Sound Card Working to Control External Speakers
To enable sound on the USB sound card, you have to right click on the speaker icon to bring up the audio properties, and click on the sound card, to put a check by it.
Then go into the USB Device Settings and enable the volume controls.
Check the boxes to enable the speakers/headphones, microphone or line-in (not the capture). Also enable the auto gain control. But once you enable everything, close the box and then go to the Switching tab and uncheck the auto gain control. This may remove some of the distortion from your sound card. Also, be sure and enable the mic/line-in levels, if they are marked with a red X, grayed or blacked out.
For now, just leave these boxes up and then turn the TV input to a TV station. If everything is connected correctly, there may be a slight delay and some pop noises, but then you should hear sound.
Once everything was installed and running, I was able to disconnect the Pi Zero from the HDMI on the TV and used the VNC viewer installed on my computer, to control the desktop on the Pi (more about this below).
How to Setup the Pi Zero to Control the Volume Remotely, From Your Couch!
With the VNC server enabled and setup on the Raspbian desktop. You should be able to control your Pi Zero from any computer with the VNC viewer. Check out these instructions here, to learn how to set up and use VNC on your Raspberry Pi.
It will be easier to control the Pi with a laptop. You can carry it into the room with your TV, so you can hear and adjust the sliders where you want them. Then tap OK to close the settings boxes on the Audio Device Settings.
If you have an iphone or android smart phone, you can go to the app store and download the VNC viewer. You can then bring up the Pi Zero in the viewer. Move around the screen until you get the pointer on the speaker icon. Tap on the speaker icon to bring up the volume slider. It’s a little tricky, but tap the slider nob with the pointer on it and then tap, hold and drag the nob, to move the slider up and down.
Control Volume with SSH
You can also download an ssh app on your phone and ssh into the Zero to control the volume. Type alsamixer at the prompt and this brings up the mixer control. To raise and lower the volume, use the 1-9 keys on the keyboard. Or use the plus and minus keys.
And there you go! That’s how you control external speakers with the Pi Zero! And, you can probably use this same setup for many audio devices you may have external speakers connected to.
What is a Raspberry Pi Zero?
The Raspberry Pi Zero has 1Ghz single core cpu, 512mb’s of RAM, a mini hdmi port, mini usb port, and a micro usb for power (you can us a 5v 2a phone charger).
And costs only $5 before s/h or tax! IF you can find any in stock!
I bought mine from a shop called Pimoroni in the UK. Took a couple of weeks to get here but nobody else had it in stock at the time! This is one of those items, if you want it and find it, you better buy it! Another popular place to get one is Adafruit.com. They sell out fast though! You can use this website here to see when they are back in stock in the usual stores that sell them.
The 1st thing I did with mine was install a retropie on it, to see how it handles with less CPU speed or memory than what’s on the Pi 3. Worked pretty good! Also handled Kodi with no problem!
Now to plot what else to do with it!
I want build one of those handheld retro game consoles that has the controller and screen, built into it. But, the kits to build them with, are kind of pricey for my budget. And, like the Zero, they are always out of stock!
I was also thinking of using it to control the volume on some powered pc speakers I have connected to my TV. I will have to find out if that is even possible!
Or maybe, a build a remote control robot car! That would be cool!
And, hopefully I will be able to share some of my experiences here.
What have you used the Raspberry Pi Zero for?