#10 Input devices
I decided to use Reflect light sensor, or spectrum, since it is the one that relates to my final project.
First used the fabmodules to mill the card in the Modela. I'm quite familiar with this process so everything flowed properly.
Likewise with the soldier of the components.
Then I used my FabISP card to program the sensor. For this sensor I used the C Code located on the website of Fab Academy.
Once the code was already embedded correctly, I used Python to run the program and be able to sense the light spectrum. For this operation, Academy webpage also gave us this PY Code.
However, the first attempt was an error occurred. Apparently the code did not recognize the port on which was located the sensor. The display ran, but immediately freezes without responding.
I made a small modification to the code indicating directly the port where the sensor is located.
This time recognize it and run the program properly. Spectrum sensing went smoothly.
Together with my colleagues tested the sound sensor with good results.
Back To Top