Elechouse PN532 NFC Module V3 for Arduino etc.

  • yeah got everything working now using led in place of the relays for testing.....

    however i dont think i got the pins in right. the leds seem to be onn and then off on switch....

    int triggerPin1 = 2; //engine starter
    int triggerPin2 = 3; //accessory and power on
    int triggerPin3 = 4; //power off
    how do these pins relate in respect to a1 a2 and such??? i cant find any documentation on such

  • Community Helper

    With my setup they don't stay on, they're just changing the state of the latching relay or holding the engine starter relay on for a brief time. When I get back on Friday I'll have a close look at my board and get back to you.

  • Hello guys,

    I'm totally new in this and I bought few days ago the NFC Module V3 (same as you guys are using). On the other side i'm using an Arduino Micro from SParkfun Micro based on an ATmega32U4. I put in place libraries I uploaded sketches coming from elechouse and tried the first one so the read sketch.

    My arduino recognize the chip unfortunatelly it keeps waiting until I put a card or a key card over it. Of course I do it but nothing happen. No recognition no sign from the arduino nothing....

    Is there someone who had the same problem? or a beginning of an answer?

    Thank you :)

  • @lokki hey man did you ever get a chance to look into that one???

  • Community Helper

    @MarkGabb sorry dude, I may have gotten sidetracked. I've just pored over my monstrosity here, pin1=2=D2 etcetera
    So on the arduino I've got D2 linked to the cranking relay connected to the starter motor, via another relay so the arduino doesn't burn out.

    @Limpresible sounds like the same kind of arduino as a leonardo, they use the same IC. Now, when you say there's a chip being recognised that's a touch ambiguous - do you mean the reader loads up and is ready or the NFC tag is recognised but does not read?

  • @Limpresible upload your sketch for us and im sure someone will be able to take a quick look
    @Lokki up to car install now....just noticed you have a ACC,ON, IGN are you switching both ACC and ON from the same relay?

  • Community Helper

    @MarkGabb I had mine in an R31 Skyline, so it was a bit different in ignition design to newer cars - in the end I tied accessory and ignition power to the same relay and had it go straight to that. Originally they were seperate ignition positions.
    So first ring touch was to power the car on, second was to crank the engine for a set period. Pretty much the same as most keyless ignition vehicles now, with the power/start button.

  • @Lokki awesome...within about a week i should have mine up and running

  • Community Helper

    @MarkGabb I'm looking forward to hearing how you go with it! I've got a few more things to do before I upgrade my current ride, so if you do something better or different I'm definitely interested in that.
    Got a LattePanda that'll get shoved into the double-din slot, touchscreen/win10/arduino integration. I figure I'll feed it GPS, mobile cell service and ecu data as well as use it for entertainment, engine start and doors.

  • yeah im looking into the raspberry pi openelec rout for mine

  • here is my pre install test

    i think i may put in a longer delay after the ignition step so it cant turn the car off again in you dont pull your hand away

  • Community Helper

    Nice one dude. Looks good.
    Be careful if you're not using a latching relay for accessories/ignition, power loss to the arduino might leave you coasting to a stop.

  • taken it into account...
    im building a capitor bank to plug directly into the power supply....so baring the arduino dying itself, i should be fine
    seems to be the way everyone is doing things now using super resistors as power sources for small devices

  • ive recently gotten quite interested in the mysensors opensource automation gear at the moment...

    am thinking about intergrating some of their work into this as well....

    basicly rfm 838 mhz radio transfer tech....add in a remote starter type thing....

  • Community Helper

    All good then! There's nothing more embarassing than coasting across three lanes of traffic then pulling your steering column apart to hotwire the car... * cough *

    So what kind of vehicle are you putting this all in?

  • 1996 mitsubishi mirage....pretty tame car, but i figure the wiring will be much easier that way.....
    still gotta workout how to diable the colum lock

  • Community Helper

    Not bad, it should do the trick. I actually just removed the steering lock in the skyline to do this, I was looking for an electrically actuated steering lock off a late model car to replace it but never quite got there.

  • from my copious googleing it looks like its just a spring i need to remove...which shouldnt be hard....

    want to leave the key in the car for a month or so.......JUSTIN CASE

  • Community Helper

    Haha, yeah. I compensated for the removal by installing a combination gps tracker and killswitch.

  • so both good news and bad....got the device in and mounted....
    but burnt out my imoboliser....didnt even know i had one.....so trip to the auto elec's tomorrow