arduino project hub
Today we are going to use an M FRC 522 RFID module that is connected to a relay module to turn a desktop computer on or off last cow. The code is basically taken from an RFID door, lock tutorial that I saw a couple of days ago. I just made some tweaks here and there for it to publish my goal. So here are the things that we need: a bunch of male to female jumper cables. An RFID module relay module, an RFID card in an RFID key, an arduino uno board, a 9 volt DC barrel, jack cable and a 9 volt battery and last, but not the least a screwdriver. Let me just get these things out of the way before you do anything else, download the EM FRC 522 library, if you haven’t, downloaded it yet and make sure that the pin headers of your RFID module is already soldered. The link for the library and project file, including the visual wiring diagram that I made, is in the description below after downloading the file and installing the library we need to connect the RFID module to the Arduino. First then connect the relay now for the wiring part. Here’S, a visual wiring diagram that I made using photoshop, so let’s connect the 3.3 volts of the RFID module to the 3.3 volts of the Arduino rst to p9 of the arduino or anywhere from pin 2 to pin 13 GND or ground of the RFID module to The GND of the arduino irq we’ll leave it blank miso is connected to pin 12 ma c is connected to pin 11 SC k is connected to pin 13 and SDA is connected to pin 10.
Now that the first module is all wired up and connected to the board, let’s open up the arduino ide software do some tests and get the new ID of the part, because we will need that later. Music click on file examples find the M, FRC, 522 library and dump info to get the UID of the cart Music, just to make sure that the library is properly installed. Let’S click on sketch then manage libraries, Music, then search for em FRC 522. There. It is it says here that the version one point three point six is installed. Also, we can see on the code that it has a serial print line, so let’s open up the serial, monitor tube, just click on Tools, then serial monitor, but make sure that the board is connected to the computer too. Music Applause, Music click, the check symbol to validate the code, then the right arrow to upload it to our board then place your RFID card near the module for about 10 seconds to get the info there. It is that’s what we need now let’s test. The key fob Music and there the code is working and we installed the library and wires properly after testing the code, end module close the IDE program and open a new one Music. Then click file and new then open and find a project file that you downloaded. Oh and yeah, we need to connect the relay module to the board Music.
So here is the code. These are the two you IDs that we got earlier from the dump info. They will perform certain actions together with the relay, depending on which one we placed here. The RFID module just like before click the check to validate then right arrow to upload now let’s test our code Music and there you go it’s working properly Music. Once you are contented with the delay, count connect the ground or dark colored cable to the center terminal or cone Music. Then the bright colored cable to the normally open terminal, Music after testing let’s, remove the USB connection, connect the battery and test it again. Music, all righty. Now we just need to remove the side panel of the desktop computer and turn off the power supply. Jeez. Look at that fails on the filter, Music, locate, the power switch pins that are connected to the motherboard Music. I think this is it Music, yep, power, SW or power switch remember how they are connected, in my case, it’s positive on the right indicated by the arrow symbol and negative on the left, disconnect the cables from the switch and connect the ones that are connected to The relay the right colored one is positive in dark colors one is negative after that connect the 9 volt battery to the Arduino and turn on the power supply. Music. Okay, here is the RFID card place the card near the RFID module and tada Music to turn it off.
We will use the RFID t a word of caution. This key fob, shut down is just for demonstration. It is not safe to shut down your PCB screen. Music there we go let’s, try that again, Music. Now here it is connected to another power source. This time on an adapter. The board is placed inside a botched project box on top of the SSD and the RFID module is taped on the removable thingy for the hot swappable drives, and the relay module is just hanging there I’m going to turn the switch to turn on the Arduino board. Here is the part we can see a green colored LED. I was not expecting this apparently that green LED is from the Arduino and just being reflected by the LED bulb cover of the case that’s, where a now let’s turn it off again. A word of caution. This key fob shutdown is just for demonstration. It is not safe to shut down your PC this way, Music. There you go let’s, try that again and that’s all for now.
arduino project hub Video
arduino project hub news
Posted on Tuesday September 10, 2019Training in Arduino basics for students The HinduThe Innovation Hub of the Regional Science Centre, Kozhikode, is organising a three-day workshop titled “Arduino for school students”, from September 13 to … … Continue Reading »
Posted on Tuesday September 03, 2019Lion cuts milk spoilage on Australian farms with IoT iTnewsLion, home to milk brands like Dairy Farmers and Pura, is using internet of things (IoT) technology to reduce milk spoilage on farms by remotely monitoring … … Continue Reading »
Maker Faire® Milwaukee – the “Greatest Show (& Tell) on Earth” – announces its Sept. 14 – 15 event schedule and there is something for everyone – urbanmilwaukee
Posted on Friday September 06, 2019Maker Faire® Milwaukee – the “Greatest Show (& Tell) on Earth” – announces its Sept. 14 – 15 event schedule and there is something for everyone urbanmilwaukeeFamilies will be able to meet Maker exhibitors, participate in hands-on workshops and experience tech-inspired entertainment at the free admission Maker Faire … … Continue Reading »
arduino project hub Social
Originally posted 2017-11-12 05:32:11.