Adding Audio Output To The Raspberry Pi Zero - Tinkernut Workbench
Vložit
- čas přidán 24. 07. 2024
- The Raspberry Pi Zero W is an amazing miniature computer piece of technology. I want to turn it into an epic portable Spotify radio that displays visuals such as Album Art. So in this new series called "Tinkernut Workbench", I show you step by step what it takes to build a product from the ground up.
__________________________
=#=#=#= Important Links =#=#=#=
FOLLOW THIS PROJECT - tinkernut.com/dvYN6
Pi Zero W - amzn.to/2p4hMHn
Adafruit PWM Audio Out - learn.adafruit.com/adding-bas...
_____________________________
=#=#=#= Become a Patron =#=#=#=
/ tinkernut
_____________________________
=#=#=#= Submit your ideas =#=#=#=
www.tinkernut.com/ideas
_____________________________
=#=#=#= Support the show =#=#=#=
www.tinkernut.com/donate
_____________________________
=#=#=#= Follow =#=#=#=
redd.it/5o3tp8
/ tinkernut
/ tinkernut - Věda a technologie
MORE MORE MORE!
Didn't expect you here :D
sorry to be off topic but does anyone know of a way to get back into an Instagram account??
I somehow forgot my password. I would love any tricks you can give me.
@Ibrahim Malcolm instablaster ;)
@Mario Jagger I really appreciate your reply. I got to the site on google and Im trying it out now.
I see it takes quite some time so I will get back to you later when my account password hopefully is recovered.
@Mario Jagger It worked and I finally got access to my account again. I'm so happy:D
Thanks so much you saved my ass !
Just want to say that I really liked the style and the layout of this video... Keep up the good work!
I like the new style, it is easier to follow
As a non native english speaker, it was really informative and easy to follow. Thanks for sharing!
I am a long-time subscriber of yours. An I can tell you surely that this is THE BEST format of your videos. Much much better than all of your previous styles.
(I love MR. Robot Too😁)
GREAT WORK !
Thank you, I've just added this to my retropie and sounds great, i used ceramic capacitors instead of polyester ones, that's all what they had a the local tech shop. Next thing is to build my picade
It's a shame the workings of the circuit you made were not explained.. I remember long hours studying the concepts related to filters and all the math that comes with it. Guess math isn't interesting enough for popular videos =(. Ayways the TL;DR: he forced the raspberry pi to output the left and right audio signals through the GPIO pins as a PWM waveform, but you cannot use that to drive a speaker because of the high frequency content and the DC component so you need to use a low pass filter and a DC blocking capacitor for each channel to end up with a passable audio output, possible improvements could be: adding another pole to the filter or having another filtering stage, using larger blocking capacitance to improve low frequency response, adding transistors or op-amps to avoid drawing large currents directly from the GPIO pins and prevent any input loading and finally match the impedance of all stages to improve frequency response.
I'm not sure he completely understands the schematics because he did get the schematics from adafruit he didn't make them himself
The Mr. Robot font works really well as a title card - not so well as labels and lists on-screen. It gets confusing to look at when there's a complex background, or multiple lines of text.
Just a minor note - the project is super cool!
thanks for the feedback!
The new style is awesome!
Really liked this style!
Big thanks for this, I didn't know that there already is a dt module for remapping pwm and I tried to get my own to work rather fruitlessly, then I have found this and it works. Still the audio is really lousy compared to pi 2 b, but it is at all.
i have a question. is it possible to just connect an audio amplifier to the correct pins on the pi and it work fine? or do you have to make the circuit?
Normally I would complain about how you changed styles again, but hey I actually quite like this style!
love the new style
wow you just took a simple project and make it awesome
i like your this
can we use it for nano ai system
mine does not work properly
Awesome! thanks to share your knowledge...
On Windows 10 you can also use bash on Ubuntu on Windows for ssh
Hello, I would like to use a small screen to play movies loaded on the SD card and have the Zero output Bluetooth audio so it can be played with a Bluetooth speaker is this possible?
Awesome video!
Nice new style!
good quality videos. Keep it up. I will buy a pi soon
Thinkernut is that kind of guy who's bored of breaking into pentagon's servers.
Just so you know, you can place an empty file called 'ssh' on the /boot directory of the sd card, to automagically startup ssh! Same goes for wifi, you just have to put a 'wpa_supplicant.conf' file with credentials in the /boot directory. When the pi starts up it will copy the wpa_supplicant file to the right place, and the pi will detect the ssh file and enable ssh. That boot directory, by the way, is accessible when you've flashed your sd card, as a partition in windows/macos/linux! This way you can easily enable those things without connecting a monitor and keyboard to your pi zero. I'm currently getting a lot out of my pi zero w, without even having touched a dongle!
(As for the keyboard layout, this is configurable via the raspi-config utility, over ssh.)
This is great! Question though...
How loud is it without the amplification? I just want to use it for some sound effects for the Picorder I'm building.
Thanks!
hey cant wait for more!!
Could you show us how to make a usb hub? I just need a simple one for mouse and keyboard :)
Would it be possible to have more than one channel being instantiated and play different files in each of the channels ?
What is that audio output board you were showing sand where can I buy one
Does it really have to be a polyester film capacitor though? I thought the capacitive value was the only thing that mattered, but I'm happy to be proven wrong!
I need to add a super small 8 ohms, 0.25W speaker to my project. Do you know a simple way to implement this?
Thanks
sir I am not getting headphone option in audio option in ras pi zero only getting HDMI option please help me
hey tinkernut! can you share the fritzing scheme? i wanna make a custom pcb for this
Very good... A question...
On the Audio Jack is necessary connect the GND? Because I see only two wires... Audio is mono or stereo?
Thanks a lot!
Moreno (Italy)
Thank you for this video
Can you revisit the iPod touch and convert the 30 pin charger into the Lightning charger?
Had you considered audio over Bluetooth or HDMI? Perhaps grabbing the audio from an HDMI to VGA adapter?
when you said that the pi zero has no audio, did you mean no audio at all, or no analog audio? I always thought it just sent audio through HDMI
Good one, thanks
where did you buy the labeled resistors and caps at ?
So is it possible to add an audio jack to an iphone 7?
You can also use bash in Windows 10 which includes ssh. Not saying it's better than putty but it's nice to have a fully working terminal. :)
Dont know if you already figured this out but you can install something called "Shairport" which turns the Pi a server for audio airplay. You can wirelessly stream music to it with iTunes, a Mac computer or iOS devices (with Spotify App). Not sure if it works on other devices.
That's a good tip! I'm wanting this to be a standalone player, though.
But what happened to the cardboard? And those magical windows that made sounds when you opened and closed them?
What can i buy for audio
Are you hear some noising sounds when loading and during the games ? (use headphones)
If you are using Windows 10 you could enable the Linux subsystem to SSH to the Pi
You can or just install putty. Putty for windows will allow you to ssh to a linux system.
What is the voltage of the electrolytic capacitor? You only passed the capacitance.
How does raspi-config know which pins to use? Is it hard-coded?
Wonderful. but ...
Each speaker has a plus and a minus. At the exit are just left and right plus? What happened to the minus?
How much of a performance hit does using GPIO take on the CPU compared to using a USB Audio output device?
what keyboard is that with the trackpad?
Thankyou it worked
What kind of audio jack did you use?
On a brand new raspberry pi zero 2 W , I had to use the following commands to get audio output... this only outputs audio on GPIO18 which the readme.txt file says is the only output valid on all models...
dtparam=audio=on
dtoverlay=audremap,enable_jack
dtoverlay=pwm-2chan,pin=18,func=2
What did you study/major in? Did you study something like electrical engineering or is all your knowledge based on experience?
It would be cool to see a "smartphone" build. Use an old smartphone screen (plus driver) and make a case with a rechargeable battery. I don't know if it's possible, but it would be cool if it was.
So, you're basicly making a DAC... Do you think there's any way of making it work with a 12bit i²c ADC ?
Happy Easter tinkernut!
Hello.
Can you make a video about how to make 'amazon alexa ' from raspberry pi zero , I really your need help .
I realise this video is old but the links to (and on) your website for this project are broken...
Oi what is the song you use in the backgrounds i want it. The videos of people re-creating it are rubbsh.
is it possible to make it with esp8266 board?
Superb content...I'm lucky that you use just 3 pins of the pin header to have audio. In the meanwhile I'm looking for which GPIO pins can I use to have the so called VGA666 output. In the case I nail configuring VGA666 then I'm in the dark (somehow) because *I know that for full fledged PCs with a Linux Distro* I just edit */etc/X11/xorg.conf* and fiddle with it to have 15Khz resolutions but with Raspberry Pi Zero might not be the case.
What I don't know if the raspeberry Pi Zero has some sort of "video driver", for instance in linux distros there's "nvidia" (propietary driver) , "radeon" (i think this is opensource), "nouveau" (nvidia opensource driver). I don't know if I can modify the video output resolutions with the same stuff I touch in Linux Distros (xorg.conf I mean)
I hope you can enlighten me on at least how to get the VGA666 pins with the correct GPIO pins and some advice for how to fiddle with custom resolutions (15 Khz I mean, like 384x224 for Capcom CPS1 games, 256x224 for *lots* of Arcade games and the SNES and so on.
Hugs from Chile, South America . It's almost March 2024 here and summer soon's gonna be over (I hate winter since I always get a cold in that season).
🤗
How to do that for mono sound?
There is another SSH client available for Windows. It's called SSH Cryptonaut and it is from SSH Communications Security.
How to record audio using RPi zero w?
Thank u
Could you tell me What is the voltage of the electrolytic capacitor? I really need to know
I googled this a bit and as far as I can tell, it seems to not be too important, it seems to mostly be a case of the upper voltage limit (where it releases the magic blue smoke)
please make a video on making a portable wireless speaker from scratch
You can make one for adding audio input
By any chance, do u use /g/?
nice
Notification Squad coming right up!
nice background you have on rpi 0 can you share it?
PS: can you make a video how to add an line input to raspberry Pi?
PPS: what software are you using when you are working with breadboard?
it's the default bg in the newest version of raspbian
Plz tell how to put a audio input
Hmm... so the Spotify Linux client requires PulseAudio. I wonder if that's going to mess anything up.
I'm sure Tinkernut knows, but for anyone that doesn't, you can use VNC to connect to your Pi's desktop remotely, instead of just the command prompt with Putty: www.raspberrypi.org/documentation/remote-access/vnc/
ya but command line is just more powerful.
You can access the command line from the Pi's desktop.
well you know, it depends on the job. Each one has his own way of doing things. I've used both for different kind of task.
I agree, but I'm just making people aware of it.
Please make an airhorn! :D
lol, I bought the rasp pi zero w myself and I still don't know what to do with it. cool project brohem
NAILED IT!
what is yr goal to achieve that that i my help u
I 110% support making something over buying one pre built, or doing it the hard way for the sake of learning, but you do know that the Zero W has bluetooth, right? Bluetooth speakers are nice.
Heyyyyy I like the mr robot font
i not can modify the config.txt
$config.txt: Read-only file system ][ Error writing /boot/config.txt: Read-
SO=Recalbox
ok i find it..
for recalbox: Connect with SSH
Remount partition on read-write
Command: mount -o remount, rw /boot
Use nano to edit the file located at /boot/config.txt
Command: nano /boot/config.txt
Now close and save the file with "STRG + X" and reboot your Raspberry Pi
is this stereo or mono?
Do you actually need all those resistors? Can't you just plug the raspiaudio firmly on top of all the GPIO pins?
cool project. this layout of video was easier.
Audio input now?
Windows 10 has an SSH client built into it nowadays. Use PowerShell for easy copy/pasting.
when your favourite CZcamsr doesn't upload for 3 weeks😞
TheMiniGeek And when he uploads... 😎
I know Pi Zeros are cheap in america and england, but here in australia they are like 30$ which i bought a mac for the other day, so they arent as cheap as i want ahah.
wait you live in uk
Win32diskimager is pretty good, though I prefer Rufus. If anyone wants an alternative.
I like rufus too
Make your own PCB with SMD
It seems like you soldered the header pins the wrong way arround :/
What is your end goal?
0:36
Ηρωας!!
Please never say "you eff" when referring to μF again. It's triggering.
Exactly my thoughts xD
Yeah I was going Tinker-Nuts over his pronunciation of "micro farad"
yeah instead of saying "you eff", you could at least say "mew eff" 😁 proper way, of course, would be "micro farad" awesome project 👍
The phonetic pronunciation of μF is "mew eff", and since there is no letter μ in English, it has been replaced with "u". So that was just a phonetic pronunciation of the abbreviation.
fys terms like 'triggering' is 'triggering'.
for burning a image of a SD card i personally like etcher more looks better and on my Linux PC it work and win32 disk imager does not
Ok i think I'll just buy one, this is way too hard for me
webpage is not working
in real life when answering teachers question you ask for like/share and subscribe there is a point where you wached youtube too much:D