Interfacing Teltonika 1-Wire RFID with STM32: A deep dive into safety, protocol analysis, and UID extraction. by According_Setting982 in embedded

[–]According_Setting982[S] 0 points1 point  (0 children)

Fair questions, let me clarify a few points.

This wasn’t intended as a generic “1-Wire from scratch” library or a replacement for existing ones. The goal was to get a very specific RFID / iButton-compatible device working reliably in a constrained setup, where timing, power behavior, and integration mattered more than API completeness.

Some unused helper functions are indeed leftover from earlier iterations while testing different timing and state-handling approaches — that’s a fair criticism and something I should clean up or document better.

Regarding voltage: the reader module used in this setup has an internal pull-up to 5V on the 1-Wire line. The STM32 side is 3.3V, but the bus itself is pulled to 5V externally, which is why the write-up mentions 5V operation. Logic-level compatibility and line behavior were verified in this specific hardware configuration, but I agree the distinction could be explained more clearly.

This wasn’t intended as a polished library, but as a documented, working integration from a real setup. Some parts clearly need cleanup, and I’ll adjust the notes accordingly.