Entradas

Mostrando entradas de mayo, 2023

PROTOTIPO - CONTROL DE ACCESO CON RFID + TECLADO CON ALMACENAMIENTO EN MICRO SD

Imagen
  CODIGO PARA PLACA ARDUINO NANO #include <SPI.h>       // incluye libreria bus SPI #include <MFRC522.h>       // incluye libreria especifica para MFRC522 #include <SD.h> // for the SD card #include <RTClib.h> // for the RTC #include <LiquidCrystal_I2C.h>   //Downlaod the library: http://www.electronoobs.com/eng_arduino_liq_crystal.php LiquidCrystal_I2C lcd ( 0x 27 , 16 , 2 ) ;   #define RST_PIN   9      // constante para referenciar pin de reset #define SS_PIN   10      // constante para referenciar pin de slave select MFRC522 mfrc522 ( SS_PIN, RST_PIN ) ; // crea objeto mfrc522 enviando pines de slave select y reset #define CS_SD 4 #define buzzer 3 #define ledrojo A0 #define ledverde A2 #define ledazul A3 #define rele 5 #define boton 6 File myFile; RTC_DS3231 rtc;     // crea objeto del tipo RTC_DS3231 const PROGMEM byte Usuario...