Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: David Higton Newsgroups: comp.sys.raspberry-pi Subject: Re: Need help with PI PICO... Date: Tue, 26 Mar 2024 19:16:37 GMT Organization: Home Lines: 22 Message-ID: <868ed1475b.DaveMeUK@BeagleBoard-xM> References: <20240323183723.b2902fb94d75422b924c1bc7@eircom.net> <20240324072346.81064ff46570e669982a1f4e@eircom.net> <20240326181622.29ba5821e5005ff39744f363@eircom.net> Injection-Date: Tue, 26 Mar 2024 19:19:32 +0100 (CET) Injection-Info: dont-email.me; posting-host="31414ae40149a4adfbc6722518b3e84d"; logging-data="2433481"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+Pqzq1IGUf1zV7BrwS4zzs5r4uLdNl8oI=" User-Agent: Messenger-Pro/8.03 (MsgServe/8.01) (RISC-OS/5.29) NewsHound/v1.54 Cancel-Lock: sha1:IW0tSuSLwm50v/of0b0pYw4G18U= Bytes: 2053 In message The Natural Philosopher wrote: > On 26/03/2024 18:16, Ahem A Rivet's Shot wrote: > > On Tue, 26 Mar 2024 17:33:50 +0000 Jim H wrote: > > > > > Assuming the "oil" you're talking about is kerosene/heating fuel, the > > > speed of sound is 1330 m/sec so 0.5cm takes 3.76 micro-sec. > > > > I would have thought it's measuring the distance to the surface of > > the oil from above the oil so it would be the speed of sound in air that > > matters 300m/s. > > > Correct, Mrs Shot. Anyway it's died within 30 minutes of going back on > 'short echo'... So its definitely sensitive to that in some way. > > I'll add more debug code tomorrow Are you sure the sensor isn't malfunctioning as a result of being in oil vapour? David