NEW
LCD Counter ATtiny84
Talking RTC ATtiny84
Sound Recorder ATtiny84
SD CARD
20 Tracks Sound Recorder
SD Card Data Logger
FAT32 Player ATtiny85/45
CH376 USB Picture Frame
SD FAT32 Player PIC12F1822
W25Q64 Flash Recorder
SD Picture Frame
SD FAT32 TFT Display
Doorbell with SD/EEPROM
SD Talking Clock
SD FAT32 Sound Player Recorder
SD Arduino Recorder
Arduino Picture Frame
Projects Without uControlador
CH341 USB to I2C OLED
CH341 USB to 16x2 LCD
CH341 USB to TFT
CH341 USB Input Output
PC Digital I/O
CH341 Analogue to USB
USB MCP3201 ADC
FREQUENCY COUNTER
OLED Counter ATtiny85
AD9833 Waveform Generator
Chrome Browser Counter
Arduino LED MAX7219 Counter
LCD Accurate Counter
OLED Accurate Counter
MilliHertz Counter
PIC Counter For Android
MAX7219 LED Counter
WiFi Frequency Counter
Frequency Generator
OLED Counter PIC12F629
Talking Frequency Counter
TFT Counter PIC16F628A
SSD1331 Counter PIC16F628A
Arduino Counter for PC
OLED Arduino Counter
TFT 10MHz Counter
PC Counter
LED Counter
Scope Screen Counter
LCD 16 x 2 Counter
6MHz Android Counter
NIXIE Android Counter
Bluetooth Counters
USB Counter PIC18F2550
OBD2
OBD2 RPM meter PIC16F876A
OBD2 Android Rev Counter
OBD2 Diagnostic App PIC/Arduino
OSCILLOSCOPE
Logic Analyzer
PIC12F1822 Scope for PC
Arduino Oscilloscope for PC
Arduino OLED Oscilloscope
Android Oscilloscope
TFT Oscilloscope
USB Oscilloscope PIC18F2550
THERMOMETER
Temperature Controller
Thermocouple 1023 Deg
Thermometer For Browser
OLED Thermometer PIC12F629
OLED Room Thermostat
TFT Clock and Thermometer
LED Thermometer
USB Thermometer
Serial Thermometer
USB DS18B20 Sensor
TIMER / CLOCK
Cuckoo Clock
Real Time Clock DS3231
LED TM1637 Timer
OLED Timer Thermometer
TFT Timer Thermometer
LED Timer
LCD Timer
Talking Clock PIC16F628A
Android Talking Clock
WiFi
WiFi, Ethernet
WiFi Thermometer
WiFi ESP8266
USB
IO for Chrome Browser
USB 16x2 LCD
USB TFT display BMP
USB Meter
USB Input-Output
USB Input-Output Android
MISCELLANEOUS
Musical Doorbell
Talk to Arduino
HC-SR04 Sensor
OLED Amp Meter
Water Softener
Solar Charger
Music, Birthday Card
Code Lock
RETIRED
Serial Port
LPT Printer Port
SMALL PROJECTS  
List of Projects Technical Tips  

ARDUINO CODE LOCK WITH OLED DISPLAY

Electronic code lock with the ability to rewrite the entry code. Usind Arduino Uno or Nano, OLED 128x64, I2C, SSD1306 driver and matrix 3x4 keypad. Can be used for entrance door, car door or a locker. Any number (0-9) can be used. Pressing the right code activates the relay for 2 seconds. To change the 4 digits code press 'Change Code' pushbutton and key 4 new numbers. The pushbutton has to be mounted in an area not accessible to the public. The 4 digits are stored in the chip's EEPROM, so the numbers are retained when the power is off.
The codelock can be used without the OLED. Ready LED is used instead of the OLED screen.

codelock codekey

line

CODE LOCK WITH OLED DISPLAY

Electronic code lock with the ability to rewrite the entry code. Can be used for entrance door, car door or a locker. Any 4 digits number can be used. Pressing the right code activates the relay for 2 seconds. Using microcontroller PIC16F876A. To change the 4 digits code press 'Change Code' pushbutton. The pushbutton has to be mounted in an area not accessible to the public. The 4 digits are stored in the chip's EEPROM, so the numbers are retained when the power is off.

oled

line

CODE LOCK WITH LCD

Electronic code lock with the ability to rewrite the entry code. Any 4 digits number can be used. Pressing the right code activates the relay for 2 seconds. To change the 4 digits code press 'New Code' pushbutton. The pushbutton has to be mounted in an area not accessible to the public. The 4 digits are stored in the chip's EEPROM, so the numbers are retained when the power is off.
PIC16F690: Powered by 5V for the PIC and 12-24V for the relay.

lcdlcd

Circuit Description
See also Technical Tips

Supply 12 to 24V for the relay, 5V for the PIC is from 78L05 voltage regulator.
The N.O. contact of the relay is connected to the door electric latch.
Key pad can be any matrix switches.

Transistor are BC237 or equivalent.
LCD module is 2 lines 16 characters. It has 14 way connector, 10 connections are used, 4 bits data bus is selected.
There is a big selection of LCD modules, and they are very similar in characteristics i.e. DM1601, ACM1601.
Contrast pot must be set because in one end of the pot it is totally dimmed.
New Code pushbutton is for entering new 4 digits code.

line

CODE LOCK 5 NUMBERS

The relay operates after entering 5 numbers (0-9). Enter numbers when READY LED is on, if wrong number entered relay stays off and READY LED comes on after 30 seconds.
You are free to use the circuit diagram and the software with no limitations.

keylock3



Write a comment

iconFlag Countermoty22.co.uk  2008-2024