INPUT DEVICE
![](week12/wk12pic/input_device.jpg)
Assignment
During this week Assignment, I designed a microcontroller board and added an input component, the LDR sensor. Now I am going to program the microcontroller to read the input data from the LDR and control the LED.
as all steps are going to be shown
![](week12/wk12pic/hello1.png)
Using Kicad, I designed the board:
![](week12/wk12pic/hello4.png)
Here below is the image of traces
![](week12/wk12pic/new trac.png)
Importing the png image in fabmodules to generate the path and .rml file for the milling machine:
![](week12/wk12pic/hello5.png)
Milling the PCB :
![](week12/wk12pic/millboard.jpg)
![](week12/wk12pic/aftr.png)
Here is the image after soldering the board:
![](week12/wk12pic/sold.png)
Here the next step wos to Programming the board as the codes used are shown in the image below:
![](week12/wk12pic/ino2.png)
Here below is the video