03-26-2012 05:43 AM
I need to setup a hardware
i will be using a conveyor belt and there will be coins moving on top of it linearly
the conveyor will be driven by a DC motor.
once the coin comes under my camera axis (sensed by an IR object sensor), my conveyor must stop and the image must be captured by the camera
please help me to code the software
03-26-2012 07:37 AM
@$hiv@ wrote:
please help me to code the software
Hi $hiv@ ,
Tell me where you have been struck. So that can help you much better.
03-26-2012 10:15 AM
Sir wat i planned was that when the object is found the motor of the conveyor must stop first , then the camera must capture the image for processing.
i feel it difficult to synchronise it.
03-26-2012 06:16 PM
@$hiv@ wrote:
Sir wat i planned was that when the object is found the motor of the conveyor must stop first , then the camera must capture the image for processing.
i feel it difficult to synchronise it.
I don't know what your system setup is there, but how about instead of stopping when the coin is detected, only move when the coin is not detected (and I guess for a short period after the image is taken). Then you can just take the image, and tell the conveyor to move again.
As to how to get the image taken only if the conveyor is stopped?
A case statement could work (not saying it's the best way).