DIY non invasive temperature gauge probe placement ideas...

Technical questions and answers about the Mazda Bongo

Moderators: Doone, westonwarrior

User avatar
Rhinoman
Bongolier
Posts: 330
Joined: Mon Jan 11, 2010 7:45 pm
Location: Brinkworth, Wilts
Contact:

Re: DIY non invasive temperature gauge probe placement ideas

Post by Rhinoman » Tue Sep 13, 2011 8:22 pm

I converted the hex file to a binary image and ran it through IDAPro as a 16F874A which is close enough as the PICs are pretty interchangeable. If you can determine the pin designations then the code sections can be defined. The code is rather horrible though, only having 35 instructions means that it takes a load of code to perform a simple function. The easiest way to tackle this could be to write new firmware in C, are you using MPLAB IDE?
Its quite common to drive multiple 7 segment LEDs from a shared bus, if you toggle them fast enough the persistance makes it look they are driven seperately although they are a bit dimmer.
1995 Ford Freda, 2.5TD, auto, AFT, side conversion.
User avatar
Driver+Passengers
Supreme Being
Posts: 2019
Joined: Mon Mar 14, 2011 1:56 pm
Location: Fife

Re: DIY non invasive temperature gauge probe placement ideas

Post by Driver+Passengers » Wed Sep 14, 2011 12:48 am

Rhinoman wrote:The code is rather horrible though, only having 35 instructions means that it takes a load of code to perform a simple function.
To me, that makes it more readable! :lol: :lol:
Rhinoman wrote:The easiest way to tackle this could be to write new firmware in C, are you using MPLAB IDE?
I agree. Downloaded MPLAB IDE a few nights ago - didn't realise it now comes with C compiler - score!

Other than the alarm function, I'd like to code it such that it performs a 1-wire bus scan (potentially multiple DS18B20s per channel) and if no devices are found, falls back to ADC for NTCs. That said, make it too complicated and there's a significant challenge to design a UI that's usable! ;) It's all just a bit of fun, though distracting me somewhat from the Arduino project.

tallbongo - might pin 11 already serve two functions?? I can't quite fathom your post-it yet.
Image Image
What she doesn't know won't hurt me.
User avatar
The Great Pretender
Supreme Being
Posts: 2671
Joined: Thu Oct 19, 2006 10:10 pm
Location: Wigan

Re: DIY non invasive temperature gauge probe placement ideas

Post by The Great Pretender » Wed Sep 14, 2011 1:34 am

:shock: ................Is it just me? Or would this thread be better if it was in English............... :lol: :lol: :lol:
To infinity and beyond
User avatar
Northern Bongolow
Supreme Being
Posts: 7722
Joined: Mon Mar 15, 2010 11:33 pm
Location: AKA Vanessa

Re: DIY non invasive temperature gauge probe placement ideas

Post by Northern Bongolow » Wed Sep 14, 2011 3:53 am

are you struggling to keep up mel-------------its easy stuff really :^o :^o :oops:
bikerbob

Re: DIY non invasive temperature gauge probe placement ideas

Post by bikerbob » Wed Sep 14, 2011 9:04 am

:?: As posted the new Sure unit sensors are not calibrated for a common temp readout on both channels and it looks like its hit & miss as to quality & accuracy can you guys look into a method of calibration to ensure both channels can be adjusted to read same :?: I now only use channel 1 which gives a constant readout as I did find the switching between both channels distracting but would like the option of both.
jaylee
Supreme Being
Posts: 5500
Joined: Wed Mar 05, 2008 4:56 pm
Location: AQVAE SVLIS

Re: DIY non invasive temperature gauge probe placement ideas

Post by jaylee » Wed Sep 14, 2011 9:49 am

Both sensors on mine (Top hose outlet & heater outlet metal stub.) Before starting the engine, read the same ambient temperature always.. (Maybe both readings a degree or two higher than the air temp due to being to the engine & covered by the van?)

My observations of this gauge also reveal at around 85c on the gauge my Mason gauge can be quite high on odd occasions (Only really going up hills) Up hill at speed however it sits a little cooler, then come down to roughly where you see the needle sat here as the gauge comes up to 91 or 92c on the top hose outlet, the heater stub about 6c lower than the leading temp..(Never any higher.)
If i stop then i let the engine idle to remove heat soak, that's when the heater hose temp joins the top hose temp (Even excelling by a degree the top hose, then they drop a little maybe to around 86/87c? Then as/if i pull away they settle back more...

So am i right in thinking the coolant is doing its job with the engine, removing the excess heat generated?

Image

Though my fans cut in appropriately, the scav fan doesn't... (Scavs been tested & i have fitted a warning lamp to tell if it does cut in.) :wink:

Keep up the good work with the mods guys.. I've been following this with great interest! =D> :mrgreen:
Cheaper by comparison to a race horse...
Image
jaylee
Supreme Being
Posts: 5500
Joined: Wed Mar 05, 2008 4:56 pm
Location: AQVAE SVLIS

Re: DIY non invasive temperature gauge probe placement ideas

Post by jaylee » Wed Sep 14, 2011 9:54 am

The second unit still hasn't arrived yet for the dual pan test.. :|
Cheaper by comparison to a race horse...
Image
bikerbob

Re: DIY non invasive temperature gauge probe placement ideas

Post by bikerbob » Wed Sep 14, 2011 10:07 am

The original sure unit & sensors did give the same ambient temperature on both channels however the new unit received & using the original sensors showed a big discrepacy between them, I then connected the new sensors & same result, so this leads me to a conclusion that the new unit/sensors have not been checked for calibration, will be taking this issue up with Sure but as received new unit FOC do not think they will be too helpful.
jaylee
Supreme Being
Posts: 5500
Joined: Wed Mar 05, 2008 4:56 pm
Location: AQVAE SVLIS

Re: DIY non invasive temperature gauge probe placement ideas

Post by jaylee » Wed Sep 14, 2011 10:14 am

bikerbob wrote:Received the new Sure unit today, =D> =D> wired in using existing in situ kit from previous unit, at ambient temperature engine cold, sensor 1 on spigot & sensor 2 on rubber hose there was a 15C reading difference between channel 1&2, decided to try new `3METRE length`sensors plugged into unit but with sensors draped over the steering wheel, ambient reading difference similar which suggests that the unit/sensors have not been calibrated to read same. Road tested the system and everything seems to be working ok apart from the calibration issue, can live with this as I only want to know if & when an overheat situation commences, max temperature recorded on 20 mile road test and at idleing speeds 91C(at spigot) anything above this would investigate header tank level for coolant loss. Due to the difference between channels
1&2 considering only utilising one channel reading off the spigot.

shoot me down in flames you technocarts if you think my reasoning is more muddled than usual. :lol: :lol: :lol:
Look forward to the responses :wink: :wink:
Have a look at this Bob... http://www.igmaynard.co.uk/bongo/forum/ ... =3&t=51063
Cheaper by comparison to a race horse...
Image
User avatar
widdowson2008
Supreme Being
Posts: 1703
Joined: Tue Nov 18, 2008 10:15 pm
Location: N.E.Derbyshire

Re: DIY non invasive temperature gauge probe placement ideas

Post by widdowson2008 » Wed Sep 14, 2011 11:50 am

jaylee wrote:
bikerbob wrote:Received the new Sure unit today, =D> =D> wired in using existing in situ kit from previous unit, at ambient temperature engine cold, sensor 1 on spigot & sensor 2 on rubber hose there was a 15C reading difference between channel 1&2, decided to try new `3METRE length`sensors plugged into unit but with sensors draped over the steering wheel, ambient reading difference similar which suggests that the unit/sensors have not been calibrated to read same. Road tested the system and everything seems to be working ok apart from the calibration issue, can live with this as I only want to know if & when an overheat situation commences, max temperature recorded on 20 mile road test and at idleing speeds 91C(at spigot) anything above this would investigate header tank level for coolant loss. Due to the difference between channels
1&2 considering only utilising one channel reading off the spigot.

shoot me down in flames you technocarts if you think my reasoning is more muddled than usual. :lol: :lol: :lol:
Look forward to the responses :wink: :wink:
Have a look at this Bob... http://www.igmaynard.co.uk/bongo/forum/ ... =3&t=51063
You need to be carefull using that graph as an example Jamie. Whilst valid, it only indicates what happens during the warm-up period (as explained further down in the thread).
I'm currently working on this spreadsheet which is dynamic. By changing each of the variables (of which there are more than shown - work in progress :wink: ) the diagram alters, showing the effect at each point indicated. Before anyone gets the guns out, I stress that this is WORK IN PROGRESS, and as such is incomplete.
One thing that may seem odd is that the pump outlet is not the same as the block inlet (which they should be - and in fact ARE)
Reason for this is that being dynamic, the diagram has to have a start point and I've taken this as block inlet (80) and the generated figures around the system are based on this figure. ie: the pump outlet (81.8) shown is what happens as a result of that particular block inlet (80)with the variables set as shown. Sorry :oops: - I'm trying to make it simple - Honest guv. :lol:
Image
Steve
jaylee
Supreme Being
Posts: 5500
Joined: Wed Mar 05, 2008 4:56 pm
Location: AQVAE SVLIS

Re: DIY non invasive temperature gauge probe placement ideas

Post by jaylee » Wed Sep 14, 2011 12:20 pm

widdowson2008 wrote:
jaylee wrote:
bikerbob wrote:Received the new Sure unit today, =D> =D> wired in using existing in situ kit from previous unit, at ambient temperature engine cold, sensor 1 on spigot & sensor 2 on rubber hose there was a 15C reading difference between channel 1&2, decided to try new `3METRE length`sensors plugged into unit but with sensors draped over the steering wheel, ambient reading difference similar which suggests that the unit/sensors have not been calibrated to read same. Road tested the system and everything seems to be working ok apart from the calibration issue, can live with this as I only want to know if & when an overheat situation commences, max temperature recorded on 20 mile road test and at idleing speeds 91C(at spigot) anything above this would investigate header tank level for coolant loss. Due to the difference between channels
1&2 considering only utilising one channel reading off the spigot.

shoot me down in flames you technocarts if you think my reasoning is more muddled than usual. :lol: :lol: :lol:
Look forward to the responses :wink: :wink:
Have a look at this Bob... http://www.igmaynard.co.uk/bongo/forum/ ... =3&t=51063
You need to be carefull using that graph as an example Jamie. Whilst valid, it only indicates what happens during the warm-up period (as explained further down in the thread).
I'm currently working on this spreadsheet which is dynamic. By changing each of the variables (of which there are more than shown - work in progress :wink: ) the diagram alters, showing the effect at each point indicated. Before anyone gets the guns out, I stress that this is WORK IN PROGRESS, and as such is incomplete.
One thing that may seem odd is that the pump outlet is not the same as the block inlet (which they should be - and in fact ARE)
Reason for this is that being dynamic, the diagram has to have a start point and I've taken this as block inlet (80) and the generated figures around the system are based on this figure. ie: the pump outlet (81.8) shown is what happens as a result of that particular block inlet (80)with the variables set as shown. Sorry :oops: - I'm trying to make it simple - Honest guv. :lol:
Image
Steve, your diagram kind of ties in with my observations of the reading of the Mason gauge & the top hose reading on the sure gauge...
At least what i was trying to explain on the earlier post??!! :arrow:
jaylee wrote:Both sensors on mine (Top hose outlet & heater outlet metal stub.) Before starting the engine, read the same ambient temperature always.. (Maybe both readings a degree or two higher than the air temp due to being to the engine & covered by the van?)

