Posts | Comments

Planet Arduino

Archive for the ‘stereo’ Category

You don’t have two ears by accident. [Stoppi] has a great post about this, along with a video you can see below. (The text is in German, but that’s what translation is for.) The point to having two ears is that you receive audio information from slightly different angles and distances in each ear and your amazing brain can deduce a lot of spatial information from that data.

For the Arduino demonstration, cheap microphone boards take the place of your ears. A servo motor points to the direction of sound. This would be a good gimmick for a Halloween prop or a noise-sensitive security camera.

Math-wise, if you know the speed of sound, the distance between the sensors, and a few other pieces of data, you wind up with a fairly simple trigonometry problem. In non-math terms, it is easy to get a feel for why this works. If the sound hits both microphones at once, it must be coming from straight ahead. If it hits the left microphone first, it must be closer to that microphone and vice versa. If the sound were right in line with both microphones but closer to the left, the time delay would be exactly due to the speed of sound over the distance between the sensors. If the time is less than that, the sound must be somewhere in between.

The microphone modules have both analog outputs and digital outputs. The digital output triggers if the sound level exceeds a limit set by a potentiometer. By using these modules, the circuit is trivial. Just an Arudino, the two modules, and the servo motor.

Now imagine that you wanted all this spatial detail to come through your headphones. Recording binaural audio is a thing. You can 3D print a virtual head if you are interested. We’ve seen projects for this several times.

sound_companionCube

The Enrichment Center likely disapproves of the SoundCube: a portal music box in the form of a Portal Companion Cube. [Andreas] finished this project a couple of years ago, but we’re glad he’s finally had time to give a rundown on the details at his blog.

The build is primarily a modified speaker box cube—constructed out of what appears to be MDF—with four Alpine SXE-1725S speakers placed at the center of the middle faces. The faces were routed out to resembled the Companion Cube, while the electronics mount and the speaker grills were 3d printed. Inside is a homemade amplifier built around an Arduino Mega, with a TDA7560 quad bridge amplifier, a TDA7318 audio processor, a Belkin bluetooth receiver, and a 3.5″ touchscreen for volume control and for input selections.

