Well, I can answer that.
Anything on the front side of the head would be synonymous with the back side with only 2 mics.
In all honesty, this won’t much matter.
A servo only has 180 degrees of rotation, anyhow.
If you’re behind the bot’s head and shout, it will turn it’s head so that the back of the head points directly at you.
This would look a bit odd.
Sort of like the bot is purposefully ignoring you.
For that reason, I probably won’t bother fixing it.
Yes, another microphone would alleviate that.
And, no, I can’t think of any way to do fix it without the aid of a third sensor of some sort.
Oh, and Mike, stop putting yourself down.
Just look at me.
::points at self::
Does it look like I know anything?!
(Really, it’s OK, you don’t have to answer that. )
Pete, that’s a really neat way to do it.
I had been wondering how you were going to time the two sounds with only a single processor that’s not capable of true multitasking.
Leaving the sensing of that to the micro’s hardware sounds like a good way to overcome those problems.
I’ve been looking at what your speed of sound example said and it seems like even the distance of mike’s bot head would be enough to give an ample resolution with a decent micro.
Assuming only an inch of distance between the two mics, there’s still a max delay of 83uS or so, which is rather long in the micro world.
Still, though, I’m going to mount those buggers as far appart as I can on my bot.
Ahh…
That comparator stage looks like a nice way to save an interupt input.
I’m a bit confused about that, though.
How are you going to have your micro tell the difference between a high and a low if the inputs of the comparator stage will be varying analog levels?
Won’t the signal coming out of the comparator be of a varying level as well, susceptible to dishing out a voltage at a level that your micro will have trouble deciding is high or low?
From looking at it, I’m assuming that the input pins will interupt on change, as it looks like you’d need that, rather than them interupting on just high or low, as I had previously assumed they did.
Is that actually how they work?
Oh… and it looks like you’re sharing your programming pins with the audio “loudness” inputs.
I had been told that this was a no-no for beginners like me.
How are you keeping them from messing with each other?
Are you just planning to be real quiet when programing, or is there something going on here that I don’t understand?
(Probably the latter. )