Sooyeon Jeong

Input Device

I decided to make a simplified night light with an LED and a phototransistor. I wanted the LED to turn on when it is dark and to turn off when it is bright. This time, I actually used the Autorouter tool in Eagle and it almost worked. I set the settings so that it would not try to use two layers. There was one connection that could not be completed but otherwise I was very satisfied with the traces the software created. For the last trace, I manually drew two squares for a jumper. I would connect those two squares with a piece of wire.

The milled PCB was okay. There were a lot of thin scraps that were not cut clean from the traces so I had to use the cutter knife to clean out the traces.

I used the serial monitor in Arduino IDE to read the sensor reading from the phototransistor, and made the LED output to be HIGH when the light sensor data is above 1000 and to be LOW when reading is below 1000. Inside my office, the phototransistor reading was around ~980. When I put my finger on top of the sensor, the reading was ~1020. So the LED lighted up when I covered the sensor with the finger and turned off when I removed the finger away from it.

This video shows how the board worked: