After sleeping on this, I think I agree with your analysis.
Penri wrote: ↑11/03/2022, 19:11In para. 1 above are you taking about the i/p of the Pi or of the buffer (74HC4050)?
Both actually. At the input to the buffer, I get the mentioned 0.5 - 0.9 V, unless I pull it down. At the input to the Pi, the software allows for a pull-down, but that doesn't help if the output of the buffer is erroneously high.
Penri wrote: ↑11/03/2022, 19:11Reading the spec sheet for the buffer (which annoyingly does not spec performance at 3.3V) and interpolating performance at 3.3V, for the device to work properly a low i/p need to be less than ~0.9V and a high i/p more than ~2.5V. Although the measured i/p of 0.5 to 0.9V meets the criteria for a low I would be happier if it was a lot more solid and perhaps less than 0.2V.
I don't think that this is the problem, (because it all worked once), but I'm going to see if I can attached a resistor pack to the underside of the Veroboard to make sure.
Penri wrote: ↑11/03/2022, 19:11I can't help with why the Pi S/W can't register a 0V i/p but its worth checking that the buffer, sensors and Pi all share a common ground.
I have seen cases in the distant past when two (single ended) logic devices, which didn't shares a common ground (because of a wiring issue), sometime work and sometimes didn't, the disconnected device floated up of down dependant on whether the logic signal was Hi or Lo.
That's my next step. The Pi does appear to be at ground; as measured by an Ohmmeter, but that would be true even if the connection between Pin 9 on the Pi and Pin B on the Veroboard was poor. The path to ground through the power supply would not be good enough, I'm thinking.
Penri wrote: ↑11/03/2022, 19:11Do you have any data on the IR sensors, labels A, B, C and D on the circuit block diagram?
As I recall, we only had a paper copy of these (it may be in the spares box). In any case, this isn't a factor, because the problem occurs with the test circuit.