Week Eleven: Input Device
The homework for this week is to design a board with a sensor that can detect something. After thinking for a while, I decide to make an ultrasonic sensor that I will potentially use for my final project, a boy zombie. I used eagle to design the board and has it cut. Starting from this week, the learning content becomes much difficult. I spend a while learning some undelrying principles from my fellows in my lab.
-
Step1: Design the board on Eagle
-
Step 2: The output of the board trace
-
Step 3: The outline of the board
After completing the board design. I finish soldering all parts of board, I decide to use ultrasonic sensor as the input. This part eventually becomes part of my final project. The ultrasonic sensor serves as an input to detect whether any object coming close to the sensor. Whenever there is such a thing, the buzzer will ring. This function is clear from my demo in my video at roughly 2nd second, and from my Video for the full effect of input & output on 13th week. I will continue how this board is integrated with the output project in the 13th week documentation. My major problems during the programming process was to match the pins. I connected wrong pins at the beginning, which took me a long time to debug my system. However, my dear friend Phoebe told me to check out the microcontroller datasheet, in which I could research the pin and match them rightly. On the other hand, I found some examples of programming in the datasheet, which helped me to digest and understand some programming.
-
Step 4: The traces for the board on the milling machine
-
Step 5: The board being cut
-
Step 6: Final outcome