Page 1 of 1

Z-Uno library for 433 MHz reciever

Posted: 21 Jun 2023 20:27
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?

Re: Z-Uno library for 433 MHz reciever

Posted: 23 Jun 2023 13:50
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.

Re: Z-Uno library for 433 MHz reciever

Posted: 24 Jun 2023 20:43
by KGBEl
Sorry for my bad english but what is port?

Re: Z-Uno library for 433 MHz reciever

Posted: 26 Jun 2023 19:50
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

Re: Z-Uno library for 433 MHz reciever

Posted: 27 Jun 2023 20:21
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?

Re: Z-Uno library for 433 MHz reciever

Posted: 27 Jun 2023 20:32
by PoltoS
Sure, many libraries were ported by us and the community. But not for this one yet

Re: Z-Uno library for 433 MHz reciever

Posted: 06 Jul 2023 16:41
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?

Re: Z-Uno library for 433 MHz reciever

Posted: 07 Jul 2023 01:27
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.