Wednesday, December 4, 2013

Much Success!

At last, it works! After speaking to Lindsey about how here and Anya got their project to work.. I got ours to work! They used the babelfish example from adafruit http://learn.adafruit.com/babel-fish/programming. This code example uses the wave shield, however. Our project does not need that. I went in and removed everything from the code that had to do with the wave shield and got the reader to work. After that, I used the "if" to say that if a certain card with a particular UID is read, then it will open the lock. This is how we will program all of the cards depending on who it is.

The other issue I figured out with Lindsey was that we needed to cut the wire between IRQ and 2 and then solder IRQ to pin 6. That worked! I soldered a new nfc/rfid shield with the pins on top so that it could be plugged into the arduino on the bottom and then there would be open pins to plug the servo into the pins on the top. The servo doesn't use many wires, so that is good.

Besides that, we will be working on making this thing look like "art." The lock! That needs to look like a lock of sorts. Probably going to use some kind of latch, though it would be cool to have that entry bar that comes down over cars at the gate (not sure the servo motor could handle all that).


No comments:

Post a Comment