Hi Dave!
Due to your preparation I was able to identify some sources that (hopefully) may be of assistance for you ... I admit I used AI to speed up the search but checked its answers.
This is my summary so far:
The 4-pin connection system belongs to the legacy LEGO Power Functions 1.0 ecosystem. It was used in the original LEGO WeDo 1.0 set (released in 2009) before being replaced by the 6-pin LPF2 system in WeDo 2.0.
Source: https://www.juniorstem.co.uk/explore-juniorstem-lego-robotics/wedo-1-0/
While the physical plug shape is identical to standard Power Functions, the WeDo 1.0 USB Hub re-routes the electrical signals to match USB power limits:
LEGO WeDo 1.0 (5V System) Component Identification and Data Reference
The identification process relies on a continuous analog voltage check performed by the WeDo 1.0 Hub across the C1 (Pin 2) and C2 (Pin 3) lines against Ground.
When a component is plugged in, its internal fixed identification resistor (or raw motor coil) completes an electrical circuit, creating a specific voltage drop that acts as a unique signature.
The Hub instantly decodes this analog voltage level to identify the exact device type attached, allowing the software to automatically load the correct interface for that specific sensor or actuator.
Further information regarding the Tilt Sensor:
https://ofalcao.pt/blog/2014/the-lego-wedo-tilt-sensor#:~:text=The%20value%20of%20R1,tolerance%20resistor.
The documentation for "Linux Kernelk Drivers for ev3dev-stretch" contains information about LEGO WeDo 1.0 components. See the LEGO WeDo on the main page and look into Appendix A: Sensor Data and Appendix B: Motor Data:
https://docs.ev3dev.org/projects/lego-linux-drivers/en/ev3dev-stretch/index.html
The following Bachelor Thesis may be of additional interest (WeDo 1.0 is shortly mentioned but it aims at newer versions):
CONTROLLING LEGO TECHNIC ACTIVE ELEMENTS FROM EV3
https://theses.cz/id/j11q6d/xblask05_bakalarska_praca.pdf
If you may use AI to search for further information it is crucial to emphasize that you are looking for WeDo 1.0 and compatibility to the LEGO Power Functions 1.0 ecosystem. Still you will get feedback that is a mixture of 1.0, 2.0 and EV3.
AI can be stubbornly stupid and persistent ...
Good luck and have a lot of fun with Lego and your grandchild!
ec2021
[Edit:] The ID process is described as follows (not verified!):
- When the port is empty, no current flows, and both C1 and C2 read a maximum of 5.0V.
- When you plug in any WeDo 1.0 sensor, its internal 3.9 kΩ resistor immediately completes a circuit on C1, pulling the voltage down to a steady mid-range level (around 2.5V to 3.0V). The Hub registers this stable drop and concludes: “An active sensor is present on this port.
- Because the Motion Sensor and Tilt Sensor share that exact same 3.9 kΩ marker on C1, the Hub instantly evaluates the voltage on C2 to tell them apart. The Tilt Sensor exposes a passive resistance step on C2 right away, whereas the active circuitry of the Motion Sensor alters the C2 voltage based on initial infrared levels.
- If the internal pull-up voltage on C1 and C2 instantly collapses straight down to 0V. The Hub recognizes this massive, near-zero voltage drop and instantly registers: "An actuator (motor) is connected."
- C1 acts as an uninterrupted "presence and heartbeat check." If you unplug the wire, C1 snaps back to 5.0V, and the software immediately drops the connection.
- C2 handles the payload data stream, converting real-time mechanical changes (tilting or object distance) into varying voltage drops that the software interprets as values
from 0 to 100.
(I am very curious to see whether you can confirm the results...
)