Author Topic: I want to make a robot beep in certain situations  (Read 2345 times)

0 Members and 1 Guest are viewing this topic.

Offline m4ntiTopic starter

  • Jr. Member
  • **
  • Posts: 27
  • Helpful? 0
I want to make a robot beep in certain situations
« on: September 27, 2009, 10:44:02 AM »
Do you know what the part which will do the beeping is called? (Then I'll find how to connect it myself no worries)

Offline Soeren

  • Supreme Robot
  • *****
  • Posts: 4,672
  • Helpful? 227
  • Mind Reading: 0.0
Re: I want to make a robot beep in certain situations
« Reply #1 on: September 27, 2009, 02:19:48 PM »
Hi,

Several options for beeping really; loudspeaker, piezo buzzer, piezo disc etc. Some just needs a supply voltage to beep, other types need an oscillator to drive them.
Regards,
Søren

A rather fast and fairly heavy robot with quite large wheels needs what? A lot of power?
Please remember...
Engineering is based on numbers - not adjectives

Offline m4ntiTopic starter

  • Jr. Member
  • **
  • Posts: 27
  • Helpful? 0
Re: I want to make a robot beep in certain situations
« Reply #2 on: September 28, 2009, 12:18:41 AM »
Does a buzzer work by supplying voltage?

I just want something like: I pass a 1 and it beeps. Is it possible? Nothing too complex, just to add some fun to it, you know?

Offline galannthegreat

  • Supreme Robot
  • *****
  • Posts: 615
  • Helpful? 4
  • Blue-Lensed Blue LEDs?! What?! Impossible!!
Re: I want to make a robot beep in certain situations
« Reply #3 on: September 28, 2009, 12:37:09 AM »
Yes you can do this very easily. you could try connecting the buzzers positive lead to the output of the MCU and the negative lead to the negative, then send a HIGH signal to the pin for a certain amount of time.

example in pseudo code:
output_HIGH;
delay_500ms;
output_LOW;

Hopefully that is what you wanted. :)
Kurt

Offline m4ntiTopic starter

  • Jr. Member
  • **
  • Posts: 27
  • Helpful? 0
Re: I want to make a robot beep in certain situations
« Reply #4 on: September 28, 2009, 12:40:41 AM »
exactly what i wanted :) cheers!

Offline galannthegreat

  • Supreme Robot
  • *****
  • Posts: 615
  • Helpful? 4
  • Blue-Lensed Blue LEDs?! What?! Impossible!!
Re: I want to make a robot beep in certain situations
« Reply #5 on: September 28, 2009, 12:46:37 AM »
Cool. I hope it works for you! :)
Kurt