input devices


light and temperature sensors

components
this week i'm testing the hello.light.45 board and the hello.temp.45 board as light and temperature sensors. again, the first step was reading the ATtiny45 datasheet to understand the pin configuration so i can target them correctly in the code:

ATtiny45 pin configuration

fabrication i milled and stuffed both boards:
hello.light.45 and hello.temp.45 components

testing finally, I tested both boards with Arduino IDE AnalogReadSerial example remapping the value range:
AnalogReadSerial + map


hello.light.45: serial monitor reading values from -1 (default light) to -14 (flashlight light)



hello.temp.45: serial monitor reading values from -30 (cool) to -350 (hot)