NEW: Learning electronics? Ask your questions on the new Electronics Questions & Answers site hosted by CircuitLab.
Project Help and Ideas » Piezoelectric Sound Meter
May 01, 2010 by CyberGod ![]() |
I am trying to measure the voltage between VOUT and GROUND as per this schematic http://www.nerdkits.com/videos/sound_meter/schematic.png while I am making some noise. I don't see any voltage changes on the multimeter. Does this mean that the multimeter is not sensitive enough to register the voltage change but the MTU will or am I doing something wrong ? |
---|---|
May 01, 2010 by CyberGod ![]() |
I am also getting this error when I run make:
Any suggestions, I am using the LCD source code. |
May 01, 2010 by mrobbins (NerdKits Staff) ![]() |
Hi CyberGod, For your compilation problem, try editing the Makefile. At the end of the LINKFLAGS line, remove "-lm". At the end of the LINKOBJECTS line, add "-lm". Now, run "make" again and see if it works. This appears to just be a bug with certain compiler versions which are sensitive to the order of how libraries are linked. You might not see changes on the multimeter because the sound signal is an changing (AC) signal. Your multimeter, if in a DC measuring mode, is just showing you the average value, which probably won't be affected by sound. Even in an AC mode, many multimeters may not show you what you might expect because of the DC offset. Please give this a try and let us know if it works! Mike |
May 01, 2010 by CyberGod ![]() |
That did it, thank you very much for your help! Now I am going to hook the water pump and every time my cat mews in front of the door she'll get wet and hope will not wake me every morning (insert evil laugh here). |
May 01, 2010 by CyberGod ![]() |
oh one more thing, what does the -lm flag do and where can I find more information about all these flags ? |
May 01, 2010 by mrobbins (NerdKits Staff) ![]() |
Poor cat... :-) Please post some photos / a video when you're done! The -lm flag tells the linker to link the math library -- specifically libm.a. See Controlling the Linker for more details / other linker flags. Running "avr-gcc --help" may also be a concise source of information. Mike |
May 02, 2010 by mongo ![]() |
I can't help but laugh here. That was funny! Great idea though, I might try it myself. |
Please log in to post a reply.
Did you know that any circuit of voltage sources and resistors can be simplified to a "Thevenin" equivalent circuit? Learn more...
|