One will be able to walk up to the trunk of the car, touch their hip (which contains their wallet which contains an RFID card) to a specified point, causing the trunk to pop open. It will employ radio frequency identification to sense the human subject, a servo to pull the cord that pops the car trunk and an arduino to control the system. The system will be completely hidden from the outside.
This project will also allow me to explore a deeper understanding of electronics and C based code.
Overarching Goal:
It is important to integrate technology into our lives, enhancing day to day activities, and the standard of life. My goal in this project is turn a mindless but routine task into a natural extension of our lives.
Thank you to sparkfun.com and Electronics plus for being great part suppliers with awesome consumer service and an infinite amount of helpful information. Shout out the Open Source community...
I don't expect anything negative to occur, but this is electronics, so that being said:
I am not responsible for anything bad that may come from this instructables, by reading this, you agree to not hold me responsible for anything.
Remove these ads by
Signing UpStep 1: What is RFID
RFID stands for Radio Frequency Identification. It is a system that employ's low power radio waves to transmit data. The system requires a reader and a tag. The tag stores the data which gets read by the reader. All tags will transmit data but how they are activated or actually transmit the data varies depending on the tag.
Three main types of tags:
- Passive
Cheap, small tags that require no internal battery. The reader outputs a radio frequency which "activates" the tag's circuit. The energy from the radio wave is also enough to activate the tag and then send back the data through the returning radio wave. This relies heavily on the connection between an electric field and a magnetic field. The radio wave induces a magnetic field in the circuit and thereby induces electric current, powering the system. The tag includes a small amount of circuitry and an antenna. The larger the antenna, the greater the range as a result of greater energy "absorption".
- Semi-passive
Relies on the reader to supply the power required to send the signal (radio wave full of data) back to the reader. They have a small battery to power the circuit but rely on the energy from the radio wave to broadcast the signal back to the reader (similar to how the passive tag broadcasts it signal)
- Active
Active tags are completely battery powered. They still respond to a reader but the circuit and the return signal are battery powered. This greatly increases the range as well as the cost.
Extra Sources (and sources used):
http://www.abrfid.com/Passive-RFID-Tags-vs-Active-RFID-Tags
http://electronics.howstuffworks.com/gadgets/high-tech-gadgets/rfid2.htm
http://electronics.howstuffworks.com/gadgets/high-tech-gadgets/rfid3.htm
Picture: http://cbnbaggage.files.wordpress.com/2012/02/rfidlogo1.jpg











































Visit Our Store »
Go Pro Today »




