描述
App Information AlAleem Smart Prayer Times LED
- App NameAlAleem Smart Prayer Times LED
- 包名com.alaleem
- 发布日期Dec 14, 2022
- 文件大小Undefined
- 系统要求Android 4.0
- 版本1.5
- 开发者Syed Anwaarullah
- 安装-
- 价钱免费
- 分类
- 开发者
- Google Play Link
Syed Anwaarullah 更多...
Arduino-Android HomeAutomation 1.0 APK
A mimimalistic demo app of Voice Controlled Home AppliancesusingArduino. The source code for Arduino and Android app will bemadeavailable on my blog http://anwaarullah.com soon. If you needanyhelp in building the Circuit, please email meatsyed@anwaarullah.com Basic Setup: 1. Connect a Bluetooth Moduletothe Arduino Serial Port 2. Connect 3 Loads (or LEDs for testing)toPins 8,9 and 10 3. Upload the Arduino Code below 4. Open theAppand establish a connection with the Bluetooth Module 5. SelecttheAppropriate buttons and the LEDs/Load should lit up accordinglyThefollowing pins are connected to the Buttons on the App: YellowLamp= Digital Pin 8 of Arduino Fan = Digital Pin 9 of Arduino RedLamp= Digital Pin 10 of Arduino To give in voice commands, hit themicbutton and say in any of these commands: "red lamp on" "redlampoff" "fan on" "fan off" "yellow lamp on" "yellow lamp off"I'veattached a sample schematic that can be used for referenceinconnecting. To see a demo of this application, please visitthisvideo http://vimeo.com/53071330 and navigate to 20:00 on thevideo.This was a talk where I made this App for a demo. ####ArduinoSource Code #### char ch = 'A'; int lamp1 = 8; int lamp2 =9; intlamp3 = 10; void setup() { Serial.begin(9600);pinMode(lamp1,OUTPUT); pinMode(lamp2, OUTPUT); pinMode(lamp3,OUTPUT);digitalWrite(lamp1, LOW); digitalWrite(lamp2,LOW);digitalWrite(lamp3, LOW); } void loop() { if(Serial.available()> 0) { ch = Serial.read(); if (ch == '1') {digitalWrite(lamp1,HIGH); } if (ch == '2') { digitalWrite(lamp2,HIGH); } if (ch =='3') { digitalWrite(lamp3, HIGH); } if (ch =='4') {digitalWrite(lamp1, LOW); } if (ch == '5') {digitalWrite(lamp2,LOW); } if (ch == '6') { digitalWrite(lamp3,LOW); } } delay(500);ch = 'A'; } Note: Please be careful whilehandling high voltageloads. Take all necessary precautions whilebuilding the circuit.I'm not responsible for any damage whatever,in any way whatsoeverarising out of the use of this App (Physicalor Material).