Go Down

Topic: 433MHz Remote controll (Read 916 times) previous topic - next topic

Inevitableavoidance

Well, using in that case. I'd just like to stick with my own code.

Quote
I was thinking about sending PWM signals through the transmitter, and having the reciever calculating an average, which will indicate which button it is.

Is that possible?

AWOL

Buttons, maybe, but not if you want an accurate representation of the analogue inputs, no.
"Pete, it's a fool looks for logic in the chambers of the human heart." Ulysses Everett McGill.
Do not send technical questions via personal messaging - they will be ignored.

MarkT


I only need like 16 buttons or so, implementing a whole library seems a bit overkill..
I was thinking about sending PWM signals through the transmitter, and having the reciever calculating an average, which will indicate which button it is.

Does that sound possible?


pulse widths will be affected by the modulation and demodulation used in the RF link - expect some distortion.  You could use a frequency proportional to your signal (so long as it doesn't exceed the limit of the TX RX pair.

The advantage of using serial is that you can packetize your transmission and save on TX power when not sending data.  You will need at the very least a packet-start sequence and a checksum byte or two.
[ I won't respond to messages, use the forum please ]

Go Up