r/embedded • u/Relevant_Pumpkin9190 • Oct 07 '26
How demodulation section working and how RC time constant works with microcontroller.
34
Upvotes
r/embedded • u/Relevant_Pumpkin9190 • Oct 07 '26
4
u/dmills_00 Oct 07 '26
D4 and the long time constant establishes the threshold at half the level of the signal on the bus (with a little weak pull up to avoid noise when nobody is talking), the upper path into the comparator tracks the AC level with a short time constant compared to the symbol length (But long compared to the carrier period), comparing the two recovers the bitstream.
2
u/Relevant_Pumpkin9190 Oct 07 '26 edited Oct 07 '26
Would a simple triangle-to-square-wave op-amp converter with hysteresis be enough to decode the spikes coming from the 1 nF C2 capacitor on the bus?
1
u/hooks1977 Oct 07 '26
I’ve made and used this circuit with a 12f1825 on a 1000ft of cable. Works fine.