I've been kicking around this idea recently, and I think it just might work. The idea is for a camera that takes pictures with sound instead of light. If you have to ask "Why?" then you don't need one, and you may be on the wrong website! ;) I just think it would be fascinating to play with.
Most light cameras use a lens, but the simplest way to focus the incoming wavefronts onto your pixel array is with a pinhole. The pinhole can be almost any material that is opaque to light at around 550 nm wavelength. The sound equivalent might be some type of sound-deadening baffle, maybe a slab of drywall, or cardboard, or other insulating board. For light, the pinhole is often literally a hole made with a pin, but for sound the wavelengths are many orders of magnitude larger, and so everything has to get correspondingly bigger. For example if our acoustic camera were tuned to pick up roughly 10 kHz audio (wavelength in air is about 1.3 inches), if we had just 32x32 pixels at 1 wavelength pitch, the pixel array would be nearly 4 feet on a side. For a focal length of 2 meters (79 inches) the pinhole would be about 20 inches in diameter, for a 30 degree field of view. Potentially you could capture these low-res images and mosaic a bunch of them together for a much larger image.
That's all well and good, but 32x32 pixels means you need 1024 total microphones! Even if they cost 50 cents a piece (less than the cheapest mic on DigiKey) and could solder each one in 10 seconds, it would cost over $1000 and take 3 hours of soldering just for the mics! Plus you might need an amp for each one, some number of ADCs, some way to pull all that data together, etc. So here's what I'm thinking: you make the imaging array out of large PCB panels that you etch yourself, and you build the mics in yourself as part of it. I'm leaning towards homebrew condenser microphones using aluminum foil as the diaphragm. You'd need to develop a good way to make an array of these mics yourself but it seems doable to me. Here's a page showing one guy's own homebrew condenser microphone, clearly not streamlined to be made hundreds at a time, but still. I think with some experimentation you could get a system down for making 100 mics on a panel in just a few minutes.
http://kt4qw.com/condenser.pdf
I think with the right mic design, you could multiplex them all together using just two inexpensive mux ICs, a single amp, and a single ADC. It would probably take several seconds to capture each image since you'd only be pulling in one pixel at a time, but the processing would be really simple. You could even do an FFT and extract out different frequencies to be displayed in different colors. Different materials would show up in different colors. Practical? No way! It would sure make some cool pictures though.
--
To post to this group, send email to hive76-d...@googlegroups.com
To unsubscribe send email to hive76-discuss...@googlegroups.com
For more awesome goto http://groups.google.com/group/hive76-discussion?hl=en
I'd like to hear Brendans take on this. From what I understand light travels in a fairly direct line while sound doesn't.
Maybe an ultrasonic emitter and all the collectors on a concave surface?
I'm really curious as to the images this will produce. From what I understand, sounds scatters much more than light. It influences the air of the room, mixing and creating some chaos in the airflow. Focusing.an image of that would be.... Difficult. Akin to taking a regular photograph, but in a foggy room. Except also the fog interacts with itself. I'd also be curious as to how the "focusing" effect would change. It normal photography, as the lens is moved from the photo sensitive material, it changes the distance of focus. Sometimes, since lights different colors are different wavelengths, you get different colors focusing.differently. its called.chromatic.aberation. Since sounds wavelengths are so much larger, does that mean we'll be effectively tuning out whole parts of the audio wavelengths?
Pez: totally, phased arrays would be awesome. You'd need at least like 4x4 sensors (more would be better) so you'd need like 16 good ADCs that are simultaneous, not multiplexed, and a processor capable of pulling all that in and at least storing it in realtime. The processing is actually fairly straightforward once you have the hardware and the RAM for it. One nice thing about the pinhole camera idea is that you can switch out the mics to sense other things: thermopiles for a crude thermal camera, antennas for a microwave camera (think passive radar where the scene is illuminated by every wifi router and laptop in the building), etc. Also I believe that lots of the characteristic image artifacts and ambiguities that show up in phased array images (like weather radar, ultrasound, etc) would go away. Absolutely I'd love to work on either one though, and that's part of my motivation to look into FPGAs.
Kyle/Josh: waves are waves, they all act the same. Yes, the images would be strange compared to visible light. Visible light's tiny wavelengths mean you can resolve much smaller features. Chromatic aberration happens with sound exactly as it does with light (thus typically choosing an average wavelength of interest when making a light camera, whether using a refracting glass lens, a diffracting zone plate or pinhole), so you would only operate in a portion of the spectrum of sound, same as we only see the tiniest little sliver of the EM spectrum (no IR, UV, heat, X-rays, etc etc, even though they are otherwise identical). If your wavelength is on the order of 2 inches then any surface whose rough features are smaller than that will appear smooth / shiny / specular, as opposed to diffuse. But almost all of the calcs for light cameras should map directly to all other wave phenomena including sound.
If anybody has any interest in lending a hand or kicking around ideas, let me know. For now this is more a thought experiment while I get some other projects off my plate, but I'd love to work on it at some point and if anyone wants to help, it'll be more likely to be successful. I have basically all the calcs taken care of already for the pinhole/zone plate case as well as the phased array.
That's fair. Dave was talking about homebuilt condenser microphones though.. Sonar and ultrasound work at higher frequencies.
Why not start with a single emitter and collector from a known distance and see if you can get accurate readings then go on from there?
That's fair. Dave was talking about homebuilt condenser microphones though.. Sonar and ultrasound work at higher frequencies.
Why not start with a single emitter and collector from a known distance and see if you can get accurate readings then go on from there?
On Oct 7, 2012 9:27 AM, "Sean McBeth" <sean....@gmail.com> wrote:
Sound is direct enough to allow bats to navigate by it in the night. Sonar and ultrasound are types of acoustic imaging, and these days can make some very detailed pictures. So I have no doubt this can be done.The implications for 3d imaging are kind of exciting. The Xbox Kinect does it's depth sensing with infrared light, presuming that brighter pixels are closer pixels. Of course, put something that is very infrared-reflective in the scene and it breaks that assumption. With sound, it's slow enough that you could clock the amount of time it takes to bounce off of things, triangulate the bounces, and come up with a 3d picture.
Let me know if you get around to working on this, would definitely like to help.
On Sunday, October 7, 2012, Joshua D. Johnson wrote:
I'd like to hear Brendans take on this. From what I understand light travels in a fairly direct line while sound doesn't.
Maybe an ultrasonic emitter and all the collectors on a concave surface?
On Oct 7, 2012 8:42 AM, "Kyle Yankanich" <> wrote:
I'm really curious as to the images this will produce. From what I understand, sounds scatters much more than light. It influences the air of the room, mixing and creating some chaos in the airflow. Focusing.an image of that would be.... Difficult. Akin to taking a regular photograph, but in a foggy room. Except also the fog interacts with itself. I'd also be curious as to how the "focusing" effect would change. It normal photography, as the lens is moved from the photo sensitive material, it changes the distance of focus. Sometimes, since lights different colors are different wavelengths, you get different colors focusing.differently. its called.chromatic.aberation. Since sounds wavelengths are so much larger, does that mean we'll be effectively tuning out whole parts of the audio wavelengths?
--
To post to this group, send email to hive76-discussion@googlegroups.com
To unsubscribe send email to hive76-discussion+unsubscribe@googlegroups.com
For more awesome goto http://groups.google.com/group/hive76-discussion?hl=en
--
To post to this group, send email to hive76-discussion@googlegroups.com
To unsubscribe send email to hive76-discussion+unsubscribe@googlegroups.com
For more awesome goto http://groups.google.com/group/hive76-discussion?hl=en
I don't know anything about the electronics in this instance but would like to help build the mechanical bits, certainly the pinhole mic. I have 1/2" square by 4' foam rods left over from a quadratic diffuser build if you want them.
Yeah there are some cool commercial products out there (all of them beamforming-oriented). But there's virtually nothing that's been done by hobbyists in this field. My cheesy transmitting acoustic phased array I brought in a few months ago was probably the only amateur phased array I've actually come across anywhere, which is kind of sad. I've been learning about FPGAs largely so I can do a better one some day. But there's just something attractive to me about the pinhole sound camera for some reason.
--
To post to this group, send email to hive76-d...@googlegroups.com
To unsubscribe send email to hive76-discuss...@googlegroups.com
For more awesome goto http://groups.google.com/group/hive76-discussion?hl=en
I've never done the acoustic version but pinhole cams and camera obscuration are fun. Most people just make an aperature plate with a bunch of holes or just poke a hole and enlarge till it works.
Now I want to build a digital pinhole cam....
Josh
When you say making a digital pinhole camera, do you mean using a commercial imaging sensor (webcam etc) with a pinhole instead of a lens? Coincidentally, a few weeks ago one of the Sparkfun videos showed a SF employee that made a digital camera with a single light sensor in a cardboard box, and I think some type of lens (I believe he mentioned pinholes though). He built a little 2-axis positioner that would scan the sensor back and forth, and a Processing program to build up the image on his computer. Sort of neat, although very difficult to make out any features other than the bright sky out the window and dark walls. If I knew him I'd probably ask to borrow his setup and attach a mic to it instead of a light sensor. Really curious to see what an audible sound camera can do, even crudely.
I meant a small camera obscuration/large pinhole with a digital camera taking a picture of the image.
We used to make them with old scanners as the back, you get some neat effects. You can also change the shape of the hole to squares or your initials etc and it does cool things (there is a name for it, I forget) you can also do several holes with filters or colored glass over. I would just want to capture that digitally..
Josh
I had heard of but never really seen camera obscura until a couple of weeks ago, actually. Thinking about all this stuff prompted me to try it out. I was in my basement and blacked out all the windows with cardboard, with a 'pinhole' cut in one of the pieces. It wasn't the best example I'm sure but it was kind of cool to be basically standing inside a camera looking at the world projected upside-down and backwards on my floor.
When you say making a digital pinhole camera, do you mean using a commercial imaging sensor (webcam etc) with a pinhole instead of a lens? Coincidentally, a few weeks ago one of the Sparkfun videos showed a SF employee that made a digital camera with a single light sensor in a cardboard box, and I think some type of lens (I believe he mentioned pinholes though). He built a little 2-axis positioner that would scan the sensor back and forth, and a Processing program to build up the image on his computer. Sort of neat, although very difficult to make out any features other than the bright sky out the window and dark walls. If I knew him I'd probably ask to borrow his setup and attach a mic to it instead of a light sensor. Really curious to see what an audible sound camera can do, even crudely.
http://www.mrpinhole.com/zp.php
--
One thing about pinholes: They diffract. The pinhole will have to be several wavelengths in diameter. The blurring by diffraction in radians will be roughly the pinhole diameter in wavelengths.
Kyle, yes, this is a passive sensor. As with light cameras you can always provide your own illumination if there's not enough signal out there already for you to pick up. This is not about depth, but measuring the energy coming from different regions. Seeing the shape and structure of the environment. Abstract. I'm not expecting this to replace light cameras...
We'd be in exactly the same boat if we were building our own light camera by hand (I, for one, would have no idea how to build an electron well from scratch). If anybody has any ideas of how to approximate something like this with sound I'd be curious to hear though. As it is, this is just the acoustic equivalent of having a camera with poor low-light sensitivity, so we can only shoot brightly lit scenes.
Interesting thought, thanks! As for making my own condenser mics, the idea was that if we were making an imaging array with a large number of pixels, like 32x32=1024 for instance, buying even the dirt-cheapest commercial mic would get very expensive. If we were making them ourselves, we may be able to come up with a method for making an array all at once. For example let's say we lay out a large PCB with 100 of our custom mics' condenser plates. We etch all 100 chemically, in parallel, in just a couple of minutes, and etching 100 takes the same time as 1. Then we apply a laser-cut spacer sheet, again all 100 at once since it's one piece. Then we apply a single membrane of aluminum foil over the whole board and press it between rubber sheets to stretch it taught until it cures, and finally peel off the foil between elements. We didn't have to buy or install 100 of anything (much less a thousand). Just a thought.
Perhaps a completely analog signal, ala NTSC or PAL. Eeh, I dont really have a suggestion on how that would work.
Project TitleAn acoustic camera that will covert soundscapes into images.Describe your idea belowWe at Hive76 propose to use our members' technical expertise to create a focused array of microphones for the collection of soundscapes. This audio data will then be coupled with photographs, or displayed alone to visually illustrate the sound of the city of Philadelphia, quiet spaces, social gatherings, and any other audibly interesting space. This project is currently in the feasibility stage but would require funds for fabrication and development. We would obtain additional funding from our members and fundraising events.
On Monday, October 8, 2012 10:45:40 PM UTC-5, DonTrackbiker wrote:
On Monday, October 8, 2012 7:18:19 PM UTC-5, pezman wrote:http://www.mrpinhole.com/zp.phpThat calculator appears to me to recommend a pinhole size in wavelengths around .57 times the square root of wavelengths from the pinhole to the sensor array.I saw worse: http://www.whizkidtech.redprince.net/zoneplate/
On Monday, October 8, 2012 10:45:40 PM UTC-5, DonTrackbiker wrote:
On Monday, October 8, 2012 7:18:19 PM UTC-5, pezman wrote:http://www.mrpinhole.com/zp.phpThat calculator appears to me to recommend a pinhole size in wavelengths around .57 times the square root of wavelengths from the pinhole to the sensor array.I saw worse: http://www.whizkidtech.redprince.net/zoneplate/I just tried http://www.mrpinhole.com/zp.php for 2 meters from zone plate to
"film", and wavelength 34 millimeters, with 3 zones. (one ring hole around a
central pinhole.)I interpret the results as having the ring around the central spot having outer
diameter of around 11 inches. I'm not sure correctly.
I haven't seen any evidence to suggest that a zone plate has a more narrow field of view, my understanding was that it acts just like a convex lens (albeit through a different mechanism), and the FoV of a lens or pinhole is based purely on the focal length and the size of the 'film'. I'm not much of an expert on this stuff unfortunately, so I'll be very curious to see what you turn up. It certainly may be possible that it exhibits worse vignetting or something, though I have no idea.
It would require a lot of parts and I'd need help, experimentation, or both, but it seems feasible. My concern about the CCD-like approach is that it's a crap ton of data to gather at audio frequencies. Also there's the issue that each pixel keeps recording even while you are reading out. Maybe there's a good way around that, like disconnecting the condenser array's biasing supply or something (brain is not operating fully right now, sleepy).
Potentially maybe you could give each 'pixel' (mic) a simple envelope follower (maybe just a diode and a resistor, or maybe need a filter of some sort first...). The idea being that if each pixel has an envelope follower then you just sample the envelope of each pixel, which doesn't have to happen at audio frequencies. You'd lose the ability to do certain types of post processing (FFTs and such), and it would use lots of components, but they'd be relatively cheap and you could relax on the sampling rate and processing horsepower requirements.
Maybe next open house we can kick around ideas in person. Lots of these things are just judgment calls that have to be made.
Those seem a lot smaller than the numbers I am getting from my spreadsheet, odd.I haven't seen any evidence to suggest that a zone plate has a more narrow field of view, my understanding was that it acts just like a convex lens (albeit through a different mechanism), and the FoV of a lens or pinhole is based purely on the focal length and the size of the 'film'. I'm not much of an expert on this stuff unfortunately, so I'll be very curious to see what you turn up. It certainly may be possible that it exhibits worse vignetting or something, though I have no idea.
In planning this project out I'm starting to talk myself into the phased array approach after all. Less cool in some ways, but just a lot more practical in too many other ways to ignore (cost, size, speed of capture, bandwidth...). Current plan is to design a simple 8-channel ADC board around the ADS1178 ADC which I have some experience with. SPI interface, cheap, 16-bit, up to 52kHz sample rate, and I could fairly easily daisy-chain up to 4 boards together (32 channels) on the same bus. A microcontroller could then pull the data off and save it to an SD card for later processing on a computer. You could create stills or even animations at several Hz playback rate, with false color based on the frequencies present at each pixel location. I think it should be fairly doable, definitely more advanced than any amateur phased array I've ever heard of, and if nothing else the daisy-chainable 8-channel digital mic preamp board could probably be reused by all kinds of other projects.
Thanks in advance for any opamp suggestions!
I've been kicking around this idea recently, and I think it just might work. The idea is for a camera that takes pictures with sound instead of light. If you have to ask "Why?" then you don't need one, and you may be on the wrong website! ;) I just think it would be fascinating to play with.
Most light cameras use a lens, but the simplest way to focus the incoming wavefronts onto your pixel array is with a pinhole. The pinhole can be almost any material that is opaque to light at around 550 nm wavelength. The sound equivalent might be some type of sound-deadening baffle, maybe a slab of drywall, or cardboard, or other insulating board. For light, the pinhole is often literally a hole made with a pin, but for sound the wavelengths are many orders of magnitude larger, and so everything has to get correspondingly bigger. For example if our acoustic camera were tuned to pick up roughly 10 kHz audio (wavelength in air is about 1.3 inches), if we had just 32x32 pixels at 1 wavelength pitch, the pixel array would be nearly 4 feet on a side. For a focal length of 2 meters (79 inches) the pinhole would be about 20 inches in diameter, for a 30 degree field of view. Potentially you could capture these low-res images and mosaic a bunch of them together for a much larger image.
That's all well and good, but 32x32 pixels means you need 1024 total microphones! Even if they cost 50 cents a piece (less than the cheapest mic on DigiKey) and could solder each one in 10 seconds, it would cost over $1000 and take 3 hours of soldering just for the mics! Plus you might need an amp for each one, some number of ADCs, some way to pull all that data together, etc. So here's what I'm thinking: you make the imaging array out of large PCB panels that you etch yourself, and you build the mics in yourself as part of it. I'm leaning towards homebrew condenser microphones using aluminum foil as the diaphragm. You'd need to develop a good way to make an array of these mics yourself but it seems doable to me. Here's a page showing one guy's own homebrew condenser microphone, clearly not streamlined to be made hundreds at a time, but still. I think with some experimentation you could get a system down for making 100 mics on a panel in just a few minutes.
http://kt4qw.com/condenser.pdf
I think with the right mic design, you could multiplex them all together using just two inexpensive mux ICs, a single amp, and a single ADC. It would probably take several seconds to capture each image since you'd only be pulling in one pixel at a time, but the processing would be really simple. You could even do an FFT and extract out different frequencies to be displayed in different colors. Different materials would show up in different colors. Practical? No way! It would sure make some cool pictures though.
--
http://creamyrobotgoodness.com/media/random/acousticCamera/animatedgif-test-8x8.gif
This is a half-second animation of the output of my phased array code. The input data is two mono recordings of my voice ('testing' and 'experiment'), placed at simulated locations 10 meters away from the array and a few meters apart. The 'camera' has 80x80 degrees field of view (totally arbitrary without changing the array). In this case the array has 8x8 elements (mics), but the results of a much smaller array (like 16 channels, maybe even less) may be good enough. The output is currently at 10 frames per second but that's arbitrary as well, you could probably crank it up to 1kHz if you wanted to watch individual echoes bounce back off of things. Still tweaking and refining, but I think this is a great start. Hopefully in not too long I can do color (for different frequency bands).
I have no way of contributing to this project but find it very useful. I'm sure audiophiles of all flavors would be very interested in a higher res version with some sort of color registration/calibration.
Could this be used with IR as well? IR cans are very expensive.
Josh
Objects-unlimited.com
IR sensors., Not audio.
Seems like if you are going to develop a system capable of capturing sensor data in this way it could be applied to other realms. Just sayin
Josh
IR as in infrared? IR headphones? I'm not familiar.

