frankus 6 days ago

"As part of the calibration, the speed of sound is also a parameter which is optimized to obtain the best model of the system, which allows this whole procedure to act as a ridiculously overengineered thermometer."

Reminds me of the electronics adage: "all sensors are temperature sensors, some measure other things as well."

10
danielheath 6 days ago

Back in high school, I built (with some parental assistance) an apparatus to measure how quickly the pressure would drop (in a pressurized cylinder) when a very small hole allowed air to leak out.

Turns out, not only can you measure temperature that way, but can extrapolate the graph out to find absolute zero (IIRC my result was out by about 20 kelvin, which I think is pretty damn good for a high-school-garage project).

Horffupolde 5 days ago

No, there you are measuring R, assuming the air inside the cylinder was an ideal gas.

analog31 5 days ago

>>>> Reminds me of the electronics adage: "all sensors are temperature sensors, some measure other things as well."

A corollary that's one of my rules to live by: Never measure anything over time without also measuring the ambient temperature.

mastersummoner 5 days ago

Not really related, but the way you chose to indicate a comment here immediately made me think you had merge conflicts.

Marthinwurer 6 days ago

I love these kind of inadvertent measurements. One of my favorite examples is that a sufficiently accurate IMU can get you relatively accurate longitude measurements from the Coriolis effect.

adolph 6 days ago

Slight correction, latitude, not longitude.

The earth’s surface closer to the poles has less distance to travel for any rotation than the surface closer to the equator. As a result the inertial navigation systems of long distance systems must be adjusted. Iirc, this is also the case for artillery firing computations.

https://www.oxts.com/blog/going-round-circles-earth-rotation...

https://www.britannica.com/science/latitude

billyjmc 6 days ago

Coriolis corrections are thrown into sniper ballistic calculations, too. Not a huge effect in most conditions, but not zero, and there have been a lot of long shots in the past two decades.

psunavy03 6 days ago

"Oi! Suzy!"

nielsole 6 days ago

Asahi Linux (and likely MacOS too) uses the resistance of the speakers coils to detect overheating of same speakers and reduces volume.

squarefoot 6 days ago

That's the same principle used by cheap solder stations to regulate the tip temperature without employing a thermal sensor: they measure the heater resistance, presumably during the off state of the PWM signal that drives the heater. In that case the measurement is less accurate than using a real sensor, still good enough for cheap solder stations where a few degrees don't make a big difference.

floating-io 5 days ago

Why would they do it during the off state? If they know the voltage and can measure the current that they're driving it with -- or vice versa -- they can use Ohm's law to calculate the resistance.

They'd probably have to do that anyway.

CamperBob2 6 days ago

Interesting. If the voltage across the speaker voice coil can be sampled with enough sensitivity at a fast-enough rate, you have an undocumented microphone.

xyzzy_plugh 6 days ago

This is true of all speakers

ssl-3 5 days ago

It's true of all dynamic speakers -- the sort with a voice coil and a magnet.

(But not all speakers are dynamic speakers.)

planewave 5 days ago

Would this also be true for electrostatic speakers as well? Though would probably would require greater gain/amplification or, potentially the application of some kind of bias voltage for the capacitive diaphragm of the speaker.

Just speculation based on the shared operating principal with condenser microphones

ssl-3 4 days ago

With bias power, I think an electrostatic loudspeaker turns into a condenser microphone (a thing that provides varying capacitance in response to changes in pressure).

I don't think that electrostatic loudspeakers all require bias power, so it's not quite as simple as using a dynamic loudspeaker backwards is.

It is a neat idea, though. A big, flat-panel microphone would be interesting to play with.

robotresearcher 3 days ago

You can use a window or any large panel as a microphone without even touching it by observing its vibrations.

You can bounce a laser off it, or even go fully passive using a camera with some sensitivity tricks: I recall a paper that reconstructed a remote conversation by watching a houseplant through a window.

ssl-3 2 days ago

Of course.

Everything is a microphone if you're brave enough.

