Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

433Mhz sender/receiver on Orange Pi Zero 3?

Featured Replies

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...

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.

  • Author

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...

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.

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...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.