This relies on being able to sense the phase of the signal. It can be done but the sensors I know of that can do it are super expensive. Interestingly, microwaves are basically the same sorts of frequencies as audible sound. 802.11 (2.4GHz) is a couple of inches long for example, and this is basically how radar works, with antennas instead of mics.
I would want to use it for IR Thermal imaging.. so film is too slow. Cams start at $1200 for a crappy one and quickly break $10K.
Hmm. I did see some arduino based projects that would do it but they relied on a servo to move the sensor for each pixel capture.
Keep up the interesting work!
Josh
For thermal, the wavelength is way bigger than visible light, but not quite big enough to just treat it as RF and use antennas and such. Building a zone plate to focus thermal radiation would be practical, even easy, but you'd need an array of tons of temperature sensors, probably not practical for DIY. If you could find some cheap sensor that could give you the phase of the signal, you could go the phased array route. They do have drawbacks compared to traditional pixel-array-based cameras though.
The acoustic camera code is coming along well. I just implemented the bandpass filtering last night and have almost got it cranking out RGB images.
Yeah, I saw it. I want to look further. It would need to actually have temp ref/range on side, be relatively accurate and work with my phone. They make some nice promises there..
--
To post to this group, send email to hive76-d...@googlegroups.com
To unsubscribe send email to hive76-discuss...@googlegroups.com
For more awesome goto http://groups.google.com/group/hive76-discussion?hl=en
To post to this group, send email to hive76-discussion@googlegroups.com
To unsubscribe send email to hive76-discussion+unsubscribe@googlegroups.com
For more awesome goto http://groups.google.com/group/hive76-discussion?hl=en
--
To post to this group, send email to hive76-d...@googlegroups.com
To unsubscribe send email to hive76-discuss...@googlegroups.com
I'd like to blog it soon but I'm trying to work out a couple of things first. There seem to be one or two things I haven't properly wrapped my head around yet, so I'm trying to read up and play with simulations to fill in the gaps. I feel like I'm relatively close, but not there yet. I will try to make open house this week if I can, maybe we can kick around some ideas for how to proceed once I've got it working better.