Hi,
Have done a few simple point-to-point RF comm (ISM band) mini projects, with success ranging from just about 100bps without encoder/decoder and without interrupts and upto about 2400bps with Holtek H12E/D encoder-decoder pairs, but without addressing (i.e. all “floating” inputs for the encoder/decoder address lines). I’ve even attempted a similar thing with addressing, but am currently stuck, as I attempt to introduce multi-point communication. Note that I am still in “hobby” domain (well, maybe “hobby++”), and work with very little pro-grade T&M equipment (a decent DMM is all I have).
My problem is that most fixed-code encoder/decoder IC’s work with fixed addresses. While this is no issue on the encoder/TX side, for multipoint, it is an issue on the decoder/RX end, since the decoder IC doesn’t have an “accept all” address concept, i.e. no “wild-card” entry, rather needs an “exact match” address. Which means that, at any given instant, the decoder is ready to accept message from only one TX… so how do I do multi-point.
One solution I have in mind (but yet to implement), is to connect all of the decoder IC address pins to my MCU’s I/O pins, and do periodic-cycle through all “acceptable addresses”, in a time-share fashion. Of course, I need to do it fast enough, not to “miss” any transmit from a TX-node while I am awaiting message from a different TX-node. My challenge is that the node on the TX/encoder end, is a blackbox, rather a box whose logic I cannot change, so I am need to accommodate the multi-point communication changes on the RX/decoder end only. Had it not been so, I would have worried a little less, by increase the period for which the TX/encoder node keeps the transmit on, s.t. it is “long enough” for RX/decoder to cycle-back to it even if missed at the start of a cycle.
Other alternative, I believe is to ditch the decoder IC, and use the MCU. This is not my preferred approach, because of somewhat higher complexity (for me as a programmer), and also higher workload for the MCU. The MCU actually does have a lot to do already. Now, if I were to do it with MCU, my challenge is in figuring out the exact operating “oscillator” frequency of the encoder-IC on the TX-node, because the modulation/encoding is a function of that. With the gear I have, is there a way to know the the operating “oscillator” freq. of encoder ?
Given the 2 options, which one would folks (/experts) here, suggest – and why ?
thanks,
F74