11. Input devices¶
# Assignments
## Group assignment
- Probe an input device’s analog levels and digital signals
Individual assignment¶
- Measure something: add a sensor to a microcontroller board that you have designed and read it.
Group assignment¶
Individual assignment¶
This week’s assignment I tried to modify my “Echo hello World board by adding the thermistor sensor as input device. Thermistors are thermally sensitive resistors that are accurate and cost- effective sensors for measuring temperature. I started designing my input board in Kicad, in addition to the necessary components for the temperature sensor as can be seen in the following screenshot.
After designing the pcb, I generated an SVG file and converted it in PNG through GIMP.
PNG file were used to create RML file that the Roland Milling machine can understand in order to mill the pcb.
Milling the input board¶
After setting the coordinates for Roland SRM-20 available in our fablab, I printed the board as you can see in the screenshot.
Here is the input board printout After printing, the next step was to solder the electronic components. During soldering I realised that the thermistor was not available in the lab and my instructor advised me to use the photodarlington sensor which was available in the lab since both sensors have 2 pins. I used the photodarlington sensor instead of thermistor.the logic behind using this sensor is to sense the light and turn on the LED
Programming¶