Week 5 - Test solenoid and relay.

            For this week, I combined the solenoid door lock, relay, LCD module, and RFID module into 1 circuit. The solenoid door lock is connected to the relay and an external power supply which is the Li-ion batteries because it requires a power supply of 12V. The relay is then connected to the Arduino Uno. The connection is shown below. 


             





            Then I combine all the codes into 1 file and uploaded it to Arduino Uno. After that, I place the RFID card on the RFID reader to test the solenoid. If the RFID card used is authorized, the Arduino Uno will turn on the relay thus unlocking the solenoid door lock. If the RFID card used is not authorized, the Arduino Uno will receive the information and lock the solenoid door lock. Below is the Arduino codes.





            





Comments

Popular posts from this blog

Week 11 - Designing and assembling the door for the project.

Week 16 - FYP Slides and Presentation Preparation.