Niranjan
Published © CC BY-NC-SA

Find Me

Tired of losing your keys, wallet and phone? Attach the Find Me to any item and use the app to locate it in seconds.

IntermediateFull instructions provided4 hours13,189
Find Me

Things used in this project

Hardware components

Arduino Nano R3
Arduino Nano R3
or the Arduino Pro Mini
×1
Ultrasonic Sensor - HC-SR04 (Generic)
Ultrasonic Sensor - HC-SR04 (Generic)
×3
Jumper wires (generic)
Jumper wires (generic)
×1
HC-06 Bluetooth Module
×1
3.7 V LiPo Battery
×1
Buzzer
Buzzer
×1

Hand tools and fabrication machines

Soldering iron (generic)
Soldering iron (generic)
Hot glue gun (generic)
Hot glue gun (generic)

Story

Read more

Code

buzzer.ino

Arduino
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

Niranjan

Niranjan

4 projects • 12 followers
A mechanical graduate passonate about arduino and raspberry pi

Comments