HI, I'm working on a very basic visual detection system for a piece of farm equipment and am looking for some input.
The machine in question is a prepruner which straddles a row of grapes and cuts the long branches in preperation for pruning. At each post, the cutting heads have to move apart, this is done manually by the operator and we want to automate this process.
I have built an array of 66 photodetectors (next iteration I plan to have 90 for more resolution) with matching emitters on the opposing side and have used a pile of discrete 7400 series gates (22 to be exact) to do the logic, requiring the system to only trigger when a straight line of a minimum 18mm thickness blocks the photo sensors. This is, expectedly, cumbersome and a bit of a mess, but it works reasonably well.
Yes, if i grow a beard, it is gray!
I would like to simplify the hardware and use a micro instead of the discrete ICs.
The downside:
My Microcontroller experience is limited, I last programmed 8051s in college in the early 90s with assembly, same goes for C, learned 20 yrs ago and haven't used it since. I know it's going to be a bit of a steep learning curve but I'm OK with that.
The requirements aren't all that heavy, I figure if the Micro can query the array 15-20 times per second I'll be laughing.
I would love to get some feedback/advice, even if you think I'm crazy.