Jump to content

433Mhz sender/receiver on Orange Pi Zero 3?


p789

Recommended Posts

Hi,

 

what are currently the options of controlling 433Mhz sender/receiver devices from an orange Pi zero 3?

 

Currently the gpios are no longer exposed via sysfs but you could re-enable that feature by compiling a new kernel with the proper configuration.
Then wiringpi would work again and you could use 433Utils.

 

But what would be the options without compiling a new kernel? What 433Mhz library exists that uses the new way of controlling the gpios?

 

I am a bit confused about the current state of affairs, please enlighten me...

Link to comment
Share on other sites

You have provided far too little context, and I do not understand what you are talking about. But if it's just the output of a pattern waveform via a GPIO, you can do it with a one-liner from the command line:

gpioset --toggle 100ms,100ms,100ms,100ms,100ms,300ms,300ms,100ms,300ms,100ms,300ms,300ms,100ms,100ms,100ms,100ms,100ms,700ms --consumer panic con1-08=active

This is just an example and the emitted pattern doesn't meet your needs, but with adjusted timings it does exactly what you want.
Of course, you can also write your application with program code. Libgpiod provides bindings for C++, python3 and Rust therefor.

Link to comment
Share on other sites

So what I want is to control 433Mhz power plugs from my orange pi.

 

I have both a sender and a receiver module that get connected via the gpio pins.

 

For the plugs I have a remote control and now i need a way to replicate that behaviour - ie I need a program that can sniff the 433Mhz signal coming from the remote control and analyze it in such a form that I can send it out again via the sender.

 

In the good old sysfs times there were tools (like the 433Utils I mentioned above) that could do that - and my question is how this is done today...

Link to comment
Share on other sites

On 2/24/2024 at 5:52 PM, p789 said:

I need a program that can sniff the 433Mhz signal coming from the remote control and analyze it in such a form that I can send it out again via the sender.

I would run:

gpiomon --consumer 433MHz --edges both --format "%S %E" con1-07 | tee 433MHz.log

 

On 2/24/2024 at 5:52 PM, p789 said:

In the good old sysfs times there were tools (like the 433Utils I mentioned above) that could do that - and my question is how this is done today...

I would let gnuplot chew on the result of the gpiomon run to visualize (433MHz.pdf) it, because I can interpret an image better than any columns of numbers.

This is a program that is over thirty years old and works on almost every platform and can be used in any environment, and you can only complain that it is not a special solution and that you don't have to rebuild half the system yourself, but that doesn't bother me.
After I have identified the relevant places, I would take the corresponding timeings from the log and thus generate a suitable gpioset command that imitates the original.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines