Engine Temperature Sensor/Gauge With Wireless Probe for Classic Vehicles

by hobbyman in Circuits > Sensors

4107 Views, 4 Favorites, 0 Comments

Engine Temperature Sensor/Gauge With Wireless Probe for Classic Vehicles

17431530_10154521535110748_1529078990_o.jpg
17424912_10155461695482668_5797133580821422276_n.jpg
126 birthday.jpg
65383835_10156555288745748_8704161575109394432_o_10156555288740748.jpg

I made this probe for my lovely Çipitak. A fiat 126 car with a 2 cylinder air cooled engine under the rear bonnet.

Çipitak has no temperature gauge showing how hot the engine is so I thought a sensor would be helpful.

Also wanted the sensor to be wireless to get rid of routing a cable all the way to the back.

I thought of making the gauge (receiver) part with some kind of a digital-analog something display which will be powered from the usb socket on my car's mp3 player.

And wanted to make the receiving probe part with two temperature sensors and power it from 3-4 AAA batteries.

First Circuit Tests

61415242_10156486420145748_3754943547292254208_o_10156486420135748.jpg
61494238_10156486370940748_1411896650892312576_o_10156486370930748.jpg
433mhz-rf-radio-frequency-transmitter-receiver-modules-768x285.jpg

While designing my circuits i've came along a useful website which i've downloaded some sample code that works beautifully and wrote my own code by using some parts of that code.

here is the link from that site related to using a pic microcontroller with an oled display

and

here is the linkfrom that same site related to using cheap 433Mhz RF modules for communication among 2 pic micros.

the root address of the site is below which is full of very useful practical simple circuits as the name implies(I have no relation with the site owners).

https://simple-circuit.com/

the two strange named mp4 files are small video files showing the system while running.

Circuit Design and Testing

62071140_10156493619390748_8911361543476609024_o_10156493619380748.jpg
61764694_10156494475660748_4446598084138369024_o_10156494475650748.jpg
62465061_10156508596240748_6693382131936133120_o_10156508596220748.jpg
61890527_10156508177650748_4133963639386275840_o_10156508177635748.jpg
62019148_10156508276760748_1351480230702743552_o_10156508276750748.jpg
62226921_10156508118305748_9018545682163695616_o_10156508118295748.jpg
TEMP SENS 18B20.png

I've used a pic 12F1822 microcontrollers each for the transmitter and the receiver part.

An oled display is connected at the receiving part to display the measured temperatures.

As the 1822 controller has a very low ram, only the basic functionality of the of the display is used to print blocks side by side to form 6 digital letters in total.

two 18B20 temperature sensors work at the transmitting side as the temp1 and temp2.

Temp1 is for measuring the main engine temperature and it runs every 6 minutes and checks the temperature. If the temp is below 50°C then the circuit does nothing and goes into sleep mode to wake up again 6 mins later.

Temp2 can be used to monitor the temperature of a second point on the engine or maybe the temperature of the batteries at the transmitting probe.

if Temp1 is higher than or equal to 50°C then temp2 is also measured, the transmitter module is turned on by the controller and both measurements are sent to the receiver. Then the circuit switches its timing to wake up every 30 seconds and goes to sleep again.

The circuit wakes up 30 secs later to the same measurements and transmittion and goes back to sleep repeating this cycle as long as the engine is hot.

if temp2 falls below 50°C then the circuit thinks that the engine is turned off and stops transmitting, switches its wake up timing to 6minutes and goes to sleep.

The power consumtion with 6V power supply (4 AAA batteries in series) during normal operation while transmitting is around 5mA while not transmitting it is around 3mA . In sleep mode the current drawn falls to 0.03mA. That is a consumption figure which could easily enable the circuit to run for months with the same battery set.

hex codes for the transmitter and the receiver side are attached.

Receiver Side Prototype

65100226_10156552492670748_2325805252701323264_o_10156552492665748.jpg
65170242_10156552492705748_7356161904298950656_o_10156552492680748.jpg
65394844_10156552492590748_7895774384118300672_o_10156552492575748.jpg
64701371_10156552492610748_3217234867561431040_o_10156552492605748.jpg
65224561_10156552492420748_1692481272292573184_o_10156552492415748.jpg
65096045_10156552492540748_4543410993497112576_o_10156552492530748.jpg
65494109_10156552492505748_3059319885139017728_o_10156552492490748.jpg
65122783_10156552492460748_6050966075128938496_o_10156552492450748.jpg
65761391_10156552492570748_5707477289697017856_o_10156552492560748.jpg
65172366_10156552492435748_2815391203292348416_o_10156552492430748.jpg
65813610_10156552492475748_8551677106386370560_o_10156552492455748.jpg
65386142_10156552492495748_6049354242622226432_o_10156552492485748.jpg
65052002_10156552492600748_186380586846257152_o_10156552492580748.jpg
65621402_10156552984210748_4602418222031962112_o_10156552984125748.jpg
65229354_10156552984335748_1870951779215081472_o_10156552984245748.jpg
65070720_10156552984350748_78299061987311616_o_10156552984250748.jpg

I've made the prototype of the transmitting side as can be seen on the photos by using multi holed protoype board. Cut a usb cord to use as the base of the device and also the power supplier.

Transmitter Side Prototype

IMG_20190712_205056.jpg
IMG_20190712_205111.jpg
IMG_20190712_205301.jpg
IMG_20190712_205245.jpg
IMG_20190712_205215.jpg
65637882_10156566960560748_5467189872533962752_o_10156566960545748.jpg
65511923_10156566960570748_9104730987006263296_o_10156566960550748.jpg
62509127_10156566960390748_2825935317939257344_o_10156566960375748.jpg
65531183_10156566966080748_8565902381668106240_o_10156566966070748.jpg
65893519_10156566966050748_7224734242889007104_o_10156566966040748.jpg
66076666_10156566965525748_881318819463692288_o_10156566965520748.jpg

Transmitting side is also made in similar fashion by using a small multi holed prototype board.

I've used an old mouse as the case of the transmitter and randomly thrown the circuitry inside and attached some magnets to stick it to the sheet metal oil sump of the fiat 126 without using any screws or other parts for attaching.

3d Printable Case Design

65941713_10156555288710748_2748789995836801024_o_10156555288680748.jpg
65174434_10156555288630748_1879206130832375808_n_10156555288620748.jpg
0.jpg
1.jpg
2.jpg
3.jpg
4.jpg
5.jpg
6.jpg
7.jpg
8.jpg
9.jpg
a.jpg
b.jpg
c.jpg
d.jpg
e.jpg

I've modeled the oled screen and the other parts in solidworks and designed an outer case for the receiving part.

any available case can be used for the transmitter even a mouse case is ok as you know. So i didn't design a special case for it. Here are the steps of the receiver case design.

STL files for 3d printing are also attached.

3D Printed Probe Case

WIN_20191010_15_08_15_Pro.jpg
WIN_20191011_15_36_04_Pro.jpg
WIN_20191011_15_36_39_Pro.jpg
WIN_20191011_15_36_30_Pro.jpg
WIN_20191011_15_40_16_Pro.jpg
WIN_20191011_15_40_11_Pro.jpg

I've made a 3d printed case for the probe

Installation and Testing

72766114_10156828300105748_1765757120919109632_n.jpg
73403991_10156828300180748_7069128608547078144_n.jpg
73388324_10156828300055748_1803728862358536192_n.jpg

installation was simple :D. The probe can be attached to any metallic surface so i've tried engine top first, then the side of the oil sump. It works ok in both locations.

my test print was made from PLA, So expectedly it got softer in hot temperatures. I will try ABS next time.