TacticalCoder 5 days ago

Others who know that better than me and commented but... First time I read that, as a kid, here was I plugging my headphones into the input jack of my parents' soundsystem and, sure enough, it worked as mic (although at as super ultra low volume but I clearly remember it worked).

BobbyTables2 5 days ago

But not true of all codecs…

Do you think Apple put a hidden microphone in their devices by pure accident?

CamperBob2 6 days ago

Exactly.

nick3443 5 days ago

Also used in electric motor controllers to monitor winding temperature.

01HNNWZ0MV43FF 6 days ago

Is that the same thing where a flat-earther tried to measure something with an expensive laser gyro and kept finding that Earth was rotating?

adolph 6 days ago

I think the most you can tell from an IMU or gyro is that there is a change in velocity in a direction aligning with East-West when there is a change in location and that the change in velocity is greater when the location changes in line with North-South. The change in velocity would be greater as one approaches the poles and lesser at the equator.

Thought experiment: if I zeroed my IMU at the North pole and traveled in a straight line away from the pole along longitude zero, following the guidance of the IMU. By the time I got to 45° latitude I’d be traveling Westward at 1,180 kph (.95 Mach) to keep the IMU at zero.

trueshape 6 days ago

The flat earther used a fibre optic gyro. You don't "zero" it, it continuously outputs a measurement of its own angular rate around it's sensitive axis. For a 3-axis gyro placed still on earth, it will read about 15 degree/hour around wherever the axis of earth is oriented.

psunavy03 6 days ago

I believe this is one of the initial steps an aircraft INS uses to find north while it is aligning, but it's been too long since I had aircraft systems theory in the front of my brain.

t0mas88 6 days ago

Yes, from earth rotation the INS could figure out true north if the latitude is known. Or figure out the latitude if current heading is known. But normally it's aligned with a starting position from pilot input or GPS.

psunavy03 3 days ago

As I recall, it's a combination of things all happening at once, to include using last known location at shutdown, GPS inputs (if available) and inertial inputs.

There were various workarounds you had to use in the Navy, where the ship has not only usually moved from the last place the jet thought it was, but it's generally moving as the jet tries to re-align itself. GPS made things easier, and there wasn't a whole lot of thinking involved, but it always took the jet a bit more (or a lot more depending on model) thinking to get a stable platform underway.

VBprogrammer 5 days ago

If you are at an airport you will sometimes notice large signs giving Longitude and Latitude of the individual stands at an airport. These are used to give the initial position to the INS via the FMS. Of course these are now all built into the database these days so are only used (if at all) for gross error checking.

cameldrv 5 days ago

Latitude or Longitude?

sam_dam_gai 5 days ago

Do you mean latitude?

user_7832 6 days ago

Is there one saying “All electronic devices are smoke machines, some can compute too”?

jaggederest 6 days ago

Similarly, diesel engines come with a reserve fuel supply that you can accidentally use once. (diesel engines will happily run on engine oil when warm)

TheSpiceIsLife 5 days ago

This happened to me once in a Peugeot 306 2L turbo diesel.

Over filled it and kinda had to do one 1600m trip.

Fortunately it was manual so I was able to stall it fairly swiftly in third gear with my foot on the break.

Didn't seem to have any impact on the engine as far as normal operating and how it sounded. I didn't do any internal inspection.

qskousen 5 days ago

The one I've heard is "Every machine is a smoke machine, if you operate it wrongly enough."

frabert 6 days ago

"All diodes are light-emitting if you try hard enough"

sitkack 6 days ago

All diodes are also light SENSING is you try hard enough.

immibis 6 days ago

You don't have to try hard. Just use it as a photodiode and it magically works. However, if it's inside a plastic case that blocks light, it doesn't.

Due to some law about entropy, efficient processes are necessarily reversible. That's why electric motors - some of the most efficient machines ever invented - are also generators.

sitkack 6 days ago

All diodes are photodiodes, one has to be esp careful of glass encapsulated diodes. I have had that bite me before.

