yes,I think this us all a part of this thread
yes almost correct,Ok, let me get the application straight.
You have a conveyor belt, and 3 proximity sensors at fixed spacing along the belt.
As an item (smaller than the spacing between sensors) moves down the conveyor belt:
When it triggers sensor 1, LED1 will light for the duration the sensor is triggered.
When the item passes sensor 2, LED 2 lights, staying on for the duration the sensor is triggered.
When the item passes sensor 3, LED 3 lights, staying on for the duration the sensor is triggered, however, if there is no trigger from sensor 3 after receiving triggers from sensor1 and sensor2, you want an alarm or other action to take place.
Let me know if the above is roughly correct, the conveyor belt can go at infinite speed, and the items can be as large or small as desired.
What frequency would the sensors in your application be activated at?
Is there a chance that more than one sensor will be activated at the same time?
I didn't understand the picture, so let me know if the analogy above is correct.
input_state = portc; // store the input value portd |= input_state // set to high the outputs that represent an input that has 1 portd ^= ~input_state; // invert the portd bits when the same bit in input_state is 0 , leaves bits with 1 in input_state unchanged delay_ms(a); portd ^= ~input_state; // invert the portd bits when the same bit in input_state is 0 delay_ms(b);
|Thread starter||Similar threads||Forum||Replies||Date|
|A||1v dc signal to change state of relay||Analog & Mixed-Signal Design||16|
|R||pulse output on optoisolator state change.||General Electronics Chat||14|
|Simple pulse generator from switch state change||General Electronics Chat||12|
|Looking for a proper state change relay, but I'm struggling! Help!||General Electronics Chat||9|
|A||Detecting voltage change in the OFF state of an AC Load||General Electronics Chat||3|
by Jake Hertz
by Jake Hertz
by Luke James