Sorry if it was confusing.
Heat sinks, good idea, I rarely use one though. I would recommend anyone new to soldering use one. I find if you move quickly you get the best joints. If your flux is smoking get the joint completed before it quits and don't be afraid to use lots.
Unfortunately my car does not have an electric trunk release. That would have made things a lot easier for me.
As for the soldering heat sink, it turns out I didn't need it, my board is not broken. I had not ruled that out as a possibility because the power system was not working, but since it now is, I have no reason to blame the board.
After looking at your "flow diagram," here is my recommendation: Use a separate supply for the servo. That size of servo is very likely to pull more amperage than the Arduino can handle regardless of what supply you have hooked up to the Arduino. I think the best option is to use the 12V from your car, regulated down to the required 6V, to power the servo and buy a different battery with a higher voltage to power the Arudino. The servo obviously doesn't use power unless you're actually actuating it so it won't be a drain on the battery and it can draw much more current without bothering the Arduino.
I purchased an rfid unit that was ready made for £20 complete with fobs from ebay. No playing about with voltage regulation or losing an arduino unit to doing what is in effect a very simple thing for it. (I'm thinking cost effectiveness here).
At the same time a central locking kit with 4 servos and control unit - crucially the control unit allowed a voltage input to mimic a keypress on a normal fob.
The system was also going to allow keyless ignition from the initial RFID response, but unfortunately the car didn't last long enough :-(
Again, I don't want to take anything away from your 'ible, I think it's great, I've just never had the time to get into the whole arduino thing :-)
Personally though, I enjoyed learning more about the electronics and found that using an arduino allows for an unlimited amount of flexibility. The instillation process is one of the hardest parts (if you want it well integrated) so flexibility was important to me.
Also, for unlocking of the doors, I choose to use the2.4Ghz spectrum because of it's range (Nike + with arduino).
I am also working on a keyless ignition system, but it is important to me to use a button so I don't have to take my wallet out of my pocket (yes, I am lazy). I also need the system to allow me to active electricity on, all electricity on, and car on.
Again, I understand where you are coming from though.
An update (that I will reflect in my ible soon) on the power issue:
I powered the arduino with a regular 9v (just a regular Duracell) and powered the servo separately with the same 9v. I had two sets of alligator clips connected to the 9v. One set was simply connected to the raw and ground pins on the arduino and the other set was sent to the ground wire for the servo and a variable voltage regulator which then went to the servo's vcc wire. This allowed me to play with the voltage values for the servo only. I was very surprised by what I found: the arduino ran fine with the 9v and strangely the servo ran best on 1.55v pulling 6.8 mA. I always thought this servo would take 5-6v but it clearly ran best on 1.55v.
Now I need to figure out how I can permanently power the system. I can find a battery that is 9v with a high amp/hour rating but need to find a power system for the servo now. I will probably try to connect it to the car like jwhitley suggested. Thanks again for the help everyone!
http://www.instructables.com/id/Simple-Walker-Robot/step25/Program/
There may be better examples than this, but you can get an idea. I am building this as my first robot project and I found it very easy to drive the servo to any position within its range (easily 90 degrees or more) and hold it there. For this 'ible, if the cord is stiff to pull, you might need a very strong servo though. I am not sure the average hobby servo will be strong enough - This depends a lot on the car. Good luck with your project!
As for the strength of the servo, Untold is again correct. I started with a smaller servo but needed to upgrade to the one I listed.
Good luck on your project duggerpato!
So a bigger Ah figure just means your battery is going to last longer - it's not going to push any more current through the circuit.
The basic definition is:
Charge (coulombs) = Current (Amps) x Run time (Sec)
= Current (Coulombs/sec) x Run time (Sec)
But it's easier to use in units of Amp x hours rather than Amp x sec, like so:
Charge (Amp Hours) = Current (Amps) x Run time (Hours)
Helps you figure out how long the battery will last (roughly, it won't discharge evenly).
Current capacity is how fast the fuel can flow out of the system. That is what sounds more related to the issue you guys are discussin.g
Hope this helps,
David
That's a good idea, I didn't think of using two RFID readers. Since I have this system (http://www.sparkfun.com/tutorials/135) set up, I was just going to have the push button start work only within a specified time after the doors are unlocked. I like your idea, but I am not sure if the range of the RFID reader (even the ID-20) would be enough.
Then just for fun, I would have another project that monitors both the seat switch that triggers the seatbelt warning, and the RFID status - if someone sits in the seat without the correct RFID card, then a bogus security message will prompt them to enter a code on a keypad in order to bypass the alarm. The keypad will actually be a way to compose music over an external PA speaker. This prompt of course will inform you that your card isn't registering properly.
You could have a rhythm track that plays for 5 seconds whenever a key is pressed. And a countdown timer that plays the rhythm track plus any key presses that were recorded to memory. The implication being that your friend needs to enter something before the timer runs down. All the while another track keeps playing 'Please enter code'
And on the ardunio, when the programer is pluged in the unit switches to usb power. Which is 5volt at around 750ma. 750ma is the max usb can give out. This may not be enough for certian servos. A method I see that works is a relay to control the highet power for the servo. Yes it is more wiring and tweaking in the code. Hope this helps
nice ible dude, i mean duke!
http://www.youtube.com/watch?v=-zbC6T6sfZM
skip to 1:52
If that's what you were referring to, that a very creative use. Though it may be just as effective to also set it up to use the RFID tag to unlock the doors.
I see you are not putting the Arduino to sleep. This means it constantly takes about 40mA from the battery which is quite a bit. with 4.5A/h battery you get 110 hours of operation. If you are putting it to sleep for 1second, wakes up for polling the RFID (that will be very few mill-seconds and back to sleep) you will get an average current drawn that is substantially less and much more battery time. You could easily apply a factor of 20 to the above (so few months instead of current ~5 days). Plenty of samples for that, you can see my simple parking sensor instructable for one http://www.instructables.com/id/Simple-Parking-Sensor/ .
Few things to note when doing that:
1. Reduce unnecessary debugging messages and shorten them to reduce wake up time.
2. Make the serial fastest you can (115,200)
3. Remain time efficient in code, even at cost of space.
I got a factor of almost 50 with sleep of 2 seconds. The downside of that is the user experience can be of a delayed response to sensing the RFID. I think one second sleep will not an issue (on average a delay of 0.5second).