My observations of this gauge also reveal at around 85c on the gauge my Mason gauge can be quite high on odd occasions (Only really going up hills) Up hill at speed however it sits a little cooler, then come down to roughly where you see the needle sat here as the gauge comes up to 91 or 92c on the top hose outlet, the heater stub about 6c lower than the leading temp..(Never any higher.)
If i stop then i let the engine idle to remove heat soak, that's when the heater hose temp joins the top hose temp (Even excelling by a degree the top hose, then they drop a little maybe to around 86/87c? Then as/if i pull away they settle back more...

So am i right in thinking the coolant is doing its job with the engine, removing the excess heat generated?

Image

Though my fans cut in appropriately, the scav fan doesn't... (Scavs been tested & i have fitted a warning lamp to tell if it does cut in.) :wink:

Keep up the good work with the mods guys.. I've been following this with great interest! =D> :mrgreen:
If i am looking at the work in progress right? :wink:
Cheaper by comparison to a race horse...
Image
User avatar
widdowson2008
Supreme Being
Posts: 1703
Joined: Tue Nov 18, 2008 10:15 pm
Location: N.E.Derbyshire

Re: DIY non invasive temperature gauge probe placement ideas

Post by widdowson2008 » Wed Sep 14, 2011 2:43 pm

Hi Jamie - Yep, you're seeing it OK by my reckoning (we may both be a mile out of line of course :lol: )
Steve
jaylee
Supreme Being
Posts: 5500
Joined: Wed Mar 05, 2008 4:56 pm
Location: AQVAE SVLIS

Re: DIY non invasive temperature gauge probe placement ideas

Post by jaylee » Wed Sep 14, 2011 3:43 pm

widdowson2008 wrote:Hi Jamie - Yep, you're seeing it OK by my reckoning (we may both be a mile out of line of course :lol: )
Hey Steve, i don't mind if anybody wants to put me right....

I've found quite often before i've been "mistaken about a great many things"..

Image

Blah blah dark side... Now witness the fire power of this fully armed & operational battle station...

(Sorry wrong thread.) :oops:
Cheaper by comparison to a race horse...
Image
User avatar
Driver+Passengers
Supreme Being
Posts: 2019
Joined: Mon Mar 14, 2011 1:56 pm
Location: Fife

Re: DIY non invasive temperature gauge probe placement ideas

Post by Driver+Passengers » Wed Sep 14, 2011 6:54 pm

tallbongo wrote:I've not measured all the 7 segments... However they do seem to be reasonably consistent, but not all. The non-consistencies are probably enables and possibly the top segment you are having problems with.

The small 7-segment which only displays the sign seems to only be connected on one segment. It make sense that this is the middle segment and it is connected to pin 5. Hopefully this is consistent with your findings.
So the three main digits are normal, and the final C/F is wired upside down. That's why in my simulator the last digit was always '3' with a missing the top segment! :lol: :lol: #-o I haven't identified exactly which is the signal for the negative sign, but should be easy enough. I've traced through a great deal of the code, and have even made a couple of modifications to it running in the simulator. And found and fixed a bug (I think I introduced it). I can't quite bridge the gap from where the sensors are read to where the LEDs are output. I think there's a combination of indirect addressing and pointer arithmetic. Anyway, progress of sorts.

Bob - I look forward to receiving the unit. As promised, if I pimp it successfully, you are welcome to have it back! I will try not to trash it... [-o< [-o<

PS. I'm half wondering if we should split out to a 'Deconstructing the Sure Temperature Sensor' thread as it is likely to go on a bit - we've only just got started!!! ;). Anyone else agree?
Image Image
What she doesn't know won't hurt me.
jaylee
Supreme Being
Posts: 5500
Joined: Wed Mar 05, 2008 4:56 pm
Location: AQVAE SVLIS

Re: DIY non invasive temperature gauge probe placement ideas

Post by jaylee » Wed Sep 14, 2011 7:06 pm

Yep i agree DP!! :mrgreen: 8) Initially i only wanted to know where to stick a probe.... But i'm finding your input fascinating 8) .

A 'Deconstructing the Sure Temperature Sensor' thread would be a great idea! =D> :arrow:
Cheaper by comparison to a race horse...
Image
Post Reply

Return to “Techie Stuff”