• home

Two Wire Temperature Sensor

The Type LM35 temperature sensor from National Semiconductor is very popular for two reasons: it produces an output voltage that is directly proportional to the measured temperature in degrees Celsius, and it enables temperatures below zero to be measured. A drawback of the device is, however, that in its standard application circuit it needs to be connected to the actual measuring circuit via a three-wire link. This drawback is neatly negated by the present circuit. When the LM35 is connected as shown, a two-wire link for the measurement range of –5 °C to +40 °C becomes possible.

Two-Wire Temperature Sensor Circuit DiagramActually, the circuit shown is a temperature-dependent current source, since it uses the variation of the quiescent current with changes in temperature. The values of resistors R3 and R4 are calculated to give an output voltage of 10mV °C–1. Where good accuracy is desirable or necessary, 1% resistors should be used. In this context, note that a loss resistance in the link between sensor and measuring circuit may cause a measurement error of about 1 °C for every 5 ohms of resistance. Capacitor C1 eliminates undesired interference and noise signals. At an ambient temperature of 25 °C, the circuit draws a current of about 2mA.

Oil Temperature Gauge for 125 cc Scooter

Lots of Far-Eastern scooters are fitted with GY6 engines. These already elderly units are sturdy and economical, but if you want to  “push” the power a bit (so called ‘Racing’  kits, better handling of the advance, etc.), you soon find yourself faced with the problem  of the engine temperature, and it becomes essential to f it a heat sink (of ten wrongly  referred to as a ‘radiator’) on the oil circuit. Even so, in these circumstances, it’s more than reassuring for the user to have a constant clear indication of the oil temperature. Here are the specifications we set for the temperature gauge we wanted to build:

Oil Temperature Gauge Circuit Diagram :

Oil Temperature Gauge-Circuit Diagram
  • no moving parts (so not meter movement), as scooters vibrate a lot!;
  • as cheap as possible (around £12);
  • robust measuring transducer (avoid NTC thermistors and other ‘exotic’ sensors);
  • temperature range 50–140 °C. (122 – 291 °F);
  • audible and visual warning in case of dangerous temperature;
  • compact;
  • waterproof.
Let’s start by the sensor. This is a type-K thermocouple, as regularly used by multimeter manufacturers. Readily available and fairly cheap, these are robust and have excellent linearity over the measurement range we’re interested in here. The range extends from 2 mV to 5.7 mV for ten measurement points. The positive output from the thermocouple is applied to the non-inverting input of IC3.A,  wired as a non-inverting amplifier. Its gain  of 221 is determined by R1 and R2. IC3 is an LM358, chosen for its favourable characteristics when run from a single-rail supply. IC3.B is wired as a follower, just to avoid leaving it powered with its pins floating.

IC3.B output is connected to pin 5 of IC1, an LM3914. This very common IC is an LED display driver. We can choose ‘point’ or ‘bar’ mode operation, according to how pin 9 is connected. Connected as here to the + rail, the display will be in ‘bar’ mode. Pin 8, connected to ground, sets the full scale to 1.25 V. R3 sets the average LED current. Pin 4, via the potential divider R7/R8+R9, sets the offset  to 0.35 V. Using R8 and R9 in series like this avoids the need for precision resistors.

As per the LM3914 application sheet , R4-R5-R6 and C5 will make the whole display flash as soon as D10 lights (130 °C = 226 °F). Simultaneously, via R10 and T1, the (active) sounder will warn the user of overheating. Capacitor C6 avoids undesirable variations in the reference voltage in ‘flashing’ mode. IC2 is a conventional 7808 regulator and C1– C4 filter the supply rails. Do not leave these out! D1 protects the circuit against reverse polarity.

The author has designed two PCBs to be fit-ted as a ‘sandwich’ (CAD file downloadable  from [1]). In the download you’ll also find  a document with a few photos of the project. You’ll note the ultimate weapon in on-board electronics: hot-melt glue. Better than epoxy (undoable!) and quite effective against vibration.

Author : Georges Treels - Copyright : Elektor

Source : http://www.ecircuitslab.com/2012/08/oil-temperature-gauge-for-125-cc-scooter.html