Skip to main content

Posts

raspberry pi 3 lcd working code

Recent posts

garbage monitoring using arduino code with gsm

#include <SoftwareSerial.h> #include <LiquidCrystal.h> //LiquidCrystal lcd(7, 6, 5, 4, 3, 2); LiquidCrystal lcd(13, 12, 11, 10, 9, 8); SoftwareSerial mySerial(0,1); #define trigPin 2 #define echoPin 3 #define PIR_sensor 4 #define m11 5 #define m12 6 void setup() {    lcd.begin(16, 2);    lcd.print("    Garbage    ");    Serial.println("garbage ");   lcd.setCursor(0,1);   lcd.print("   Open Close    ");   Serial.println(" open close");   delay(3000);   lcd.clear();   //lcd.print(" ");   delay(2000); mySerial.begin(9600); // Setting the baud rate of GSM Module Serial.begin (9600); pinMode(trigPin, OUTPUT); pinMode(echoPin, INPUT);  pinMode(m11, OUTPUT);   pinMode(m12, OUTPUT);   } void loop() {  readPIR();  pingDist();  SendMessage(); } void pingDist ()   {     long duration, distance; int max = 80; // Let consider as Height of the Garbage Bin is = 80 cm. float diff, perc; d

gsm gps finger print arduino code

#include <string.h> #include <ctype.h> #include <LiquidCrystal.h> LiquidCrystal lcd(13, 12, 11, 10, 9, 8); #include <SoftwareSerial.h> SoftwareSerial mySerial(7, 6); // RX, TX char fy=0; // constants won't change. They're used here to // set pin numbers: const int buttonPin = 7;     // the number of the pushbutton pin int buttonState1 = 0;         // variable for reading the pushbutton status int buttonState2 = 0;         // variable for reading the pushbutton status int buttonState3 = 0;         // variable for reading the pushbutton status  int ledPin = 8;                  // LED test pin  int rxPin = 0;                    // RX PIN  int txPin = 1;                    // TX TX  int byteGPS=-1;  char linea[300] = "";  char lat[30] = "";  char lon[30] = "";  char comandoGPR[7] = "$GPRMC";  int cont=0;  int bien=0;  int conta=0;  int indices[13]; int sensorValue1 = 0;  // variable to

temparture gas humiditiy arduino code using iot

 #include <string.h>  #include <ctype.h> #include <LiquidCrystal.h> LiquidCrystal lcd(13, 12, 11, 10, 9, 8); char fy=0; // constants won't change. They're used here to // set pin numbers: const int buttonPin = 7;     // the number of the pushbutton pin int buttonState1 = 0;         // variable for reading the pushbutton status int buttonState2 = 0;         // variable for reading the pushbutton status int buttonState3 = 0;         // variable for reading the pushbutton status  int ledPin = 8;                  // LED test pin  int rxPin = 0;                    // RX PIN  int txPin = 1;                    // TX TX  int byteGPS=-1;  char linea[300] = "";  char lat[30] = "";  char lon[30] = "";  char comandoGPR[7] = "$GPRMC";  int cont=0;  int bien=0;  int conta=0;  int indices[13]; int sensorValue1 = 0;  // variable to store the value coming from the sensor int sensorValue

blood pressure using arduino code with lcd display

// include the library code: #include <LiquidCrystal.h> // initialize the library with the numbers of the interface pins LiquidCrystal lcd(13, 12, 11, 10, 9, 8); int buttonState = 0;         // variable for reading the pushbutton status // These constants won't change.  They're used to give names // to the pins used: const int analogInPine = A0;  // Analog input pin that the potentiometer is attached to const int analogInPinb = A1;  // Analog input pin that the potentiometer is attached to int sensorPin = A5;    // select the input pin for the potentiometer int sensorValue = 0;  // variable to store the value coming from the sensor int count=0,fl; unsigned long time1=0;  // store the initial time unsigned long time2;    // store the current time   int count1; int sensorValue1 = 0;        // value read from the pot void setup() {         lcd.setCursor(0, 0);   lcd.print("PRESSURE:            ");     } void loop() {   // read the an

Dynamic Outsourced Auditing Services

Jio

Reliance Jio planning its own  cryptocurrency called JioCoin  elder son Akash Ambani leading the JioCoin project, Reliance Jio plans to build a 50-member team of young professionals to work on blockchain technology, which can also be used to develop applications such as smart contracts and supply chain management logistics