Description: The initial step in constructing an RFID door lock using a basic Arduino involves breadboarding a fundamental working Arduino setup. Most Arduino boards equipped with pre-flashed ATMega 168 chips come with a default blink program installed. A LED should be connected to digital output 13 to verify the system's functionality. The hardware aspect of this RFID reader is simplified by utilizing a standard Arduino with a built-in USB programmer. However, for a more compact solution, a $5 ATMega 168 can be used to create a smaller custom PCB instead of a larger $30 Arduino board. To facilitate this, an external USB-to-Serial FDTI programmer is required. Eagle schematics of the controller, including a power supply designed with a 7805 voltage regulator, have been provided. During testing, a breadboard power supply was utilized. To operate an Arduino, the essential components include the ATMega168 with the Arduino software flashed onto it, two 22pF capacitors, a 16MHz crystal, a 10k ohm resistor, a push button, and a breadboard. The wiring for this setup is well-documented, and the complete schematic for the circuit has been included. The Arduino will control four outputs: one each for Red, Green, and Blue LEDs, and one to activate the TIP31A transistor, which sends 12V DC to the door lock. The Arduino receives serial data on its Rx line from the ID-20 RFID reader. Once the Arduino is breadboarded and operational, the RFID reader section of the circuit can be assembled, incorporating the ID-10 or ID-20 module and an RGB LED to indicate the circuit's status. It is important to note that the reader will be positioned externally, separate from the internal controller, to enhance security against unauthorized access. To construct this setup, 5V and Ground connections will be sent from the primary breadboard to a secondary breadboard designated for the reader. Additionally, three wires will be routed from three Arduino output pins to control the RGB LED, one for each color. An additional wire, depicted in brown in the accompanying images, will serve as a serial connection for the ID-20 to communicate with the Arduino's Rx serial input. This circuit is straightforward to assemble, with LEDs requiring resistors and several points on the ID-20 connected to Ground and 5V to establish the correct status. For ease of breadboarding, Sparkfun offers a breakout board for the ID-10/ID-20, which accommodates longer pin headers that fit standard breadboards. This component, along with the pin headers, is included in the parts list.
The RFID door lock system utilizes an Arduino-based microcontroller to manage access control through an RFID reader. The selected ATMega 168 microcontroller is capable of handling the input from the RFID module and controlling the output to the door lock mechanism. The design includes a voltage regulator (7805) to ensure stable operation of the microcontroller and connected components by providing a constant 5V supply.
The RGB LED is employed to provide visual feedback for the system's status, indicating whether access is granted (green), denied (red), or in a standby state (blue). The TIP31A transistor is utilized to switch the higher voltage required for the door lock, allowing the Arduino to control the lock without directly handling high current loads.
The ID-20 RFID reader communicates with the Arduino via a serial connection, transmitting the unique identifiers of RFID tags presented to it. The design includes a robust breadboarding approach, allowing for easy modification and testing of the circuit before finalizing the custom PCB layout. The breakout board for the ID-10/ID-20 simplifies connections, ensuring reliable operation and ease of integration into the overall system.
In summary, this RFID door lock project combines essential electronic components and programming to create a secure and efficient access control system. The thoughtful arrangement of hardware and software components allows for a compact design while maintaining functionality and security.The first step to building a RFID door lock with a basic Arduino is to bread board out a basic working arduino. Most Arduino pre-flashed ATMega 168 chips come with the default blink program pre installed. Connect a LED to digital output 13 and verify that everything is working. The hardware portion of this RFID reader would be too simple if we use d a regular arduino with built in USB programmer. Since Iplan on putting this into the wall and not touching it again Idont want to use a big bulky $30 arduino board when I can buy a $5 ATMega 168 and make a much smaller custom PCB. Because Ichose to make a basic Arduino circuit myself Ineed an external USB->Serial FDIT programmer. Ihave included Eagle schematics of the controller with a power supply built from a 7805 voltage regulator.
In testing Iused a bread board power supply. To get an arduino up and running all you really need is the ATMega168 with the arduino software flashed on it, 2x 22pF capacitors, 16mhz crystal, 10k ohm resistor, push button and a breadboard. The hookup for this is well known but Ihave included the entire schematic for the circuit. The arduino is going to trigger 4 outputs, 1 each for Red/Green/Blue LEDs, and 1 to trigger the TIP31A to send 12vDC to the door lock.
The arduino receives serial data in on its Rx line from the ID-20 RFID reader. Now that you have your arduino bread boarded and working you can put together the RFIDreader portion of the circuit that will contain the ID-10 or ID-20 and RGB LED to indicate the status of the circuit. Remember that the reader will be outside and separate from the controller inside so that someone cannot easily break in.
To build this, we are going to send 5v/Ground over from the primary bread board to a secondary bread board we are building the Reader on. Also send over 3 wires from 3 of the arduino output pins to control the RGB LED, one for each color. One more wire, Brown in the pictures, will be a serial connection for the ID-20 to talk to the arduino`s Rx serial input.
This is a very simple circuit to connect. LED`s get resistors and a few points on the ID-20 are tied to ground/5v to set the correct status. To make it easier to breadboard the ID-10/ID-20 Sparkfun sells a Breakout board that allows you to attach longer pin headers that are spaced to fit a bread board. This part and the pinheaders and listed in the parts list.
The Arduino 2009 functions as an independent weather station without a display. It can operate autonomously for extended periods, sampling data from sensors until the RAM reaches full capacity. The collected data is stored in a designated sector of an...
Protect your locker or briefcase from theft using this pocket-sized gadget. It emits a loud police siren to attract attention. The circuit utilizes a single integrated circuit (IC).
This circuit is designed to provide a compact and effective security solution for...
The Nixie tubes being utilized have 10 cathodes shaped like numerals and a screen-like anode. These are vintage Russian IN-12A tubes sourced from a reputable Ukrainian shop on eBay. Other types of Nixies may feature additional cathodes for displaying a...
A potentiometer is a simple knob that provides variable resistance, which can be read into the Arduino board as an analog value. In this example, a potentiometer is connected to one of the Arduino's analog inputs to control the rate...
Standard serial interfacing of a microcontroller (TTL) with a PC or any RS232C standard device requires a TTL to RS232 level converter. A MAX232 is used for this purpose. It provides a 2-channel RS232C port and requires external 10µF capacitors.
The...
This sketch transmits an ASCII 'A' (byte value 65) upon startup and continues to do so until it receives a serial response from the computer. After receiving a response, it sends three sensor values as individual bytes and waits for...
The microcontroller-based water level controller and motor protector manages the on and off states of the motor based on the water level in the overhead tank (OHT). It regulates the tank's water level through a microcontroller, thereby providing automatic protection...
The USB to RS232 converter is called USB-2-bot and comes from another project. Any other converter would work as well, e.g. this USB-TTL-232-cable from adafruit. It has an ISP connector to program the bootloader and a serial connection used for...
The power controller module in the system receives input directly from a momentary switch and utilizes this input to toggle a relay, which supplies mains power to the system's transformers. The controller circuit operates at 12V, a choice made to...
We use cookies to enhance your experience, analyze traffic, and (if you allow) serve personalized ads.
By clicking Accept All, you agree to our use of cookies.
Learn more