mindly.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
Mindly.Social is an English speaking, friendly Mastodon instance created for people who want to use their brains and their hearts to make social networking more social. 🧠💖

Administered by:

Server stats:

1.1K
active users

Trying to harness the ...

I've got a busted consumer product here that has 2 in it. Either one would be sufficient to run this product (a brushless-motor tower fan), but are cheap, so why not throw a second one in if it saves a few centimeters of wire?

I'm trying to determine if there's a in use here to communicate from one to the other. It's one-way communication.

[...]

The connection from one MCU to the other is a single , plus shared and . It's a point-to-point link; there's no addressing involved. It's simplex, so no collision detection or anything complicated.

In fact, it's dirt-simple, and extremely low-bandwidth. The secondary MCU transmits a single of data to the primary MCU approximately every 120ms. So ~70 bits per second, max.

The signal line has a at the primary end.

[...]

C.

The other MCU pulls the signal wire to to xmit.

The MCUs - Holtek BS82C16A-3 and BS84B08A-3 - natively support and , but this isn't either of those.

Each with one byte of data starts with a long (~10ms) low pulse (for , presumably), followed by the line returning high for ~5ms, then the data bits are transmitted as low of different durations for 0 and 1 - 0.6ms and 2.8ms.

The eight data bits are followed by a stop/end bit, always short.

[...]

So there are always the same number of pulses per frame, but the time duration of the frame varies based on the contents of the data bits, as 1s take longer to transmit than 0s.

I looked up obvious candidates like , but that appears to be proprietary, and uses an addressing scheme anyways. It's not plain -style, as it's not using high/low signal levels to indicate the bits. It's not SPI or I2C or a bunch of others.

[...]

I presume they've implemented the transmit with simple bit-banging a GPIO line.

I want to replace the secondary MCU with one of my own. I can implement the interface with just bit-banging, too, but if I don't have to - because it's a standard and someone has already written for the / Raspberry Pi Pico - then that would be great.

Anyone know if this is a standard I haven't found?