Tri-Temp Standard Code v2.0

After a long wait here's version 2.0 of the Tri-Temp Standard code. What changed? Lots. Button response is now very very fast. Button to toggle C/F temp measurements Temp reading is updated by interrupt timer. Approx every 5 sec. Code is documented Two new libraries needed -  avr/interrupt.h and TimerOne.h Here's the code:

TMP36 Analog Temperature Sensor

The TMP36 was my first sensor and is pretty simple. 3 pins, 1 analog port. Available from SparkFun. It's a low voltage temperature sensor. It provides a voltage output that is linearly proportional to the Celsius temperature. It also doesn't require any external calibration to provide a typical accuracy of ±1°C at +25°C and ±2°C over the … Continue reading TMP36 Analog Temperature Sensor

Code to Control Servo via Potentiometer

This example shows the code to control a servo on digital pin 2 via a potentiometer on analog pin 0. You can change the pins around via the variables in the beginning of the sketch. [php] #include <softwareservo.h> SoftwareServo myservo; // create servo object to control a servo int potpin = 0; // analog pin … Continue reading Code to Control Servo via Potentiometer