Jump to content
43oh

How Calculate the number of chips


Recommended Posts

I am trying to find a way to measure how many poker chips in a stack. My though was to put a peizo and put your stack on that. I don't know enough about peizo though. Any thoughts would be appreciated or if you would use some thing else.

Link to post
Share on other sites
The piezo is a very poor choice for this kind of application. They are much better suited to vibrational sensing.

 

after reading some more, you are right, they measure the change in pressure. Thanks. i was hopping not to use presure sensors since they are expensive. But I guess its the best way.

Link to post
Share on other sites

How about this if you want to use piezo, mount it at some height, then put the chips below, ping and measure the time it takes for the ping to return, just like distance meters do.

 

And how about optical way, for example you can have a tube, on one side detectors, on the other LEDs, you wouldn't have to have as many detectors and LEDs as chips, because you would scan and detectors would work diagonally.

Link to post
Share on other sites

I do like the ping idea though the distance meeter usualy have a minimum distance. I also don't know if its accurate enough to detect the difference of 1/4 inch? I might try it though and see. I also don't quite understand what you mean with the sensors being diagonally? can you explain a little more?

 

thanks

Link to post
Share on other sites

You could mount piezo 12 in above the bottom, and allow up to 6 or 8 in stack.

 

So the idea is to have a tube (c shaped or full) with a slit on both sides. LEDs and detectors would be mounted ~1 inch away from the tube. The you scan through LEDs and see which detector "sees" the LED. When you have enough chips to cut off the light from the parallel pair, the detector will still "see" the LED above, the next chip will cut that off but that one above will still be visible, and so on. It all comes down to geometry and finding the right balance between the number of parts, accuracy, and the dimensions

post-197-135135498368_thumb.png

Link to post
Share on other sites

You will be constructing an apparatus to do this measuring so I think you should approach the problem by measuring the length or height of the stack.

 

Think of a modified caliper. It knows the length. Just divide that length by a known quantity - the chip thickness, and you have the number of chips.

 

You will have to set a practical limit on the length that you will measure otherwise the resolution will be diluted and you may be off by one chip count - error factor.

 

I see a sliding T-stick that you would stand up beside the chip stack and measure its height above the table. You slide down the T to the topmost chip and the digital readout tells you how many chips it thinks is there.

 

If you want to go contact-less then you will have to build a comparator mechanism. It will sense the presence of chips up to the last chip and then sense nothing after that. An electronic ruler.

 

Think of a stacked opamp configuration that measures a voltage ladder. If the applied voltage is within an opamps operating input window then that opamp will turn on.

 

IMHO, the solution is an A2D input circuit of some sort.

Link to post
Share on other sites

I did think og using a lieter pot rather than a rotary pot and have the user slide it up even with the stack.

 

I think RobG's Idea with the LED might be a good Idea LED are cheap and I can find them every where

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...