arduino 3.3v output


This is Nick from, and today we are going to learn how to use this RFID Reader with Arduino in order to build a simple, lock system. Without any further delay lets get started. Today we are going to build a very interesting project.. For the first time we are going to use RFID tags with Arduino.. I have built a simple project which reads the Unique ID UID of each RFID tag we place close to the reader and displays it on this OLED display.. If the UID of the tag is equal to a predefined value that is stored in Arduinos memory, then in the display we are going to see the Unlocked message.. If the Unique ID of the card is not equal to the predefined value, the Unlock message wont appear. Cool isnt it. Each RFID tag has a small chip inside.. If I place a flashlight under this RFID card, you can see the small chip and the coil that surrounds it.. This chip does not have a battery in order to get power.. It receives power from the reader. This device wirelessly using this big coil.. The reader can read an RFID card like this one, from a distance up to 20mm, The same chip exists in this type of RFID tags as well.. Each RFID tag has a unique number that identifies it. Thats, the UID that we display on the OLED display., Except from this UID. Each tag can store data. In this type of cards.

We can store up to 1K of data Impressive isnt it We wont, use this functionality today, but will do so in a future video. Today. All we are interested in is to identify a specific card by its UID.. The cost of the RFID reader, and these two RFID cards is around 4. Lets see how to build this project.. The parts needed in order to build this project. Are these An Arduino Uno? A RC522 RFID Reader with some compatible tags, A monochrome OLED display A small breadboard, Some wires. The total cost of the project is around 15.. You can find links for all the parts I use in the description of the video.. The connection with the Arduino Uno board is very simple. At first lets connect the power of both the reader and the display. Be careful. The RFID reader must be connected to the 3.3V output of the Arduino Uno, or it will be destroyed., Since the display can also work at 3.3V. We connect the Vcc from both modules to the breadboards positive rail.. This rail is then connected to 3.3V output of the Arduino Uno.. Next we connect both GNDs to the breadboard GND rail.. Then we connect the GND rail of the breadboard to Arduino GND.. The RFID reader module uses the SPI interface in order to communicate with Arduino.. So we are going to use the hardware SPI pins of the Arduino UNO. RST pin goes to digital pin, 9. IRQ pin stays, unconnected.

MISO pin goes to digital pin, 12. MOSI pin goes to digital pin, 11. SCK pin goes to digital pin 13 and lastly, SDA Pin goes to digital pin 10. Thats it., The RFID reader is connected.. We now have to connect the OLED display with Arduino using the I2C interface., So the SCL pin of the display goes to Analog, Pin 5 and SDA pin of the display to Analog Pin 4.. If we now power up the project and place an RFID card close to the reader, we can see that the project is working fine, Now its time to take a look at the code of the project.. In order the project code to compile, we need to include some libraries.. First of all, we need the MFRC522 Rfid library. In order to install it. Go to Sketch gt, Include Libraries, gt, Manage libraries. Search for MFRC522 and install it.. We also need the Adafruit SSD1306 library and the Adafruit GFX library for the display. Install both libraries with the same procedure.. The Adafruit SSD1306 library needs a small modification., Go to the Arduino gt Libraries, folder open the Adafruit SSD1306 folder and edit. The AdafruitSSD1306.h library. Comment line. 70 and uncomment line 69.. Our display has a resolution of 128×64 thats what we are defining here. Now we are ready to take a quick look at the code. At first. We declare the value of the RFID tag that we want the Arduino to recognize.. It is an array of integers.

Next we initialize the RFID reader and the display. After this in the loop function. We check for a tag on the reader every 100, ms. If there is a tag on the reader, we read its UID and we print it on the display.. Next, we compare the UID of the tag we just read with the value that is stored in the code variable.. If the values are the same, we display the UNLOCK message else. We dont display this message.. Of course, you can modify this code in order to store more than 1 UID values in order the project to recognize more RFID tags.. This is just an example.. As always, you can find the code of the project in a link in the description of the video.. As you can see, with a very low cost, we can add an RFID reader to our projects.. We can easily build a security system with a reader like this one or build more fun projects.. My main intention is to build some interactive games for kids using this RFID reader and a lot of RFID tags. In a future video. We will also try to write and read data from an RFID tag.. At this point, I would love to hear your opinion about this RFID card reader.. Do you plan to use it in any of your projects? Please post any comments or ideas in that comments section below thanks. If this is your first time here, I would love to have you subscribed.

In this channel. I post videos about DIY projects every Saturday., I love making things, and I believe that anyone can make things anyone can become a maker. Thats. Why I created this channel in order to share my knowledge with the community and learn from the community.? I hope you will join us. Until next Saturday Watch Learn Build Translating these subtitles.


arduino 3.3v output Video







arduino 3.3v output news








    arduino 3.3v output Social






    👋 Want to bring Tony Stark-like gesture control to your projects? Learn how with the BLE-enabled MKR WiFi 1010 and Nano 33 BLE Sense boards using the ArduinoBLE library.
    safe image.php?d=AQDyi1ELcW4VGzhx&w=720&h=720& dChOhNMmeF - arduino 3.3v output

    Arduin-yo ho ho! A fairground favorite, the pirate ship is a fun way to explore the oscillation of a pendulum. How much fun, you ask? Access our Science Kit Physics Lab preview and see for yourself:

    🔬 Now that you’ve gotten your feet wet, dive into the kit and enjoy all nine experiments. Order yours today:

    70537898 550174072395145 8798850142103928832 n.jpg? nc cat=102& nc oc=AQmCfMPwMf1oPpYqFhzbxfnGdbrmsjZXrEEBy1ox5Z8EJtiYMADoFNZ5mnSNRgCCY74& nc ht=scontent - arduino 3.3v output

    arduino nano, xbee, rotary encoder

    NV08C-CSM GPS shield



    Originally posted 2017-02-05 14:02:57.

    (Visited 53 times, 1 visits today)

    About The Author

    You might be interested in

    Comment (27)

    1. I’m trying to just scan the ID by using the dumpinfo example. I get this message:
      WARNING: Communication failure, is the MFRC522 properly connected?
      Scan PICC to see UID, SAK, type, and data blocks…

      I have checked my wiring multiple times. Any thoughts on why I’m getting this error?

    2. Can this RFID reader read any 13.56 mhz card? i want to take data from my school id and send it to a webpage in a table format as a kind of attendance application.

    3. Is there anything that works the same as this but has a read range of 1foot?

    4. Hello; In my project I need to confirm the passing of a vehicle; so I need to ask how long does this operation take?!

    5. Hi I am trying to add in my own UID into the code but it is currently in this form: E7 3F 8C 32, but I’m not sure what form it should be in the code as it does not work when i put this in. Any ideas on how to fix this problem?

      1. Either convert your UID code into decimal, so E7 3F 8C 32 becomes 231,63,140,50 or add 0x before each byte 0xE7, 0x3F, 0x8C, 0x32

    6. thank for the video. I found this video while researching for building a spelling test toy for my kid. and realized that you are also interesting in building toys for children with rfid. I’m interested to learn what you are doing, if that is sharable. looking forward to learn from you.

      1. Enter into the librarie’s source code and look for the .h file. In it you’ll find all the documentation you need. You might also read the RC532 datasheet.


    Your email address will not be published. Required fields are marked *