Netduino home hardware projects downloads community

Jump to content


The Netduino forums have been replaced by new forums at community.wildernesslabs.co. This site has been preserved for archival purposes only and the ability to make new accounts or posts has been turned off.

Trey Aughenbaugh

Member Since 24 Feb 2011
Offline Last Active Sep 28 2016 02:05 PM
-----

Posts I've Made

In Topic: ID-12/ID-20 RFID Reader Driver

21 May 2013 - 05:42 PM

Nice catch and thanks for sharing.

So it sounds like you created an RFID reader that communicates over a network!

Sounds like the same project I was working on!

Although I ended up never finished my project, I did order a couple of these chips to play with.

 

SMT PoE solution with integrated DC-DC converter. 3.3V or 5V or 12V. 12 pin SMD

https://www.semicond...idproduct=13987

 

I was planning on powering my card reader this way. 

 

-Trey

 

SOLVED!

Sorry do not waste time in found any solution it was simply a GC problem. During my tests I simply wrote this:

        private static void StartRFID()        {            var idReader = new RFIDReader(SerialPorts.COM1, Pins.GPIO_PIN_D4);            idReader.RfidEvent += new RFIDReader.RfidEventDelegate(_idReader_RfidEvent);            idReader.Start();        }

So the GC during "collection" disposed my idReader variable. Right code is:

        private static void StartRFID()        {            idReader = new RFIDReader(SerialPorts.COM1, Pins.GPIO_PIN_D4);            idReader.RfidEvent += new RFIDReader.RfidEventDelegate(_idReader_RfidEvent);            idReader.Start();        }

Where the idReader is global scope declared.

 

Gerardo


In Topic: ID-12/ID-20 RFID Reader Driver

14 May 2013 - 07:43 PM

Glad you reactivated your project and had some good news to share!  Thanks for the update!

Whatever you can share will be great news for anyone else just starting!

 

-Trey

 

Hello Buzz and Trey.

Thanks a lot for sharing the solutions. I just "reactivated" my RFID project (a lot of work in last months) and found your solutions to my issue really helpful.

  • Changing from 5.0V to 3.3V the circuit Vin, It works like a charm! Really strange but I red from the new edition (11.04.2013) ID-Innovations datasheet, the following: "The choice of power supply is very important. The ideal power supply will be a linear type such as an LM7805 or a 3.3 volt equivalent. Batteries may also be used without a regulator, a suitable arrangement can consist of a 3volt lithium cell or 3x 1.5v cells to give 4.5 volts." It seems that the Trey got it at first! ("Gerardo This almost sounds like a power issue.").
  • Now it seems that the new release of ID-2/12/20 series (LA) is Low power working range from 2.8 to 5.0 volt. But may be the previous ones were too? Do not really understand. I will send them the video, the circuit powered at 5 (during locking) and the working one powered at 3.3. I'll let you know their answers.

 

Chris may the 3.3 Vout be more "linear" and stable than 5.0 Vout?

 

Gerardo


In Topic: ID-12/ID-20 RFID Reader Driver

07 February 2013 - 07:51 PM

Thanks for the update buzz!

Based on the thread, there is a fix by placing a 180ohm resistor in series with your buzzer.

 

Gerardo,

Hopfully this will fix your problem!

Please let us know!

 

 

I've ordered more ID-20s recently and it seems the new batch (with "LV" prefix) from sparkfun exhibits weird issues.  You can read some of them in the ID-20 thread.  I've found that if you connect the reader to the 3v3 instead of 5v, it's almost 'normal'.  I just dont know if this is a good idea moving forward or how consistent it'll be.  I also saw another method using a resistor.


In Topic: ID-12/ID-20 RFID Reader Driver

26 January 2013 - 08:43 PM

Gerardo,

I would suggest picking up a RFID USB Reader from Sparkfun or making your own.  I would be trying to determine which element is having a problem.  Netduino or RFID reader.  So try them on different circuits and see if they work ok on their own. 

Maybe the Netduino had a nice static shock and it having issues. Maybe the RFID is faulty. 

Its really hard to say and sorry I dont have any definite solution.

 

Good Luck,

Trey

 

 

 

 

Thank you Trey for your detailed reply.

Anyway I tried this thread code and got the same problem. The power is correct because i got it from ND2 Plus 5v volt header.The connections on the breadboard seem to be correct, I used the simplest scheme from Innovations. Do you suggest any other connections?

 

Gerardo


In Topic: ID-12/ID-20 RFID Reader Driver

24 January 2013 - 04:33 PM

Hello everybody,

I'm testing my ID-12 with Netduino plus 2 and a library very similar to the one used in this thread. Everything works perfect for hours. But some times the ID-12 seems to become "slow/locked". It's difficult to explain, but happens that passing the tag at 2/3 cm nothing happens, I have to touch the ID-12 with the tag to allow it reading. Then I have to touch the ID-12 with the tag for several times until it becomes "unlocked" and starts reading at 6 cm fast and regularly.

When it's in the "locked/slow" state the led light for more than one seconds when it reads and the beeper sounds not regularly.

 

Hope somebody can help

Gerardo

 

Gerardo,

This almost sounds like a power issue.  The id12 requires 5v at 30ma.  Are you running this from a battery? 

If you are using a breadboard, maybe a bad connection somewhere?  That was my biggest problem.

Sorry, like you, I'm at a loss what would cause this to freeze. 

Maybe try the library in this thread to rule out the code that you are currently using.  If you can, maybe even share your library so people have alternate libraries to choose from and to look for possible bugs.

Also try putting in a bunch of debug.print lines in your code to see if the code is responding correctly.

Some filter capacitors on the breadboards input power might help too.  Just thinking maybe there is interference. 

Do you have the RFID USB Reader from Sparkfun?

https://www.sparkfun.com/products/9963

You can plug this directly into a USB port and start up a terminal window and scan cards.  It will just spit out data.  This would be another way to test.

If you happen to have an FTDI cable or Serial to TTL converter, you can pretty much do the same thing. 

The Schematic for the above RFID USB reader is on sparkfuns site.

 

Sorry, no real answer for what is causing your problem.  Please reply back if you find a solution.

 

-Trey


home    hardware    projects    downloads    community    where to buy    contact Copyright © 2016 Wilderness Labs Inc.  |  Legal   |   CC BY-SA
This webpage is licensed under a Creative Commons Attribution-ShareAlike License.