biot 6 days ago

> However, if it's inside a plastic case that blocks light, it doesn't.

You want an ordinary diode to allow current to flow easily when it senses light? Simple: shine a powerful laser at the plastic-encased diode and it will melt the plastic and liquify the metal, fusing it together and allowing current to flow again. See? You just needed to try harder.

Moru 6 days ago

Or if the hammer don't work, the sledgehammer is over there.

slow_typist 5 days ago

Especially true for LEDs, tried that in the lab once with a flood light, got a few μA out of the LED shortened with the multimeter. Did that with 8th graders, we did other experiments mainly with pv, LEDs and bipolar transistors as well.

The logical question came up more than once: “can we use photovoltaic cells as a light?“. Pretty sure that‘ll work, too, but didn’t try because stuff was expensive then and we didn’t have any broken parts of cells at the time. They probably learned a few things on that day.

hawski 5 days ago

Steve Mould of Youtube fame did this:

Why all solar panels are secretly LEDs (and all LEDs are secretly solar panels) - https://www.youtube.com/watch?v=6WGKz2sUa0w

sudosysgen 4 days ago

I did try to do that in 8th grade, it worked for a bit but it was quite dim and uneven.

bsder 6 days ago

Ah, the light emitting resistor. The moment when you realize why it's called Ohm's Law.

gavinsyancey 6 days ago

"All diodes are light-emitting at least once"

dmoy 6 days ago

Hahaha yea

I've seen that in electronics lab a few times. The "temporarily light emitting diode"

Moru 6 days ago

I have a Temporarily light-emitting harddrive cable. Really old 40 MB hdd connected to an old computer with a cheap power supply that most likely couldn't handle the slightly lower than standard power in a friends house.

ChuckMcM 6 days ago

"Inside every amplifier is an oscillator trying to get out."

qingcharles 6 days ago

"All electronics are hand-warmers if miscalibrated correctly enough."

Bearsilber 6 days ago

I just learned how the Duracell Powercheck© worked, which was done with temperature.

https://youtu.be/zsA3X40nz9w?si=oGg2wdUlLXSDxpsN

mnky9800n 5 days ago

a colleague of mine spent months analysing fluctuations in narrow band signal from a geophone only for a more senior colleague to get fed up with it and demonstrated that actually the fluctuations simply correlate with the air temperature and do so within the spec sheets reported temperature tolerance.

cushychicken 6 days ago

> Reminds me of the electronics adage: "all sensors are temperature sensors, some measure other things as well."

I wanna say that’s a Bob Pease quote but I can’t find an attribution to it.

frankus 6 days ago

I first encountered it in Elecia White's book Making Embedded Systems, but the attribution is anonymous and whom it's attributed to may have heard it elsewhere.

UltraSane 5 days ago

The highest grade gauge blocks use laser interferometry from Mitutoyo have a measured coefficient of thermal expansion AND a uncertainty of that coefficient. And they have a size variance of plus or minus 30nm. That is only about 410 oxygen atoms.

kqr 6 days ago

Oh yeah. I realised this the day I discovered my fancy digital SLR was a thermometer: https://entropicthoughts.com/does-my-dslr-have-dead-pixels

glitchc 5 days ago

Yup, it's called dark noise. Random generation of electrpns which sometimes find their way into the depletion region.

djmips 6 days ago

A lot of people like myself consider heat a form of light but I guess a photographer would be just thinking visible light. They say that about 50% of the sun's light emissions comes in the infrared frequencies.

kqr 6 days ago

That seems like a mistake since heat can transfer e.g. via contact without any electromagnetic emission. In fact, that is what I think happens with the sensor also, given that there is an IR filter in front of it.

But I may misunderstand your comment.

pletnes 5 days ago

Visible light from the sun, or incandescent lights, is also emitted due to heat. Planck’s law is the mathematical relation if you want to know more.

entropicdrifter 6 days ago

It does act as a thermometer, if and only if the altitude remains constant. The speed of sound fluctuates with both temperature and altitude

