GyverLibs / Gyver433

Библиотека для радиомодулей 433 МГц и Arduino
MIT License
28 stars 5 forks source link

Arduino M0 and Zero #2

Open addelovein opened 1 year ago

addelovein commented 1 year ago

Having some trouble getting it to receive... Send work like a charm...

Could it have something to do with: https://forum.arduino.cc/t/setting-up-isr-for-adc-on-zero/655967/2

GyverLibs commented 1 year ago

I dont understand what you want. 433/ISR/custom ADC/etc, describe your task

addelovein commented 1 year ago

Sorry was late and probably my worst post on GitHub ever. No ignore the link. Basically receiver does not work with your code on a Arduino Zero.

However why I stumbled on your package is because I am trying to find a way to send a packet larger than the boards but size. For example 512bit packet. I am aware of packet loss risk but these two units will be close.

Thanks for quick reply.

Sent from my iPhone

On 4 Dec 2022, at 11:23, AlexGyver @.***> wrote:



I dont understand what you want. 433/ISR/custom ADC/etc

— Reply to this email directly, view it on GitHub https://github.com/GyverLibs/Gyver433/issues/2#issuecomment-1336370070, or unsubscribe https://github.com/notifications/unsubscribe-auth/AF6PY2MNWCB4M7O5BW4TWADWLRWIXANCNFSM6AAAAAASTBEUN4 . You are receiving this because you authored the thread.Message ID: @.***>

GyverLibs commented 1 year ago

Receiver is working? Did you connect the antenna? Did you try avr boards, for example uno+uno? Library is simple enough, it should work on all platforms

addelovein commented 1 year ago

Receiver Works fine, and I am using the correct interrupts. I have everything working with RC-Switch. However going through the library code your work is beautiful. Better English documentation and I would say it should be the best for arduino. With that said. I have only got the TX working (fs1000a) The receiver is the standard cheap RF-5V

I’ll test a uno today and get back to you. But as I said receiver works with RCSwitch and I am using the same ports.

On Sun, 4 Dec 2022 at 13:35 AlexGyver @.***> wrote:

Receiver is working? Did you connect the antenna? Did you try avr boards, for example uno+uno? Library is simple enough, it should work on all platforms

— Reply to this email directly, view it on GitHub https://github.com/GyverLibs/Gyver433/issues/2#issuecomment-1336401357, or unsubscribe https://github.com/notifications/unsubscribe-auth/AF6PY2J7GOQGC2XBZLDIRR3WLSFZ7ANCNFSM6AAAAAASTBEUN4 . You are receiving this because you authored the thread.Message ID: @.***>

GyverLibs commented 1 year ago

This is sad, library works very stable for me on avr and esp platforms. I will try to improve it later

addelovein commented 1 year ago

Just tried gyvertransfer. Compiles to UNO but not to MKR

In file included from C:\Users\roberts\Documents\Arduino\libraries\GyverTransfer\examples\streamTX\streamTX.ino:5:0: C:\Users\roberts\Documents\Arduino\libraries\GyverTransfer\src/GyverTransfer.h: In member function 'virtual size_t GyverTransfer<GT_PIN, GT_ROLE, GT_SPEED, GT_RXBUF>::write(uint8_t)': C:\Users\roberts\Documents\Arduino\libraries\GyverTransfer\src/GyverTransfer.h:152:9: error: return-statement with no value, in function returning 'size_t {aka unsigned int}' [-fpermissive] return; ^~ C:\Users\roberts\Documents\Arduino\libraries\GyverTransfer\src/GyverTransfer.h: In member function 'virtual size_t GyverTransfer<GT_PIN, GT_ROLE, GT_SPEED, GT_RXBUF>::write(const uint8_t, size_t)': C:\Users\roberts\Documents\Arduino\libraries\GyverTransfer\src/GyverTransfer.h:174:9: error: return-statement with no value, in function returning 'size_t {aka unsigned int}' [-fpermissive] return; ^~ C:\Users\roberts\Documents\Arduino\libraries\GyverTransfer\src/GyverTransfer.h: In instantiation of 'size_t GyverTransfer<GT_PIN, GT_ROLE, GT_SPEED, GT_RXBUF>::write(uint8_t) [with unsigned char GT_PIN = 2; unsigned char GT_ROLE = 0; short unsigned int GT_SPEED = 5000; short unsigned int GT_RXBUF = 0; size_t = unsigned int; uint8_t = unsigned char]': C:\Users\roberts\Documents\Arduino\libraries\GyverTransfer\examples\streamTX\streamTX.ino:14:1: required from here C:\Users\roberts\Documents\Arduino\libraries\GyverTransfer\src/GyverTransfer.h:152:9: error: return-statement with no value, in function returning 'size_t {aka unsigned int}' [-fpermissive] return; ^~ C:\Users\roberts\Documents\Arduino\libraries\GyverTransfer\src/GyverTransfer.h: In instantiation of 'size_t GyverTransfer<GT_PIN, GT_ROLE, GT_SPEED, GT_RXBUF>::write(const uint8_t, size_t) [with unsigned char GT_PIN = 2; unsigned char GT_ROLE = 0; short unsigned int GT_SPEED = 5000; short unsigned int GT_RXBUF = 0; size_t = unsigned int; uint8_t = unsigned char]': C:\Users\roberts\Documents\Arduino\libraries\GyverTransfer\examples\streamTX\streamTX.ino:14:1: required from here C:\Users\roberts\Documents\Arduino\libraries\GyverTransfer\src/GyverTransfer.h:174:9: error: return-statement with no value, in function returning 'size_t {aka unsigned int}' [-fpermissive] return; ^~ exit status 1 Error compiling for board Arduino MKR1000.

GyverLibs commented 1 year ago

I fixed it, 1.3.1

addelovein commented 1 year ago

[image: image0.jpeg] [image: image1.jpeg][image: image2.jpeg] Sent from my iPhone

On 4 Dec 2022, at 19:35, AlexGyver @.***> wrote:



I fixed it, 1.3.1

— Reply to this email directly, view it on GitHub https://github.com/GyverLibs/Gyver433/issues/2#issuecomment-1336486734, or unsubscribe https://github.com/notifications/unsubscribe-auth/AF6PY2IJFO74ETKF4YCI3V3WLTP7JANCNFSM6AAAAAASTBEUN4 . You are receiving this because you authored the thread.Message ID: @.***>

GyverLibs commented 1 year ago

No photos)

addelovein commented 1 year ago

Can i get in contact with you on telegram or similar?

GyverLibs commented 1 year ago

maybe e-mail? alex@alexgyver.ru

addelovein commented 1 year ago

[image: Error Icon] Delivery incomplete There was a temporary problem while delivering your message to @.****. Gmail will retry for 46 more hours. You'll be notified if the delivery fails permanently. LEARN MORE https://support.google.com/mail/answer/7720

On Tue, 6 Dec 2022 at 10:13 AlexGyver @.***> wrote:

maybe e-mail? @.***

— Reply to this email directly, view it on GitHub https://github.com/GyverLibs/Gyver433/issues/2#issuecomment-1339007550, or unsubscribe https://github.com/notifications/unsubscribe-auth/AF6PY2LQUOZNUKBKYED2ZOTWL37TXANCNFSM6AAAAAASTBEUN4 . You are receiving this because you authored the thread.Message ID: @.***>

GyverLibs commented 1 year ago

?

addelovein commented 1 year ago

That’s what I get when I send mail to you

On Tue, 6 Dec 2022 at 10:24 AlexGyver @.***> wrote:

?

— Reply to this email directly, view it on GitHub https://github.com/GyverLibs/Gyver433/issues/2#issuecomment-1339021269, or unsubscribe https://github.com/notifications/unsubscribe-auth/AF6PY2IKXFLKINH6F37WQBLWL4A4HANCNFSM6AAAAAASTBEUN4 . You are receiving this because you authored the thread.Message ID: @.***>

GyverLibs commented 1 year ago

gmail sucks =) maybe because my mail is on russian mail server