making my piezobuzzer and vibrator run simultaneously with obstacle detection


logic:
obstacle detection thru hc-sr04 ultrasonic sensor.
if obstacle detcted in given range, vibrator , buzzer tone should on follows:
range:           vibrator         buzzer tone
300-400cm     slow               off
200-300 cm     moderate       on(with less volume)
100-200 cm     high              on(more volume)

all components working fine.
enclosing sensor characteristics , program.
p.s: hv include ultrasonic library sensor..as m getting results without too.tell me how include , use library in program.
sensor:http://iteadstudio.com/produce/cheap-cheap-ultrasonic-ranging-modulehc-sr04/
vibrator-2.2 volts


















when should our assignment ready by?


Arduino Forum > Using Arduino > Programming Questions > making my piezobuzzer and vibrator run simultaneously with obstacle detection


arduino

Comments

Popular posts from this blog

Thread: PKI Client 5.00 install (for eToken Pro)

ATmega2560-Arduino Pin Mapping

Crossfader Arduino Tutorial