Sound Sensor HELP

Hitec robotics including ROBONOVA humanoid, HSR-8498HB servos, MR C-3024 Controllers and RoboBasic
1 postPage 1 of 1
1 postPage 1 of 1

Sound Sensor HELP

Post by dneo » Thu Nov 19, 2009 3:32 am

Post by dneo
Thu Nov 19, 2009 3:32 am

hi, im using robobasic v2.5
very basic codes i think, not familliar though.

I've found this set of sound sensor codes :

Dim A as Byte
A=AD(0)
main:
IF A > 55 then MUSIC “C0” ‘if too loud, then make beep sound
goto main


however, i do not want to integrate music in my robot.
Instead, i want it to detect a clap sound and then walk forward. something like that.
Any idea of how to do it? how to input the value of clap? whats the value of clap?
hi, im using robobasic v2.5
very basic codes i think, not familliar though.

I've found this set of sound sensor codes :

Dim A as Byte
A=AD(0)
main:
IF A > 55 then MUSIC “C0” ‘if too loud, then make beep sound
goto main


however, i do not want to integrate music in my robot.
Instead, i want it to detect a clap sound and then walk forward. something like that.
Any idea of how to do it? how to input the value of clap? whats the value of clap?
dneo offline
Robot Builder
Robot Builder
Posts: 7
Joined: Tue Nov 10, 2009 3:29 am

1 postPage 1 of 1
1 postPage 1 of 1
cron