Sunday, 17 December 2023

Capacitive Fingerprint R503 Reading Problem Resolved

Using Capacitive Sensor with existing available projects with common Adafruit_Fingerprint.h library 

in most cases it will not work , for  solution of said issue we have to make some changes in the existing Adafruit library .

Search the below file in the "h "and update it

0x1B to 0x04

''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''

from:

#define FINGERPRINT_HISPEEDSEARCH 0x1B

to :

#define FINGERPRINT_HISPEEDSEARCH 0x04



Sunday, 10 December 2023

Sim800l Module Power Supply

Beside of very good and cheap Sim800l module , it is very hard to manage perfect power supply which it maintain the required voltage for th module.

Though it required up to 2 Amps at max burst , but it will work fine here  , capacitor will add more power stability to the module 

Battery will be also keep charging here, there is also cutoff circuit inside battery ,

you donot have the over charging issue for battery 

It will maintain power for SSim module while any interruption in input

  1. Micro USB TP4056 Lithium Battery 18650 Charger Module 1A 3.7V
  2. GSM Module
  3. General Mobile set Battery 
  4. 1000uf 6.3v Capacitor


 

Tuesday, 25 July 2023

AVRDUDESS + Arduino Atmega16 & Atmega8 programming

 Arduino  Atmega16 programming ,

Before programing arduino as ISP should be uploaded ,

then use avrduddess for HEX uploading , no crystal used in Atmega16 case , some time it required 16MHz Crystal

Crystal will be used in case of Atmega8 

Arduino Pin 13 ke ATMega16 Pin 8 (or SCK of another microcontroller)

Arduino Pin 12 ke ATMega16 Pin 7 (or MISO of another microcontroller)

Arduino Pin 11 ke ATMega16 Pin 6 (or MOSI of another microcontroller)

Arduino Pin 10 ke ATMega16 Pin 9 (or RESET of another microcontroller)

Arduino 5+ to ATMega16 Pin 10 (or Vcc of another microcontroller)

Arduino Gnd to ATMega 16 Pin 11 ()



Wednesday, 12 April 2023

Bluetooth Name Changing

 After  uploading the codes , use serial moniter and apply AT commands to change the name 


#include <SoftwareSerial.h>

SoftwareSerial hcSerial(11, 10); // TX, RX

 

String fromPC = "";

 

void setup() { 

  Serial.begin(9600); // hardware serial for the USB-PC

  hcSerial.begin(9600);  // software serial Arduino to HC-06 (9600 is default)

 

  // print instructions

  Serial.println("HC-06 AT Command Programming");

  Serial.println(" -- Command Reference ---");

  Serial.println("AT (simply checks connection)");

  Serial.println("AT+VERSION (sends the firmware verison)");

  Serial.println("AT+NAMExxxxx (to change name to xxxxx");

  Serial.println("AT+PINnnnn (to change password to 4 digit nnnn");

  Serial.println("AT+BAUDn (to change to baud rate #1");

  Serial.println("  BAUD1 = 1200");

  Serial.println("  BAUD2 = 2400");

  Serial.println("  BAUD3 = 4800");

  Serial.println("  BAUD4 = 9600");

  Serial.println("  BAUD5 = 19200");

  Serial.println("  BAUD6 = 38400");

  Serial.println("  BAUD7 = 57600");

  Serial.println("  BAUD8 = 115200");

}

 

void loop() {

  // Read from HC-06

  if (hcSerial.available()) {

    while(hcSerial.available()) { // While there is more to be read, keep reading.

      Serial.print((char)hcSerial.read());

      }   

  }

   

  // Read from PC

  if (Serial.available()){

    delay(10); //     

    fromPC = (char)Serial.read();    

  

    

      hcSerial.print(fromPC); // show the HC-06 responce

      Serial.print(fromPC); // echo it back to the PC

    

  }

}

Thursday, 2 March 2023

Capacitive Fingerprint Sensor With Arduino

 

Capacitive Fingerprint Sensor With Arduino 



No enrolment or reading 

complete sketch, 

there is much difference found in sensor wiring,


 
 
---------------------------------------------------------------------------------------------------

    

#include "LiquidCrystal_I2C.h"

LiquidCrystal_I2C lcd(0x3F, 16, 2);