how to wire and test for true mini microphone?
iamdenteddisk
Posts: 66
I·got a mini microphone and want to test for true 1 for sound 0 for none how to wire and test for BS2 would be nice im sure someone knows? who can help gets credit for it... also is it possible to test value of microphone? I havent seen this yet in docs..
Comments
p.s. I'm wondering "Mike green" do you work for parallax ,I have come here my self atleast 4 times for undocumented help and out of those four times you have offered the best tech help 4 in a row . If you dont work for them you should or atleast setup a paypal account to recieve donation's from greatful user's of your advice. you and a few others like you have kept me on track and my project progressing Thanks!! to my R&D team here.
Round up OJ Simpson and a 741!
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
·"If you build it, they will come."
·But there is actualy is a way to emulate lie detection useing an amplifier and some recording method"record/playback ic"·as in when truth is told about simple subjects like "is the sun yellow?" the laymen's answer is usualy yes and can be recorded then a more complex question asked then 2 yes's can be compared with looking for·normalizeation if the 2 are the same truth can be suposed but if there is a pause or stutter or a crackle noticed then a lie can be suposed. though it isnt 100% acurate it is usualy prety close and to my knollage no lie detection attempt has yet been proven 100% accurate yet. -perhaps someone can use this in a project and document it here..also there are some documentation as to the body chemistry changeing intantaniously with stress or sweating·-this is actualy 2 parts of a real lie detector to test vocal response and continuity "wich is basicly a sensitive ohmmeter"then a third part is to monitor heart rate these are three parts I know of any way.
still there has been no input as to how to test value of mic pitch or volume·, my intension was to use it to home in on a certian pitch/volume"or follow"·or even as a method of testing distance from echo volume "like sonar"because the spkr is so easy to implement on parallax bs2 boards.
·
Testing for volume means you'll need an ADC, and you'll have to find the local maximums (and minimums) of each wave cycle which will be your amplitude.
Pitch will require using the zero crossing method for simple monophonic sound, or (more likely) using FFT algo (which I think is posted somewhere for the BS2) which will five you frequency of the dominant sound.
If you know the pitch you're looking for, zero crossing with a hardware filiter could possibily work without spending all the cycles needed for FFT. That said, using a BS2 will mean either high level inaccuracy if your doing other things, or not being able to do much else. You may want to look at the propeller for this project.
if I can get some of this implemented I can get 2 way speech working with the speech engine that would be sweet !!!! vocal input and audible output .
By the way the speech engine is allready some big achivement for me and has so far been relitively cheap,and its quiet mind boggleing once you get a few hours chatt put in it it is almost like the machine dissapears and a human is on the other end, as far as my experiance with the popular chattbots you see online this is much more sugnificant and capable. and it is going to also have physical response useing any robot platform I add it to . dont know how many have been following my post for beta tester's but if you are serious about bot building I suggest jumping in for the experiance and if you want to be apart of its development send me an email,feedback. my intensions for this is freeware but the experiance is priceless and better than any degree in my oppinion if for only the diversity of materials and tools your exposed to. aswell as access to my vast reserch library's
I'm hopeing to get a few day's here soon to edit my website to accomidate this instead of clogging the forums here but this is where I spend alot of my off time so it kinda naturaly became the place to post my work.
The ADC083n (1, 2, 4) is a series of 8 bit devices with 1, 2, or 4 channels that also has sample code available.
LATER..
weirdly enough
any way I got to take a break from building for a while and let software catch back up ,my wallet keeps telling me its getting hungry too.
and once I get some more done on the software I will try to get a show and tell package together for the forum. I realy have been working on some cool things ,things I never thought possible on my budget. I can keep working on the software cause it cost only time but my next few steps on the robot requires some prety expensive additiions and a possible scrap of the bug project and push in the humanoid direction because the speech engine/AI is getting so "able" I realy think Im ready for it as soon as I can afford to.
I'm gonna offer the original bugbot chassis for sale and offer to make upgraded model's too as I concieved doing a beetle,wasp,scorpion from the original if i get any taker's I can apply that aswell as the thin slice I get of my pay to the next project.
Thanks guy's for all the help and a generaly good experiance bugbot was and is a successfull project and experiment,··now to Im off to·a new direction·.
·