coin detection with hall sensors or others?!
steve_b
Posts: 1,563
Hey guys,
I'm trying to work on a project that would need to be able to detect a coin.· I don't have a magnet available to try, but I'm certain that most coins are not magnetic.·
What I was looking at doing was using a hall sensor and magnet, set at a given distance apart (some sensors already come in this form).· I would then put a coin in the center of this sensor and measure the change in the 'field' given by the hall sensor.·
Would a coin deflect this field much?· Further question, would different coins of different diameters deflect it given their diameters?
Wouldn't the different materials cause more/less deflection than others.
ie: copper pennies over dimes.· there's nickel and other things ALONG with copper in pennies....but there's some silver and other materials in dimes....
I was hoping to do this with a relatively small sensor (hall...) that I could get off the shelf.· A metal detector is somewhat large and bulky (and would require a little bit of hacking to find my tap point) and I'm not sure if I would need to change from ferrous to non-ferrous for different coins.
I'm looking at Canadian coins too ·so I'm sure our materials are slightly different than the US's.
I've thought about visual checks too, but that's a bit more $$ (CMUcam? or the colour cam?)
Thanks
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
·
Steve
http://members.rogers.com/steve.brady
http://www.geocities.com/paulsopenstage
"Inside each and every one of us is our one, true authentic swing. Something we was born with. Something that's ours and ours alone. Something that can't be learned... something that's got to be remembered."
I'm trying to work on a project that would need to be able to detect a coin.· I don't have a magnet available to try, but I'm certain that most coins are not magnetic.·
What I was looking at doing was using a hall sensor and magnet, set at a given distance apart (some sensors already come in this form).· I would then put a coin in the center of this sensor and measure the change in the 'field' given by the hall sensor.·
Would a coin deflect this field much?· Further question, would different coins of different diameters deflect it given their diameters?
Wouldn't the different materials cause more/less deflection than others.
ie: copper pennies over dimes.· there's nickel and other things ALONG with copper in pennies....but there's some silver and other materials in dimes....
I was hoping to do this with a relatively small sensor (hall...) that I could get off the shelf.· A metal detector is somewhat large and bulky (and would require a little bit of hacking to find my tap point) and I'm not sure if I would need to change from ferrous to non-ferrous for different coins.
I'm looking at Canadian coins too ·so I'm sure our materials are slightly different than the US's.
I've thought about visual checks too, but that's a bit more $$ (CMUcam? or the colour cam?)
Thanks
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
·
Steve
http://members.rogers.com/steve.brady
http://www.geocities.com/paulsopenstage
"Inside each and every one of us is our one, true authentic swing. Something we was born with. Something that's ours and ours alone. Something that can't be learned... something that's got to be remembered."
Comments
Paul
jon
jhtooman: I was wondering about having a setup like that.· But, I'm concerned that the transition times wouldn't be distinct enough that I could discern a penny from a dime (both pretty close in diameter).
Kelvin: I've been looking in to metal detectors and hacking them.· I'm not sure if your 'sensor' is just the coil (I'd hate to have to add the superhet circuitry).
I used to work in an arcade (dream job ) and they used little coin mechanisms that would detect a specific coin of a specific material and size.· I'm pretty sure these were hall effects.
I'd like the sensor setup to be somewhat small (not tiny/but not huge!)....which is why I'd hate to use a metal detector (8" sensor pad),
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
·
Steve
http://members.rogers.com/steve.brady
"Inside each and every one of us is our one, true authentic swing. Something we was born with. Something that's ours and ours alone. Something that can't be learned... something that's got to be remembered."
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Knight Designs
324 West Main Street
P.O. Box 97
Montour Falls, NY 14865
(607) 535-6777
Business Page:·· http://www.knightdesigns.com
Personal Page:··· http://www.lightlink.com/dream/chris
Designs Page:··· http://www.lightlink.com/dream/designs
·
But the newer ones we had were all encased in a black molding with a spring cover on the front to access coin 'pile-ups'.
I'm certain that this would just cast out 'false' coins.· We worked on a token basis, so maybe those coins reacted differently.·
I wish I didn't spend so much time playing Tekken and Tank Wars! haha·
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
·
Steve
http://members.rogers.com/steve.brady
"Inside each and every one of us is our one, true authentic swing. Something we was born with. Something that's ours and ours alone. Something that can't be learned... something that's got to be remembered."
The prox sensors i am refering to are used in industrial application that detects when a metal part is in in place for a process. A standard size is around 3/8 diameter by 1 inch length.
The sensing distance for something like copper would be very close, maybe around 1/8 in.
They just have a 2 wire connector and act like a switch. 12v seems to be the standard, but there others available that use a lower supply if you look around. I added the link to the jameco page so you could have a look.
kelvin
[noparse][[/noparse]url]http://www.jameco.com/webapp/wcs/stores/servlet/CategoryDisplay?storeId=10001&catalogId=10001&langId=-1&categoryId=11591
Basically, dropping the coins on to a plate that's illuminated on one side and has photo-ops (phototrans) on the other side.
The problem then is light diffusion/scattering that would blead off on to other phototrans'.· Could use an A/D to compare light strengths maybe....
Kelvin, I'll check out those coils.
thanks
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
·
Steve
http://members.rogers.com/steve.brady
"Inside each and every one of us is our one, true authentic swing. Something we was born with. Something that's ours and ours alone. Something that can't be learned... something that's got to be remembered."
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
DTQ
I was looking at the flexiforce sensor from Parallax, but couldn't get an idea what it was rated for.·
Is it sensitive enough to measure 20-50grams (honestly don't know the real weights).· But the densities of the different coins would be an issue as well, so maybe I won't be able to get away with one particular 'see-all' sensor.
I think that my 'drive' circuit would have to be tuned nice enough to give me such a small weight.· 0lbs = 0volts....so, a few grams wouldn't give me much of a signal out, which means I'd have to build a 'noiseless' drive circuit and all.
HAs anyone use differential measurements with the stamp?· I know it's a good way to effectively negate the measured noise...
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
·
Steve
http://members.rogers.com/steve.brady
"Inside each and every one of us is our one, true authentic swing. Something we was born with. Something that's ours and ours alone. Something that can't be learned... something that's got to be remembered."
kelvin
Me likes!· I was looking at grabbing the sensor package from parallax (temp/humid; flexisensor; memsic accel) so this will give access to two of the sensors needed.
A further question then:
If I send a coin down a chamber and it rattles down the sides, will it give a different 'bounce' value than if a coin fell straight down without rattling?!
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
·
Steve
http://members.rogers.com/steve.brady
"Inside each and every one of us is our one, true authentic swing. Something we was born with. Something that's ours and ours alone. Something that can't be learned... something that's got to be remembered."
kelvin
If your project is a real commercial application, I would think that you should stick with tried and true systems used for several decades. If you use a home cooked design and if there is any impetus for people to beat your system, then they will.
However if you are doing it for fun, or the people inserting coins are considered trustworthy, then it doesn't matter too much what you do.
Harry
Just ran across this link www.digitalnemesis.com/products.htm and thought of your project. (scroll down to "Coin Dectector".) You might want to shoot them an email about how they did it.
Jim
Harry, i used to work in an arcade and know about those coin mechs.· But, I'm not after counting a specific coin and rejecting others.
I'm not building a commercial project either.
I have one of those stupid beer bottle coin banks that's full...and I really don't wanna count them!
So, rather than spend the hour to count them, I'm going to spend a month building something that will do it for me! ·· Why?....well....we don't really know! haha
I've a big project on hold at the moment due to me not wanting to sit in -20degC weather testing it...so in the meantime this is my novelty project.
Paul: An IR beam would certainly work too....but I need to sort the coins.· The big pain is sorting the coins.·
I actually mentioned my project to my boss and he said to try using one of parallaxes servo's.· Rig up a little scissor cam that would pick up a coin from edge to edge (flat faced).· Based on the position of the servo you would determine the coin you had.· BUT, now I have to figure out how to track the coin in order for this claw to grab it....so with one idea comes other issues.·
I've ordered a 'metal detector' kit from Jameco (hope to see it this week) that I'm HOPING I will be able to grab some sort of analog reading from.
In canadian currency, only the knickle and penny aren't magnetic...but, this doesn't mean the metal detector won't work....but it might give me another way to sort too (use a magnet to leave the knickles and pennies and some simple size slots and triggers to count those).
Throughout all this, there's also an issue of limiting the number of coins that make their way in to a 'chute' or in to a 'slot' or through a sensor.· I'm thinking of a vibrating table to bounce them along and get them all flat (not sitting on each other)....
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
·
Steve
http://members.rogers.com/steve.brady
"Inside each and every one of us is our one, true authentic swing. Something we was born with. Something that's ours and ours alone. Something that can't be learned... something that's got to be remembered."
Not to flog a dead horse, but you could take 3 commercial coin mechs (one for 25c, 10c and 5c) and daisy chain them. Reject path from one feeds into the input of the next. Figure out how to insert a single coin at a time into the top slot. If it's a quarter, it would be accepted by the 25c mech. If 10c it would be rejected by the 25c mech but accepted by the 10c mech, etc. The switches on each mech could be used to count the denominations. Absence of any switch triggers would mean it's a penny or not detected properly.
Clunky of course but at least it could reduce your problem down to getting a single coin in a slot at a time.
Harry
I've thought about cascading the mechs....but certainly one coin at a time would have to be dropped....
If I achieve one coin at a time, then I might just put in size slots with opto's underneath those.· So depending on the size of the coin it would drop through a given hole which would trip my opto and give me a count for that currency.
Sounds easy...except for controlling the coin chute.· BUT, if I'm able to control the coin chute then I'm thinking of getting fancier with how I determine the coin.·
I'm sure the hard part is controlling single coin drops.· For starters, I'm thinking of using a vibrating table that's on a slight angle.· The vibrating would unstack the coins (hopefully) and allow them to travel down the table to a chute or sensing suite.
I thought about using a sized gate that the coins would funnel in to (and hopefully stay unstacked) but the size of 2 dimes is close to the size of our toonies ($2 coins) so might obstruct or both fall instead of one coin....
I'm slowly amassing the parts!
Just got my metal detector kit from Jameco and wanna see if this might be a 'neat' way to determine coin size by flux density or something!
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
·
Steve
http://members.rogers.com/steve.brady
"Inside each and every one of us is our one, true authentic swing. Something we was born with. Something that's ours and ours alone. Something that can't be learned... something that's got to be remembered."