Offline
Newbie
Karma: 0
Posts: 9
|
 |
« on: October 09, 2012, 12:18:49 pm » |
Hello guys I'm not new with arduino and electronics, but i have a question that i need to ask to people that know a lot more then me. I want to use a sensor with arduino to measure from 0.8mm to 6 or 8mm. I have a machine that is always working with wood sheets and i need to read the thickness of the sheets with the machine working, do you think it can be done with CNY70 optical sensor? If not is there another sensor that can do it?
Thanks guys
|
|
|
|
|
Logged
|
|
|
|
|
Global Moderator
Boston area, metrowest
Offline
Brattain Member
Karma: 270
Posts: 17059
Available for Design & Build services
|
 |
« Reply #1 on: October 09, 2012, 12:19:37 pm » |
Got a link tothe CNY70 datasheet?
|
|
|
|
|
Logged
|
|
|
|
|
Switzerland
Offline
Faraday Member
Karma: 71
Posts: 3486
|
 |
« Reply #2 on: October 09, 2012, 12:57:34 pm » |
What accuracy do you need/expect? Is the surface of the sheets always the same (color, smoothness, etc.)?
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Newbie
Karma: 0
Posts: 9
|
 |
« Reply #3 on: October 09, 2012, 01:33:05 pm » |
Thanks for the quick reply. The sensor datasheet http://www.vishay.com/docs/83751/cny70.pdfI need an accuracy like 0.8mm to 0.82 or 0.85 more less. Thanks
|
|
|
|
|
Logged
|
|
|
|
|
Global Moderator
Boston area, metrowest
Offline
Brattain Member
Karma: 270
Posts: 17059
Available for Design & Build services
|
 |
« Reply #4 on: October 09, 2012, 01:49:45 pm » |
Spec shows output will very from 0.1mA to 1mA, you'll have to take that use an op amp like this http://www.dipmicro.com/store/index.php?act=viewProd&productCode=TLC279INto convert it to a 0-5V signal that the arduino can measure. From Figure 11 the change in current between 0mm and 1mm is quite small.
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Newbie
Karma: 0
Posts: 9
|
 |
« Reply #5 on: October 09, 2012, 02:06:13 pm » |
From Figure 11 the change in current between 0mm and 1mm is quite small.
So that means if i want to detect changes from 0.8mm to 0.85 or 0.9 it will be hard or almost imposible right? Any other sensor that it's possible for me to use?
|
|
|
|
|
Logged
|
|
|
|
|
Manchester (England England)
Offline
Brattain Member
Karma: 299
Posts: 26031
Solder is electric glue
|
 |
« Reply #6 on: October 09, 2012, 02:30:03 pm » |
Yes you are asking too much from this sensor. I assume you want a non contact sensor? It is quite difficult to do this and I don't know of any off the shelf sensors that will do this. It might be possible to use a reflection of a laser onto a linear CCD sensor but it is not an easy setup.
|
|
|
|
|
Logged
|
|
|
|
|
Global Moderator
Boston area, metrowest
Offline
Brattain Member
Karma: 270
Posts: 17059
Available for Design & Build services
|
 |
« Reply #7 on: October 09, 2012, 02:51:46 pm » |
You might be better with a mechanical dial kind of tool with digital output. Not sure what that is called.
|
|
|
|
|
Logged
|
|
|
|
|
Manchester (England England)
Offline
Brattain Member
Karma: 299
Posts: 26031
Solder is electric glue
|
 |
« Reply #8 on: October 09, 2012, 03:07:17 pm » |
|
|
|
|
|
Logged
|
|
|
|
|
Global Moderator
Boston area, metrowest
Offline
Brattain Member
Karma: 270
Posts: 17059
Available for Design & Build services
|
 |
« Reply #9 on: October 09, 2012, 03:11:20 pm » |
No, I mean something digital like one might find on an incoming-inspection table, or perhaps a calibraton table, for automatic recording of results.
|
|
|
|
|
Logged
|
|
|
|
|
Brunsbüttel, SH, F.Rep.GERM
Offline
God Member
Karma: 4
Posts: 596
|
 |
« Reply #10 on: October 09, 2012, 03:32:37 pm » |
what about a webcam (properly affixed with screws or so... connected to some stable USB box... like an OLinuXino...) that looks at the piece from the side?
|
|
|
|
|
Logged
|
-Arne
|
|
|
|
Offline
Newbie
Karma: 0
Posts: 9
|
 |
« Reply #11 on: October 09, 2012, 03:42:59 pm » |
|
|
|
|
|
Logged
|
|
|
|
|
Brunsbüttel, SH, F.Rep.GERM
Offline
God Member
Karma: 4
Posts: 596
|
 |
« Reply #12 on: October 09, 2012, 05:15:17 pm » |
nope not capacitive but optical... or is it impossible to look from the side?
|
|
|
|
|
Logged
|
-Arne
|
|
|
|
Offline
Newbie
Karma: 0
Posts: 9
|
 |
« Reply #13 on: October 09, 2012, 05:38:34 pm » |
yes i can be measured from the side if that is what you are asking. But your are saying that the capacitive is not going to work for me?
Thanks
|
|
|
|
|
Logged
|
|
|
|
|
|
|
|