Step 3: All put together

Once you have the PCB done, solder it all up and program the chip with your fav. programmer. HEX file attached.

For debugging, you can connect pin 2 (GPIO5) and a ground pin to the serial port of a PC's Rx and ground @ 9600 baud to see the actual tag values and what the chip is doing.  However, it may not work properly on all PC's without the addition of a max232 chip as it is only pseudo RS232 and not true levels.  Not that i have come across any in recent times.
<p>I have a RFID reader and am attempting to install and an ignition kill on my 93 Honda Accord. It came without wiring instructions. Please help. There are 3 wires, to which I can identify Hot, Ground, and switched. How would I wire this?</p>
<p>Hi. I wanna build the immobiliser, but I want study the source code...</p><p>Could you upload US files:</p><p>INCLUDE &quot;12F629.INC&quot;</p><p>INCLUDE &quot;IMMOBL~2.MAC&quot;<br> INCLUDE &quot;PBPPIC14.LIB&quot;</p>
<p>Hi, <br><br>I wanna build the immo, however do you have a gerber or eagle file for the pcb?<br>It would be very helpful to do the pcb! :)<br>thank You!</p>
<p>This is one of my early projects and I used PCB123 which does not support Gerber export, sorry.</p>
<p>Hello Andrew,</p><p>Thank you for sharing your project. </p><p>I made it with PIC12F629 and it works but I have a problem. </p><p>When hooked the D0 pin of the ID-12 chip to USB-TTL RS232 FT232RL converter RXpin the ID-12 gives every single time the same code : 010D69AE01CA for the particular rfid TAG</p><p>When I program the tag 10 times and remove the jumper and then read the tag again it works , the PIC activates the relay.</p><p>When i hook the FT232RL converter to the pin 2 of the PIC12f629 i see the debug information that you provide</p><p>Got : 313044363941453031F9</p><p>Rom has: 313044363941453031F9 *** Matched chip 1 ***</p><p>But after each power ON/OFF cycle the value I see form the same tag is changing</p><p>Got : 313044363941453031D8 //this value is different from the one in the eeprom and the relay is not powered. Then I switch the power and plug it back and receive different reading</p><p>Got : 313044363941453031F8 //again not the same value and the relay not operating</p><p>Got : 313044363941453031F9 // after many ON/OFF cycles (without additional learning by the jumper) I receive the same code that is stored in the eeprom and the relay is activated</p><p>With the same tag I see different reading in the last byte at pin 2 of the PIC. </p><p>Please do you know what causes this. </p><p>Again thank you for sharing your project.</p><p>Best regards. </p>
<p>I can't get my programmer to accept just the HEX file for the 12F629. Any chance of getting the ASM file?</p>
<p>I have added the ASM to the instructable.</p>
<p>Tried the ASM but it says I need the &quot;IMMOBL~2.MAC&quot; and the &quot;PBPPIC14.LIB&quot; files. Should they be standard files? I'm not really sure since I'm new-ish to programming PICs</p>
very good
See the spec sheet for the ID-12. If you want to connect it directly to a PC serial port, you will likely need a MAX232 or equivalent to convert the 5v TTL to true serial. However, some serial ports or USB to serial adapters will work ok on just the 5v signals.
When I saw this I was hoping for something I could use to shut down a car that had just tried to run me over on my bike. I could use such an item about 3 times a week when I ride as someone tries to &quot;teach me a lesson&quot; about riding in the street about every other ride. BTW&nbsp;I ride in full compliance with the law TX VC 551.100-103, I teach bicycle laws to local cops who would bust me in a nanosecond if they caught me breaking the law.<br />
&nbsp;dude, this instructable has nothing to do with bicycles. &nbsp;vent somewhere else.<br /> <br /> to kill a car you would need a powerful emp genny.<br />
I was hoping for something a little smaller and lighter than an EMP&nbsp;generator, something that didn't require a semi trailer to haul it around. I just want to be able to shut cars down after they are used as a weapon against me. The most deadly thing in our lives is not a gun, but the family car, by a decimal (close to 4 binary) order of magnitude. The number of people that die inside cars has been decreasing as newer cars replace older cars with less passenger protection, but the people outside cars are dying at the same rate they have since the mid-1990s, in spite of fewer miles travelled in the last 2 years.<br />
I agree with thinkdunson, RFID will never kill a car. Even lighting won't immobilize a car.<br>You would be better off just firing an automatic weapon at the engine...
im chandra..can i get the source code for this...i cant download it.
Sorry I can ask a question &quot;also works with a 12f675?&quot; thanks
Should work fine on the 675 too. The only real difference is the analogue input.
Thanks for the reply I did not have a 12F629 un12f675 I tried but it seems that does not run the program, the file download is <br> good or has a problem?? Thanks
Hmm, there may be an extra option needed to disable the analogue input. Give me a little time and i will relase a version compatible with 675.
ok thanks I'll wait
Ok, i have uploaded a hex file for 675 on the last step. Should work but i can not test as i don't have one...
No, nothing seems to not work <br> not yet bought the ID-12 but I can not send your pic in the programming jumper <br> pin 6 is low and pin 7 is high and does not exceed, <br> Thanks hello .......... <br> Sorry for the English but is translated
I found that i have a 675 so i will give it a try myself in the next few days.
thanks for answering, but still the question stays : &quot;how could i extend the reading range?&quot;<br><br>should i build a bigger anntena ? How should i build it ? i see that the ID-20 has an option for external anntena , but i didn't find anywhere what cind of antenna ?
There is antenna designs in the ID-12 datasheet. <br> <br>Depending on the application and range you need, your easiest option is to use credit card sized 'tags' - these give about 10cm range on an id12.
Im currently working on a much more advanced version of this using a 16F828a. It is designed to be a 3 point passive immobiliser and also controlling the central locking of a car. <br> <br>It's in the final development and testing stages now, hopefully should be finished in a week or two. Let me know if anyone is interested and i will post it as another instructable.
Hi<br><br>I wonder does this circuit can work with ID-40 ? because the ID-40 has a tvice longest range than a ID-20.<br><br>If the answer is NO , than , how can I extend the operating range of this RFID reader ?<br><br>PS: sorry for my bad English, i'm from Serbia :) (thanks for the answer)
Looking at the datasheet for the ID-40, i see two potential problems in using it for this setup. It appears that the ID-40 does not use TTL level serial data but 'true' RS-232. You would likely need a max232 or equivalent between the data wire on the ID-40 and the IC to shift the voltages down. The other problem is that the ID-40 runs on 12v (nominal) whereas the ID-12 is only 5v so you would need an additional power source for the ID-40.
hi, i downloaded the file, but the extension is .tmp, is that ok?, or i have to change it to .hex<br />
&nbsp;Yes, just rename the file to .hex and you should be fine.
&nbsp;pretty awesome, gotta try this :D
Thanks for the replies people.&nbsp; I really had no idea this would be so popular!
great instructables will help in my auto electrical work,
&nbsp;Hmm, interesting, best get my soldering iron out. Great inscrutable.
&nbsp;Wow this is great! I was trying to create a door lock using the ID12 and a PIC16F628A but I couldn't get it to work.<br /> <br /> Is there any chance you could compile it for a 16F628A?<br />
&nbsp;I suppose i can but it's not just as simple as selecting the different chip and hitting compile. &nbsp;i/o pins/ports and memory locations etc are different in that chip.<br /> <br /> If you can be a little patient then i can recode it for the bigger chip but to be honest, is it really worth it? &nbsp;The 16f628A is way overkill and you'll have a lot of wasted pins. &nbsp;The 12f629 is also a lot cheaper and is pretty much fully utilised.<br />
Sorry I had no experience in that, thought it was just a recompile.<br /> <br /> Nevermind then , I'd be better off ordering the 12f629 and keeping the 16F628 for another project.<br /> <br /> Thanks for the quick reply!<br />
Hello!&nbsp; I really like this idea, but forgive for asking, where can i get a RFID card for this? do i have to program it?&nbsp; thank you<br />
The tags are encoded with a 64bit hex key from factory theoretically garunteed unique.&nbsp; The tag itself or the reader do not need to be programmed, only the PIC.<br /> <br /> The cards/tags are commonly available on Ebay and some electronics stores that sell silicon chip kits (Silicon chip released a somewhat similar kit to this). Just look for 125khz RFID tags. They can also be referred to as 'Manchester' tags.
What would it take to get rid of the need for keys?<br /> I would like to use an RFID (or even just a magnet and a reed switch) to enable my Jeep to be started with a push putton switch. &nbsp;(No need for keys for the doors in a topless Jeep.)<br /> <br /> That way I wouldn't need my keys, and how to start my Jeep would not be obvious to someone who didn't know the 'trick'.<br /> <br /> Kind of a cheap-man's-add-on to emulate the newer cars where you don't put the keys in the ignition (keep in pocket) and just push the button.<br />
Wire the relay in place of the ignition keyswitch, so it switches the &quot;run&quot; circuit.&nbsp; then you just need a momentary switch to engage the starter. You'll need an additional switch to disengage the relay when you want to shut the car down, though.&nbsp; Through creative use of a loop circuit and a SPDT relay, you could use the start button as a stop button.<br />
Hi , I wried the circuit programmed the pic and it seems like it never goes to the programming mode? It just sits with the Red LED on. I tried to sort the jumper also but nothing happens.<br /> <br /> I also wired pin 10 of the RFID module ( ID-20) and it shows me when the RFID actually reads the card.<br /> <br /> Thanks
Are you able to connect it to a serial port of PC to see what it's doing?<br /> <br /> Pin2 of the pic is pseudo RS232 tx. <br /> Connect that with pin 2 on a PC serial port and pin 5 on serial port to gnd on the board.&nbsp; Open hyperterminal @ 9600 and you should see it spit out data as you read the tag.<br /> <br /> Make sure you have the ID chip wired for ascii mode and you are using the TTL pin (9) and not the CMOS data pin (8) for data.<br /> <br /> I'll hook mine up to a PC soon and post the screenshots here so you can see what to expect.<br /> <br /> There is also&nbsp;a slight possibility that the hex i posted is an old/incomplete version (sry, as i said, this was a long time ago i done this).&nbsp; Ill compare it to what is in my working one and let you know.
I've confirmed the original file I uploaded is infact and incomplete one (apologies for that).&nbsp; I have uploaded a known working copy. (now v1.2).<br /> <br /> For some reason my serial port is not working for me at the moment but i have updated the final stage with LED behaviour.
<p>Hi know it seems that nothing works after I uploaded the file. None of the LEDS light up anymore , I will try to hook up a serial to the PIC and see how it goes.&nbsp; Although the reader is reading the cards...<br /> <br /> &nbsp;</p>
Works perfectly . I was able to view everything through the serial.<br /> The problem before was that my chip went bad , so I programmed another and it worked..<br /> <br /> Thanks again,<br /> <br /> Spyros
&nbsp;Great to hear. Enjoy the RFID goodness :)<br /> <br /> I could also do a revision so that it could be used as a door entry module too. &nbsp;It would work the same but only have momentary output and remain in a software loop. If you used a DPST relay it could then be used with electronic door strikes and magnetic locks.<br /> <br /> If there is a demand for it, I don't mind doing it.<br />
Great Idea! &nbsp;This might be good on a motorcycle, as well :)

About This Instructable




More by andrew_h:Arduino Powered Gainclone (amplifier) Internet enabled interactive stair lights Racing Sim brake pedal load cell interface 
Add instructable to: