Week 2
Week 2 Notes:
- Considering the issues with the colour detector faced in week 1, we found a new way to calibrate and find the correct colours for each skittle, by taking multiple samples of RGB colours of each skittle. However, the detection would work better if it was in a fixed position instead of being handheld.
- The SD card for the raspberry pi was flashed and setup so that the code for the face recognition could be tested and implemented using the raspberry pi camera module.
- Started 3D printing individual components of the machine.
Week 2 Objectives:
- Test out the colour sensor in different environments to calibrate and find the most accurate thresholds to ensure accuracy in the sorting.
- Run the facial recognition tests to determine the efficiency of the raspberry pi camera module and if it detects the emotions correctly.
- Attempt to print out the 3D components.
Challenges faced in week 2:
- The LED keeps flickering whenever the servos move due to the voltage drop, which affects the detection of the colour. However, a fix was found which involves changing the code to make sure that the colour sensing happens only when the servos are idle, which improves the detection of the colour sensor.
- The motors used in the raspberry pi were not working, the issue might be because of the code itself since the wiring was correct.
Circuit Diagram for the Skittle sorter:
Comments
Post a Comment