This week Neil gave the lecture on the Input Devices, well after working on OutPut devices, it was bound to be much easier
I already had basic idea what I wanted to do, I wanted an input device to work on light intensity. If it can detect high light it should rotate the motor and if it didn't it should stop it.
Basically I wanted to use IR LED + Photodiode to read the output from IR LED. But as the part of assignment, I used Phototransistor instead of Photodiode.
Photodiode is a device which reads the signals sent from the Infrared Sensor, it reads only these.
Phototransistor is a sensor which reads the signals from both Infrared and non infrared light.
As I wanted to make my circuit based on IR LED and PhotoTransistor along with the motor driving circuitory, I took one of the example circuits provided of the motor driving in Output Devices and updated it according to my requirements.
Traces of the IR Circuit
Outline
Next one was to make the RML files using the FabModules, well it wasn't much difficult, as it went quite smoothly
Fab Modules for Traces
As we had already done milling mulitple times this phase also went smoothly. The only challenge was the availability of the machines, as the machines were quite busy doing the task of Milling the wax for previous week's task as well as this week.
Milling
Milling
All the related files are attached here :
After the milling was done, now it was the time for soldering and I started soldering the compoponents on the board
Bill Of Materials
After soldering
After soldering completed, the last thing in the soldering process was to check if all the components are connected perfectly, so I used Multimeter to check and confirm if everything is connected and working.
Well everything gone well till the soldering, when it came to the programming that was certainly a challenge as the code avaialble with the example of PhotoTransistor didn't worked as the it quite complicated.
So to resolve this issue I tried to create code for my own self which can be easily understood and work according to my own needs
After this, it was all about reading the output
Once the connections were ready I used the built-in Serial Monitor in the Arduino to read the output.
Using Serial Monitor to read the output
Using Serial Monitor to read the output