Testing
Chute alignment test
Results on the chute alignment is shown in this video
- Timing based on the current logic:
- The approximate time for initial alignment (at the press of the 'Start' button) is
- Worst-case: 34 seconds (by calculating)
- Average: around 10 seconds (from testing)
- The approximate time for moving between chutes and realigning (moving from the first envelope to second envelope, etc..)
- Worst-case: 15 seconds (by calculating)
- Average: around 8 seconds (from testing)
- The approximate time for initial alignment (at the press of the 'Start' button) is
- Test this between several runs
- Test the operation with 10 consecutive runs
I tested the carousal alignment with 10 runs, and it managed to align with the chute with every turn it made. But the number of forward and backward movements it had to do with different chutes were different which you will also notice in the video in the link above. I suspect it should have to do with the reflectivity or some other mechanical parameter which changes between the chutes affects the mechanism. And there is a small play of few degrees in the rotary plate which I can feel by hand. - Test the operation with random different starting positions of the rotary plate. Different starting positions were created by a test code which rotates the rotary plate by random angles at the start.
Tested 20 times, the logic was able to find and align with the first chute and go through the seed counting cycle as expected every time.
- Test the operation with 10 consecutive runs