Things used in this project

Hardware components:
Ard nano
Arduino Nano R3
or the Arduino Pro Mini
×1
51gzz5eu9pl. sx425
Ultrasonic Sensor - HC-SR04 (Generic)
×3
11026 02
Jumper wires (generic)
×1
HC-06 Bluetooth Module
×1
Gus 1719
C.H.I.P. Approved 3.7 V LiPo Battery
×1
Adafruit industries ada1536 image
Buzzer
×1
Hand tools and fabrication machines:
09507 01
Soldering iron (generic)
Hy gluegun
Hot glue gun (generic)

Code

buzzer.inoArduino
int outPin = 5;  // connect buzzer to pin 5
void setup(){
Serial.begin(9600);
pinMode(outPin,OUTPUT);
}
void loop(){
  if (Serial.available()){
  char bt = Serial.read();
  if(bt == 'u'){    // buzzer on       
digitalWrite(outPin,HIGH);
 }
  else if (bt == 's'){    // buzzer off  
digitalWrite(outPin,LOW);
 }
  }
}

Credits

Replications

Did you replicate this project? Share it!

I made one

Love this project? Think it could be improved? Tell us what you think!

Give feedback

Comments

Similar projects you might like

Sigfox Forest Fire Detector
Intermediate
  • 524
  • 4

Full instructions

How to prevent forest from burning? A small Sigfox signal can prevent natural disasters. We will use an Arduino MKRFOX + a flame detector

Control the Injection of a Liquid
Intermediate
  • 283
  • 2

Protip

Control the injection of a liquid with GOBLIN 2 from anywhere via Ubidots platform.

How to build a text to speech IOT speaker
Intermediate
  • 115
  • 1

Full instructions

In this project we'll be building a speaker that has text to speech ability and will expose a secure API for remote control.

Otto DIY+ Arduino Bluetooth robot easy to 3dprint
Intermediate
  • 12,223
  • 58

Work in progress

"Otto DIY with steroids" + Bluetooth + APP + switch + sensors + strength +...

C.H.I.P.py Ruxpin ʕ•ᴥ•ʔ
Intermediate
  • 48,567
  • 73

Full instructions

Bring Teddy Ruxpin back to life, but on your own terms! Make him say whatever you want, or have him search twitter to read tweets!

Spideruino
Intermediate
  • 12,334
  • 54

A Lego arachnid controlled by your smartphone.

Add projectSign up / Login