Sound effects from robots
Hi, i am part of a team building a robot which can trakc and fight another. The robot we are supposed to detect is supplied fitted with a 365 degree high intensity side emitting red LED modulated at 2048Hz.
our team is thinking of a twin t filter for the job, but we would like some advice on this.
Also, we want our robot to produce noises. How can we do that? We want to record ourselves.
Thanks.



@ Wed, 2010-02-10 19:00
We dont really have an
@ Thu, 2010-02-11 00:13
The voltage drop is a
The voltage drop is a function of the properties of the L298 and the current draw by the motors, so if you can't change either it's not going to go away. You could get a higher voltage supply, but it will either be physically larger, or not run your robot for as long off a single charge. Also the more voltage you feed the motors, the higher the motor current, and therefore the voltage drop across the L298 will probably go up a bit too... but at least you'll get more speed and power from the motors.
The other option, using a voltage booster, has a few potential drawbacks too. I don't know what kind of current your motors are drawing, but to get a voltage booster that can handle such a current would probably cost a bit, or take some serious design work to build. In the end I suspect that it wouldn't be worth the hassle to add one of these, especially since the booster won't be perfect, and will further decrease battery life.
@ Wed, 2010-02-10 00:05
Also, we are using an L298
@ Wed, 2010-02-10 00:25
Rather than boosting the
Rather than boosting the voltage, I'd suggest looking into a better motor driver, preferably one that uses relays or MOSFETs to reduce the voltage losses. There are several interesting motor driver designs here on LMR (search bar is your friend), and many many more out there on the web.
You can get motor driver ICs that are similar to the L298 but with better voltage drop characteristics if you have a look around.
@ Tue, 2010-02-09 23:19
We are using C. Thanks for
@ Mon, 2010-02-08 21:59
Thanks for the Phillips
Thanks for the Phillips version, it was much better,
I am using a Freescale HCS08 microcontroller. Can anyone please tell me how to start on recording noises which our robot can generate using a speakerphone when performing specific tasks? What is the best way to integrate all the circuitry needed?
@ Tue, 2010-02-09 00:26
How experienced are you with
How experienced are you with programming the HCS08? What language are you using?
You can add a tiny electret microphone to your robot, or a 3.5mm microphone jack, and use the HCS08 itself to record the sound data into memory when a button is pressed (or whatever, depending on available input options). Piezo speaker elements aren't so great at reproducing lower frequency sounds, so make sure you use a proper coil speaker (a small mylar diaphragm one should do nicely). Speaker driver circuits for microcontrollers are typically very simple, so I won't go into that for now.
If you're not so hot on the programming side, you can get an external IC to do almost all of the work for you. The ISD1212 is one such chip that I've used myself, but there are many others out there. They usually give you a recommended circuit as well, which is handy. The IC is able to do all the recording, storing and output by itself, and you can either use buttons or the microcontroller to send signals to it. You may want to have a manual record function, but the microcontroller determins what sounds are played back and when. Since the IC is doing all the hard work, the micro doesn't have to dedicate memory and time to processing the audio.
@ Sat, 2010-02-06 19:26
if you could breakdown the
@ Sat, 2010-02-06 22:41
Read the data sheet
I posted a link to the datasheet. Here is the Phillips version which explains it better. Note: the VCO is not required for your project, just the phase comparator.
I also explained the output is a digital PWM output. Also explained in the data sheet.
@ Sat, 2010-02-06 19:16
One cheap way is to use
One cheap way is to use a CD4046 PLL. This cheap IC has a digital phase comparator. By feeding it the freqeuncy you want to detect on one input and the output of a phototransistor on the other input you get a simple PWM digital output that can easily be converted to an analog output if necessary using an RC filter.