Back to Parent

Process

The first step in creating this device was to assemble the circuit and make sure everything was hooked up properly. This involved using a pull-up resistor on the photosensor as well as a current-limiting resistor on the LED. Once the circuit was complete, the code was written to read the values from the sensors and control the LED according to the readings. There were two issues I had when working with the temperature sensor. First, I had to determine how to convert the sensor reading into a useful value. To do this, I looked at the datasheet and found the conversion factor to change the reading to Celsius, and then converted that to Fahrenheit. The second issue was that I needed to change the temperature to actually test my circuit and code. The solution to this was to use my finger to heat up the sensor and trigger my set point to turn on the LED.


Content Rating

Is this a good/useful/informative piece of content to include in the project? Have your say!

0