RFID based Alarm Clock | DIY Arduino Project

Поділитися
Вставка
  • Опубліковано 24 січ 2021
  • Soft_illusion is here with a new tutorial series on Arduino Projects. (A channel that aims to help the robotics community). This tutorial teaches you how to implement a very interesting Alarm Clock using the RFID module, IR module, 4-digit 7-segment display, Arduino Mega 2560, and a Passive Buzzer. The project has a complete implementation right from component details, to connections and wiring, boxing as a stand-alone clock to the code explanation.
    Medium Post: / rfid-alarm-clock-using...
    #arduino_project #alarm_clock #RFID #IR_remote #4_segment_display
    Links:
    Github Link: github.com/Soft-illusion/Ardu...
    Component links:
    RFID module:
    amzn.to/3rjdo3v
    Buzzer:
    amzn.to/3tslg4y
    4-digit 7-segment display:
    amzn.to/3pEAxwR
    IR module:
    amzn.to/2YzRRXJ
    Atmega 2560:
    amzn.to/3tiauO3
    00:18 Demo
    00:34 Component Details
    03:55 Let's build it
    05:30 Wiring Diagram
    05:47 Schematic Diagram
    05:51 Wire the connections
    08:48 Code upload
    09:13 Implementation
    11:49 Code Decode
    Functioning:
    The IR module is used to set the number of hours you wish to sleep on the 4 digit display. The display initially begins with 4 dashes (- - - -). As you set the time using the remote, you can see the numbers being displayed one by one. Presently the code is set for Mins:Secs format, but it can easily be changed for Hrs:Mins format, which has also been explained. Once the time is set, the countdown timer starts, which is also continuously displayed on the segment display. This helps in a way such that if you get up in the middle of the night you will easily know how many hours you still have left to sleep. As soon as the timer reaches 0, the passive buzzer starts playing the set tone. Here it's the Mario song, which can be changed. With the buzzer, we have 3 LEDs blinking to the tone of the song. This aids in locating the position of the RFID module needed to switch off the buzzer. Once your favorite buzzer tone has woken you up, have your RFID tag handy. Just moving the Tag over the RFID reader will stop the buzzer. One thing to note here is that the last set value of time gets saved. So if you sleep for the same number of hours everyday, you do not have to set the timer everytime. Just a button click on the remote will start your countdown timer again.
    Components:
    1. Mega 2560 which is a microcontroller board based on the ATmega2560 chip. It has 54 digital input/output pins that operate at 5 V. Each pin can provide or receive 20 mA and should not exceed a maximum value of 40mA. Among the 54 pics are some pins which have specialized functions such as the Serial pins, External Interrupts, The 4 SPI communication pins, the LED, TWI etc. We also have 16 analog inputs and a 256 KB of flash memory for storing code.
    2. 4 digit 7 segment display of the common cathode type. The 7 segments are needed to represent any alphanumeric digit and a dot for decimal notation. Hence we have 12 pins here, 4 for the individual digits D1 through D4 and 8 pins for the segments A through G and the dot.
    3. RFID module. This typically comes in the form of two main components, a tag that needs to be identified, and a reader. The Reader consists of an RF module that generates high-frequency electromagnetic field. It communicates with the microcontroller over a 4-pin SPI interface. On the other hand, the tag is a passive device that contains a microchip and an antenna. The EM field of the reader powers this chip which responds by sending its stored information back to the reader in the form of another radio signal. This change in EM wave is detected and interpreted by the reader which then sends the data out to the microcontroller.
    4. Buzzer: This is a small but efficient component in adding sound features to any project. Active and passive are the 2 kinds of commonly used buzzers and here we use the passive buzzer. This requires an oscillating signal to produce sound. It generates different sounds by sending pulses of different frequencies.
    5. IR detectors: These are little microchips with a photocell that are tuned to listen to infrared light. Inside this remote control is a matching IR LED, which emits IR pulses, not visible to the human eye. The detectors converts the IR light into electrical signals.

КОМЕНТАРІ • 6

  • @Drxxx
    @Drxxx 3 роки тому +1

    Great video

    • @coolrobotics
      @coolrobotics  3 роки тому

      Thank you very much.
      Glad you like it ...

  • @jashannandwani8656
    @jashannandwani8656 3 роки тому +1

    Is it possible to make this with a uno

  • @coolrobotics
    @coolrobotics  3 роки тому

    The links to all the electronic components used in the video are given in the description.
    Medium Post link :
    softillusion-robotics.medium.com/rfid-alarm-clock-using-mega-2560-2150609f469b?sk=667d6efd7b23e62cdb23d28533b02a19

    • @mamadouhadydiallo
      @mamadouhadydiallo 2 роки тому

      salut
      en faite quand je compile le programme ca marché j'ai besoin d'aide