Z-Uno library for 433 MHz reciever

Discussion about Z-Uno product. Visit http://z-uno.z-wave.me for more details.
Post Reply
KGBEl
Posts: 47
Joined: 21 Feb 2023 00:37

Z-Uno library for 433 MHz reciever

Post by KGBEl »

Hi, I have tried to use my Z-Uno with a 433 MHz reciever as intended in https://github.com/Xorok/FT007TH-Arduin ... orDemo.ino but without ethernet and Sd-card but it dosen't work.
So I tried this instead https://github.com/sui77/rc-switch/blob ... vanced.ino
but was not able to include RCSwitch.h, there was error during compilation.

I tried to use pin 18 and interrupt, without RCSwitch it compiled ok but did not show any output from the reciever.

Is it not possible to use Z-Uno instead of Arduino Uno?
Is there a specifik Z-Uno library that should be used?
User avatar
PoltoS
Posts: 7624
Joined: 26 Jan 2011 19:36

Re: Z-Uno library for 433 MHz reciever

Post by PoltoS »

Sure, it is possible to port RCSwitch to Z-Uno hardware, but you need to port it. We have no such library yet.
KGBEl
Posts: 47
Joined: 21 Feb 2023 00:37

Re: Z-Uno library for 433 MHz reciever

Post by KGBEl »

Sorry for my bad english but what is port?
User avatar
PoltoS
Posts: 7624
Joined: 26 Jan 2011 19:36

Re: Z-Uno library for 433 MHz reciever

Post by PoltoS »

No problem. Porting source code means adopting the code to fit another environment. Z-Uno 2 environment is a bit different from Arduino
KGBEl
Posts: 47
Joined: 21 Feb 2023 00:37

Re: Z-Uno library for 433 MHz reciever

Post by KGBEl »

Ok, thank you, I understand that this will be a job for an experienced programmer.
Do you know if something like that has been done before?
User avatar
PoltoS
Posts: 7624
Joined: 26 Jan 2011 19:36

Re: Z-Uno library for 433 MHz reciever

Post by PoltoS »

Sure, many libraries were ported by us and the community. But not for this one yet
KGBEl
Posts: 47
Joined: 21 Feb 2023 00:37

Re: Z-Uno library for 433 MHz reciever

Post by KGBEl »

Hi again, thanks for answer, can you just
give me an example of two files, befor and after porting,
so I may understand what has to be changed and how?
User avatar
PoltoS
Posts: 7624
Joined: 26 Jan 2011 19:36

Re: Z-Uno library for 433 MHz reciever

Post by PoltoS »

You can look on any lib here: https://github.com/Z-Wave-Me/Z-Uno-G2-C ... /libraries

And find the corresponding one in Arduino. Some are very very different (like NeoPixel) as they rely on ASM code a lot.
Post Reply