Arduino - BLUETOOTH & ANDROID PIR ALARM sms&call Functies
1 bericht
• Pagina 1 van 1
- arduinosensorsNL
- Berichten: 9
- Geregistreerd: 12 Mei 2016, 01:43
Arduino - BLUETOOTH & ANDROID PIR ALARM sms&call Functies
Code & app die ik heb gemaakt voor de Arduino - BLUETOOTH & ANDROID PIR ALARM
Bekijk de video hier: https://www.youtube.com/watch?v=P16XoMo5Fok
Download de app hier! https://play.google.com/apps/publish/?dev_acc=16266962020491994220#AppDashboardPlace:p=appinventor.ai_addmefaster1.BlueCore_Tech_GSM_PIR_ALARM
Schema.
De onderdelenlijst:
Arduino Uno.
HC-06 Bluetooth Module.
Pir motion detector (DSN-FIR800)
Jumper wire set MM/MF/FF
Android telefoon met APP er op.
De code.
Bekijk hier de instructable! http://www.instructables.com/id/Arduino-BLUETOOTH-ANDROID-PIR-ALARM-With-Call-and-/
Bekijk de video hier: https://www.youtube.com/watch?v=P16XoMo5Fok
Download de app hier! https://play.google.com/apps/publish/?dev_acc=16266962020491994220#AppDashboardPlace:p=appinventor.ai_addmefaster1.BlueCore_Tech_GSM_PIR_ALARM
Schema.
De onderdelenlijst:
Arduino Uno.
HC-06 Bluetooth Module.
Pir motion detector (DSN-FIR800)
Jumper wire set MM/MF/FF
Android telefoon met APP er op.
De code.
- Code: Alles selecteren
const int PirSensor = 2;
int motionState = 0;
void setup() {
Serial.begin(9600);
pinMode(PirSensor, INPUT);
}
void loop() {
motionState = digitalRead(PirSensor);
if (motionState == HIGH) {
Serial.println("1");
motionState = LOW;
delay(20000);
// while(0);
}
}
Bekijk hier de instructable! http://www.instructables.com/id/Arduino-BLUETOOTH-ANDROID-PIR-ALARM-With-Call-and-/
Sensors voor arduino! http://arduinosensors.nl
Advertisement
1 bericht
• Pagina 1 van 1
Terug naar Afgeronde projecten
Wie is er online?
Gebruikers in dit forum: Geen geregistreerde gebruikers en 4 gasten