Arduino Uno Free Sketch Codes

IOT Based GPS Tracking

//Purchase a device ID and replace it with the xxxxx value found above void setup(String deviceID = “xxxxx”;) and upload code.
//For more information, contact us using any of the means below:
//WhatsApp Chat: +2347031011012
//Email: customercare@akifagoelectronics.com
//
//
#include
#include
#include
TinyGPS gps;
SoftwareSerial gsm(2, 3);
int gpsLed = 4;
String latitude = “”;
String longitude = “”;
String deviceID = “xxxxx”; //Change xxxxx To Purchased device ID

void setup() {
Serial.begin(9600);
gsm.begin(9600);
pinMode(gpsLed, OUTPUT);
delay(10000);
}

void loop() {
bool newData = false;
unsigned long chars;
unsigned short sentences, failed;
// For one second we parse GPS data and report some key values
for (unsigned long start = millis(); millis() – start < 1000;)
{
while (Serial.available())
{
char c = Serial.read();
// Serial.write(c); // uncomment this line if you want to see the GPS data flowing
if (gps.encode(c)) // Did a new valid sentence come in?
newData = true;
}
}
if (newData)
{
float flat, flon;
unsigned long age;
gps.f_get_position(&flat, &flon, &age);
//
latitude = String(flat == TinyGPS::GPS_INVALID_F_ANGLE ? 0.0 : flat, 6);
longitude = String(flon == TinyGPS::GPS_INVALID_F_ANGLE ? 0.0 : flon, 6);
//
digitalWrite(gpsLed, HIGH);
//
sendData();
}
if (!newData){
//
digitalWrite(gpsLed, LOW);
//
}
}

void sendData(){
gsm.println(“AT+CSQ”);
delay(1000);
gsm.println(“AT+CGATT?”);
delay(1000);
gsm.println(“AT+SAPBR=3,1,CONTYPE,GPRS”);
delay(1000);
gsm.println(“AT+SAPBR=3,1,\”APN\”,\”\””);
delay(1000);
gsm.println(“AT+SAPBR=1,1”);
delay(1000);
gsm.println(“AT+HTTPINIT”);
delay(1000);
gsm.println(“AT+HTTPPARA=CID,1”);
delay(1000);
gsm.println(“AT+HTTPPARA=URL,www.akifagoelectronics.com.ng/AEC78TGPSTRA2CK/dataUpdate_one.php?id=” + String(deviceID) + “&latitudeValue=” + String(latitude) + “&longitudeValue=” + String(longitude));
delay(1000);
gsm.println(“AT+HTTPACTION=0”);
delay(1000);
gsm.println(“AT+HTTPTERM”);
delay(1000);
}

RFID Based Student Attendance System Using Android Mobile Application

Circuit Diagram and Arduino Uno Source Code:

https://www.akifagoelectronics.com/akifagoProjects/RFID%20Based%20Student%20Attendance%20System%20with%20Android%20Mobile%20Application.pdf