amluto 6 days ago

I’m not sure how the speed of sound could depend on altitude, even in principle. The air doesn’t know where it is!

Putting that aside, in an ideal gas, the speed of sound depends on the composition of the gas and the temperature and, interestingly, does not depend on pressure, and pressure is the main way that the altitude would affect the speed of sound. So measuring the speed of sound in air actually makes for a pretty good thermometer.

https://en.wikipedia.org/wiki/Speed_of_sound

KennyBlanken 6 days ago

From your own link:

"The speed has a weak dependence on frequency and pressure in ordinary air, deviating slightly from ideal behavior."

"The speed of sound is raised by humidity. The difference between 0% and 100% humidity is about 1.5 m/s at standard pressure and temperature, but the size of the humidity effect increases dramatically with temperature."

"Slight" can matter significantly in an application like this.

amluto 5 days ago

> the size of the humidity effect increases dramatically with temperature.

This has little do with the behavior of sound. The fraction of the air that consists of water vapor at 100% relative is very small at cool temperatures and increases to 100% at 100 degrees C.

(Yes, water boils at the temperature at which air that is saturated with water vapor is all water vapor.)

pants2 6 days ago

In liquids the speed of sound is related to the density, I would have thought similar for air but I see your point. Very insightful!

adolph 6 days ago

Can an ideal gas of same volume, mass and temperature be brought to different pressures?

https://courses.lumenlearning.com/suny-physics/chapter/13-3-...

amluto 6 days ago

Not unless you change the average mass of the molecules.

An ideal gas’ pressure is a function of number of particles per unit volume, its temperature, and nothing else. If you do anything involving adding or removing heat or changing the volume or pressure, you probably also need to know the specific heat at constant volume and the specific heat at constant pressure or, frequency, their ratio. That ratio is called the adiabatic index or the heat capacity ratio, it’s written as gamma, and it’s the last parameter in the speed of sound of an ideal gas. Interestingly, it doesn’t vary all that much between different gasses.

_0ffh 6 days ago

Right, it gets even worse: Air pressure in not only altitude-dependent but fluctuates even at constant altitude. The pressure (altitude) dependence is comparatively weak, though.

KeplerBoy 6 days ago

one might say air pressure changes constantly as we speak.

adammarples 6 days ago

Isn't air pressure the only thing that microphones actually measure?

KeplerBoy 6 days ago

By definition, sure. But one always needs some effect which changes some electrical property. We can't just hook up an ADC (analog digital converter) to thin air and hope for the best.

In practice most microphones measure the displacement of microscopic membranes, which are deformed by the air pressure. The next question then becomes how to measure microscopic movements of a tiny membrane. Turns out the membrane forms part of a capacitor and the electrical characteristics of capacitors depend on their geometry.

jpc0 6 days ago

That is not necessary true.

There are at least 4 different types of microphones. Condenser which does in fact form part of a capacitor, dynamic which is effectively a linear generator (coil attached to membrane), ribbon which is a change in resistance as a small ribbon flexes and piezoelectric which is some black magic witg crystals

KeplerBoy 6 days ago

Sure, that's why I wrote most microphones.

There are also some exotic principles like laser or radar microphones using interferometry.

https://en.m.wikipedia.org/wiki/Laser_microphone

https://ieeexplore.ieee.org/document/7808865

jpc0 6 days ago

I think popular is very situational though.

For me I see a lot more dynamic than condensers but I guess if you are talking about what is in like every single IOT thingamabob then you might be right there.

sanderjd 6 days ago

Fascinating. Is there a book about the history of microphones?

I find this to all be in the realm of "I don't believe you that any of this works at all" if I didn't have a lifetime of experience with the fruits of successfully-functioning microphones.

sojsurf 6 days ago

Air pressure differentials, to be precise!

immibis 6 days ago

Many types measure the derivative of air pressure. One that measures absolute air pressure can be used for calibration.

t0mas88 6 days ago

The speed of sound fluctuates with density. Altitude and temperature both change density.