Posts

Showing posts from July, 2018

arduino controlled motor and servo in tamil

Image
if you want my app dowload here: https://docs.google.com/uc?export=download&id=1hZIQLwD-Ou2L5EhuSKH4Tmn6ECjB-kJ_ codings #include <SoftwareSerial.h>  #include <Servo.h> Servo servo;  int bluetoothTx = 10; // bluetooth tx to 10 pin int bluetoothRx = 11; // bluetooth rx to 11 pin SoftwareSerial bluetooth(bluetoothTx, bluetoothRx); int motorpas = 5; //connect passitive pin of motor in 5 int motorneg = 6; //connect negative pin of motor in 6 int servoPin = 9; //connect servo signal pin in 9 int level = 0; void setup() {  Serial.begin(9600);  bluetooth.begin(9600);  pinMode(motorpas,OUTPUT);  pinMode(motorneg,OUTPUT);  servo.attach(servoPin); } void loop() {   if(bluetooth.available()>0)   {     unsigned int cmt;     cmt = bluetooth.read();     Serial.write(cmt);     Serial.println();     if(cmt == 'a')     {       servo.write(0);     }     else if(cmt == 'b')     {       serv

arduino controlled motor and servo in tamil

Image
if you want my app dowload here: https://docs.google.com/uc?export=download&id=1hZIQLwD-Ou2L5EhuSKH4Tmn6ECjB-kJ_ codings #include <SoftwareSerial.h>  #include <Servo.h> Servo servo;  int bluetoothTx = 10; // bluetooth tx to 10 pin int bluetoothRx = 11; // bluetooth rx to 11 pin SoftwareSerial bluetooth(bluetoothTx, bluetoothRx); int motorpas = 5; //connect passitive pin of motor in 5 int motorneg = 6; //connect negative pin of motor in 6 int servoPin = 9; //connect servo signal pin in 9 int level = 0; void setup() {  Serial.begin(9600);  bluetooth.begin(9600);  pinMode(motorpas,OUTPUT);  pinMode(motorneg,OUTPUT);  servo.attach(servoPin); } void loop() {   if(bluetooth.available()>0)   {     unsigned int cmt;     cmt = bluetooth.read();     Serial.write(cmt);     Serial.println();     if(cmt == 'a')     {       servo.write(0);     }     else if(cmt == 'b')     {       servo.write(45);     }     else if(cmt == 'c')     {       servo.write(90)

RFID attendance system review in tamil

Image
this video is my 100th video in youtube to get my app click here before uploading change the uid code of the your RFID tag... then upload that code coding for that video  /* PINOUT: RC522 MODULE    Uno/Nano     MEGA SDA             D10          D9 SCK             D13          D52 MOSI            D11          D51 MISO            D12          D50 IRQ             N/A          N/A GND             GND          GND RST             D9           D8 3.3V            3.3V         3.3V */ /* Include the standard Arduino SPI library */ #include <SPI.h> /* Include the RFID library */ #include <MFRC522.h> #include <LiquidCrystal.h> LiquidCrystal lcd(2,3,4,5,6,7);//rs,e,d0,d1,d2,d3 String rfid = ""; bool id1 = false; bool id2 = false; int successRead; /* Define the DIO used for the SDA (SS) and RST (reset) pins. */ #define SDA_DIO 10 #define RESET_DIO 9 /* Create an instance of the RFID library */ MFRC522

arduino with ultra sonic and RGB led in tamil

codings for this video #define trig 8 #define echo 9 int red = 10, green = 11,blue = 12; void setup() {   Serial.begin(9600);   pinMode(trig,OUTPUT);   pinMode(echo,INPUT);   pinMode(red,OUTPUT);   pinMode(blue,OUTPUT);   pinMode(green,OUTPUT); } void loop() {   long duration , distance;      digitalWrite(trig,LOW);   delay(2);   digitalWrite(trig,HIGH);   delay(2);   digitalWrite(trig,LOW);      duration= pulseIn(echo,HIGH);   distance=(duration/2)/29.1;   Serial.println(distance);   if(distance <= 10)   {     digitalWrite(red,LOW);     digitalWrite(blue,LOW);     digitalWrite(green,HIGH);   }   else if(distance <= 15)   {     digitalWrite(red,LOW);     digitalWrite(blue,HIGH);     digitalWrite(green,LOW);   }   else if(distance <= 20)   {     digitalWrite(red,HIGH);     digitalWrite(blue,LOW);     digitalWrite(green,LOW);    }   else   {     digitalWrite(red,LOW);     digitalWrit