Posts

Showing posts from April, 2019

Man with science and tech || How to make bletooth home automation || by *Manohar Gella*

Image
Arduino  is an  open-source hardware  and  software company, project and user community that designs and manufactures  single-board microcontrollers  and  microcontroller  kits for building digital devices and interactive objects that can sense and control both physically and digitally. Its products are licensed under the  GNU Lesser General Public License  (LGPL) or the  GNU General Public License  (GPL), [1]  permitting the manufacture of Arduino boards and software distribution by anyone. Arduino boards are available commercially in preassembled form or as  do-it-yourself (DIY) kits. Arduino   Arduino Uno  SMD R3 Developer arduino.cc Manufacturer Many Type Single-board microcontroller Operating system None CPU Atmel AVR  (8-bit), ARM Cortex-M0+  (32-bit), ARM Cortex-M3  (32-bit), Intel Quark  ( x86 ) (32-bit) Memory SRAM Storage Flash ,  EEPROM Website www .arduino ...
Image
Home automation bluetooth code void setup() { Serial.begin(9600); pinMode(8, OUTPUT); pinMode(9, OUTPUT); pinMode(10, OUTPUT); pinMode(11, OUTPUT); pinMode(12, OUTPUT); pinMode(13, OUTPUT); } void loop() { unsigned char x; digitalWrite(12, 0);delay(1); digitalWrite(11, 0);delay(1); digitalWrite(10, 0);delay(1); digitalWrite( 9, 0);delay(1); while(1) { x=Serial.read(); if(x=='1') {digitalWrite( 9, 1);delay(100);} if(x=='A') {digitalWrite( 9, 0);delay(100);} if(x=='2') {digitalWrite(10, 1);delay(100);} if(x=='B') {digitalWrite(10, 0);delay(100);} if(x=='3') {digitalWrite(11, 1);delay(100);} if(x=='C') {digitalWrite(11, 0);delay(100);} if(...