Giter VIP home page Giter VIP logo

Comments (10)

Eric286 avatar Eric286 commented on July 18, 2024 1

Hello @PadmaIoT !

You're welcome! I'm glad I could help. If you have any more questions or need further assistance, feel free to ask.

Good luck in your projects.

from beelan-lorawan.

wero1414 avatar wero1414 commented on July 18, 2024

It is fully compatible you just need to assign the correct pins to the actual connection on the radio

image

const sRFM_pins RFM_pins = { .CS = 20, .RST = 9, .DIO0 = 0, .DIO1 = 1, .DIO2 = 2, .DIO5 = 15, };
On the pins that you connect them on your microcontroller

from beelan-lorawan.

PadmaIoT avatar PadmaIoT commented on July 18, 2024

Thanks for answering. I would definitely try it. One more thing to ask is for Class C do you have any support for OTAA? I did not find anything of class C with OTAA

from beelan-lorawan.

Eric286 avatar Eric286 commented on July 18, 2024

Dear @PadmaIoT !

With OTAA, everything appears to be operating as it should.

Just keep in mind that there may be a bug, but you may notice it when debugging. It might be caused by your regional settings or anything similar.

In response to your query, it does support OTAA.

Have a nice day!

from beelan-lorawan.

Eric286 avatar Eric286 commented on July 18, 2024

Hello @PadmaIoT !

We will now close this issue.

However, if you have any doubts or questions, you can reopen the issue or if you think it is necessary, create another one.

Have an amazing day!

Kind regards!
Support Team.

from beelan-lorawan.

PadmaIoT avatar PadmaIoT commented on July 18, 2024

Dear @PadmaIoT !

With OTAA, everything appears to be operating as it should.

Just keep in mind that there may be a bug, but you may notice it when debugging. It might be caused by your regional settings or anything similar.

In response to your query, it does support OTAA.

Have a nice day!

Hello @Eric286 ,

Thanks for answering. Sorry to see you close the issue because of the lack of my response. I was on a trip so could not answer/ask.

In the example folder, I only see there is only ABP available for Class C Lorawan. I asked If there is any support we may get later as you are developing for OTAA Class C or not.

2nd question I have is, whether this library is compatible with STM32 Bluepill or not.

3rd ques is what I found inside the folder:

example>class-C-ABP > class-C-ABP > class-C-ABP.ino
> serialToLoRaWAN > serialToLoRaWAN.ino
>class-C-ABP.ino
Which .ino I Should use i.e serialToLoRaWAN.ino or Class-C-ABP.ino?

Thanks for your kind support

from beelan-lorawan.

Eric286 avatar Eric286 commented on July 18, 2024

Hello @PadmaIoT

Don't worry; we believed we had addressed all of your concerns, therefore we closed the ticket.

I'll respond to your inquiries in sequence.

  1. Please find this line in the file send-class-A-OTAA.ino by going there.

// Set LoRaWAN Class change CLASS_A or CLASS_C
lora.setDeviceClass(CLASS_A);

It's line 48, Here you can change to class C.

2.- The Beelan LoRaWAN library is designed to work with any Arduino-compatible board that supports the Arduino IDE, so it should be possible to use it with the STM32 Bluepill board as well. While some additional setup may be required, the Beelan LoRaWAN library should be compatible with the STM32 Bluepill board as long as you have the necessary board support files and configurations in place.

3.-If you want to use the Beelan LoRaWAN library in Class C operation with ABP activation, you should use the class-C-ABP.ino file located inside the class-C-ABP folder. This example sketch demonstrates how to configure the Beelan LoRaWAN board for Class C operation with ABP activation and send data to a LoRaWAN network server.

On the other hand, if you want to use the library in a serial communication scenario, you should use the serialToLoRaWAN.ino file located inside the serialToLoRaWAN folder. This example sketch demonstrates how to send data from a serial device, such as a computer, to the Beelan LoRaWAN board and then transmit that data to a LoRaWAN network server.

However, It's important to note that these example sketches are just that - examples. They are meant to demonstrate how to use the Beelan LoRaWAN library in certain scenarios and should be modified to suit your specific needs. You may need to modify the sketches to work with your specific LoRaWAN network server, activation method, or other aspects of your project.

Kind regards!
Support Team.

from beelan-lorawan.

PadmaIoT avatar PadmaIoT commented on July 18, 2024

Thanks for your kind support. I used Lorawan Class B OTAA before and LoraWAN is a new technology to me personally. So sometimes ques become so silly. You covered all my ques with answers now.
But last thing to ask, is it mandatory to connect IO pins,RSt pin, and NSS/SS pin of SX12xx to Arduino PWM pins?

Thank you so much. I appreciate your support.

from beelan-lorawan.

Eric286 avatar Eric286 commented on July 18, 2024

Hello @PadmaIoT

You're welcome, glad to be of help!

Regarding your question, it is not mandatory to connect the IO pins, RST pin, and NSS/SS pin of the SX12xx LoRa module to Arduino PWM pins specifically. The SX12xx module can be connected to any digital pins of the Arduino board.

However, it is recommended to connect the SX12xx module to certain digital pins of the Arduino board that have specific functionality, as described in the Beelan LoRaWAN library documentation. For example, the library recommends connecting the SX12xx module's NSS/SS pin to Arduino digital pin 10, which is the default SPI slave select (SS) pin on most Arduino boards. This is because the library uses the SPI interface to communicate with the SX12xx module, and connecting the NSS/SS pin to the default SS pin simplifies the SPI communication setup.

Similarly, the library recommends connecting the SX12xx module's RST pin to a dedicated reset pin on the Arduino board, rather than a general-purpose digital pin, to ensure reliable resetting of the module.

In summary, while it is not mandatory to connect the SX12xx module's pins to specific PWM pins on the Arduino board, it is recommended to follow the guidance provided in the Beelan LoRaWAN library documentation to ensure reliable operation of the module with the library.

Best regards!
Support Team.

from beelan-lorawan.

PadmaIoT avatar PadmaIoT commented on July 18, 2024

Thanks for your support. Now everything is clear.

from beelan-lorawan.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.