Two 12v 7.2Ah lead-acid batteries keep the cube functional for an entire weekend of partying, but probably add a few pounds to the already hefty MDF construction. Check out [Andreas's] blog for more pictures and his GitHub for all the necessary code.


Filed under: Arduino Hacks, digital audio hacks, home entertainment hacks
Nov
22

Old Kit Review – Silicon Chip Mini Stereo Amplifier

amplifier, dick, DSE, Electronics, k5008, kit, kit review, review, smith, stereo, stmicro, TDA2822, tronixstuff Comments Off on Old Kit Review – Silicon Chip Mini Stereo Amplifier 

Introduction

In this review of an older kit we examine the aptly-named “Mini Stereo Amplifier” from Dick Smith Electronics (catalogue number K5008), based on the article published in the October 1992 issue of Silicon Chip magazine.

The purpose of the kit is to offer a stereo 1W+1W amplifier for use with portable audio devices that only used headphones, such as the typical portable tape players or newly available portable CD players. I feel old just writing that. At the time it would have been quite a useful kit, paired with some inexpensive speakers the end user would have a neat and portable sound solution. So let’s get started.

Assembly

Larger kits like this one that couldn’t be retailed on hanger cards shipped in corrugated cardboard boxes that were glued shut. They looked good but as soon as a sneaky customer tore one open “to have a look” it was ruined and hard to sell:

Dick Smith Electronics K5008 Stereo Amplifier Kit box

The amplifier kit was from the time when DSE still cared about kits, so you received the sixteen page “Guide to Kit Construction” plus the kit instructions, nasty red disclaimer sheet, feedback card, plus all the required components and the obligatory coil of solder that was usually rubbish:

Dick Smith Electronics K5008 Stereo Amplifier Kit all contents

However the completeness of the kit is outstanding, everything is included for completion including an enclosure and handy front panel sticker:

Dick Smith Electronics K5008 Stereo Amplifier Kit enclosure face sticker

… all the sockets, plenty of jumper wire and even the rubber feet:

Dick Smith Electronics K5008 Stereo Amplifier Kit components

The PCB is from the old-school of design – without any silk-screening or solder mask:

Dick Smith Electronics K5008 Stereo Amplifier Kit PCB front

Dick Smith Electronics K5008 Stereo Amplifier Kit PCB rear

However the instructions are quite clear so you can figure out the component placement easily. Which brings us to that point – all the components went in with ease:

Dick Smith Electronics K5008 Stereo Amplifier Kit PCB partial assembly

… then it was a matter of wiring in the sockets, volume potentiometer and power switch:

Dick Smith Electronics K5008 Stereo Amplifier Kit socket wiring

Instead of using a 3.5mm phono socket for power input, I used a 9V battery snap instead. The amplifier can run on voltages down to 1.8V so it will do for the limited use I have in mind for the amplifier. However in the excitement of assembly I forgot the power switch:

Dick Smith Electronics K5008 Stereo Amplifier Kit PCB forgot the switch

However it wasn’t any effort to rectify that. You will also notice three links on the PCB, which I fitted instead of making coils (more on this later). So at that point the soldering work is finished:

Dick Smith Electronics K5008 Stereo Amplifier Kit PCB finished

Now to drill out the holes on the faceplate. Instead of tapering out the slots on the side of the housing, I just drilled all the holes on the front panel:

Dick Smith Electronics K5008 Stereo Amplifier Kit panel

Turns out the adhesive on the front panel sticker had lost its mojo, so I might head off and get some white-on-black tape for the label maker. However in the meanwhile we have one finished mini stereo amplifier, which reminds me of an old grade seven electronics project:

Dick Smith Electronics K5008 Stereo Amplifier Kit finished

How it works

The amplifier is based on the STMicro TDA2822M (data sheet .pdf) dual low-voltage amplifier IC. In fact the circuit is a slight modification of the stereo example in the data sheet. As mentioned earlier, the benefit of this IC is that it can operate on voltates down to 1.8V, however to reach the maximum power output of 1W per channel into 8Ω loads you need a 9V supply. The output will drop to around 300 mW at 6V.

Finally the Silicon Chip design calls for a triplet of coils, one each on the stereo input wires – used to prevent the RF signal being “shunted away” from the amplifier inputs. The idea behind that was some portable radios used the headphones as an antenna, however we’ll use it with the audio out from a mobile phone so it was easier to skip hand-winding the coils and just put links in the PCB.

Using the Amplifier

The purpose of this kit was to have some sound while working in the garage, so I’ve fitted a pair of cheap 1W 8Ω speakers each to a length of wire and a 3.5mm plug as shown in the image above. And for that purpose, it works very well.

Conclusion

Another kit review over. This is a genuinely useful kit and a real shame you can’t buy one today. And again – to those who have been asking me privately, no I don’t have a secret line to some underground warehouse of old kits – just keep an eye out on ebay as they pop up now and again. Full-sized images and much more information about the kit are available on flickr.

And while you’re here – are you interested in Arduino? Check out my new book “Arduino Workshop” from No Starch Press.

In the meanwhile have fun and keep checking into tronixstuff.com. Why not follow things on twitterGoogle+, subscribe  for email updates or RSS using the links on the right-hand column? And join our friendly Google Group – dedicated to the projects and related items on this website. Sign up – it’s free, helpful to each other –  and we can all learn something.

The post Old Kit Review – Silicon Chip Mini Stereo Amplifier appeared first on tronixstuff.



  • Newsletter

    Sign up for the PlanetArduino Newsletter, which delivers the most popular articles via e-mail to your inbox every week. Just fill in the information below and submit.

  • Like Us on Facebook