-
Notifications
You must be signed in to change notification settings - Fork 226
Added Support for SX1276 LoRa module for long range wireless communication #63
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
jithinbp
commented
Jun 6, 2017
- added support for SX1276 LoRa module. issue Add support for Long range wireless communication in SENSORS #62
- tested the connectivity in an urban environment up to 500 meters.
Partly Fixes fossasia#45 .
…into development
Fixes fossasia#55. Improved GUI menus
Fixes#58 . Separate methods for starting acquisition, fetching data buffer, and processing data buffer have been implemented in Peripherals.I2C
Fixes fossasia#58 . Separate methods for starting acquisition, fetching data buffer, and processing data buffer have been implemented in Peripherals.I2C
…into development
…d on Codacy recommendations sciencelab.SPI.xfer created. fixes fossasia#64 . Minor changes to Sensor libraries
@jithinbp Please don't merge your own commits. Please ask @CloudyPadmal to review. It is also a chance for everyone to learn more about the project. It is important that devs follow best practices to give everyone a chance to align. |
@mariobehling Apologies. I'll be including him for future PRs . |
REG_SYNC_WORD = 0x39 | ||
REG_DIO_MAPPING_1 = 0x40 | ||
REG_VERSION = 0x42 | ||
REG_PA_DAC = 0x4D |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Alignments can be fixed when this file gets edited in future! 👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cool. i'm on it.
You can get the modules on AliExpress for as low as $4 - $5 .
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As long as the underlying chip is SX1276, this library will work. I've used the 434 MHz modules from Dorji (DRF1276) as well as the RA-02 from AI-thinker. There are 868 MHz versions also, and only the right frequency needs to be selected in the code.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems a complete code for LoRa modules using SPI! 👍 Nice work @jithinbp !
Thanks. Complete enough to manage P2P connectivity , but if you look at the massive documentation, it is actually a highly capable chip with advanced features. |
You work is great. But next time could you please put more effort in coding style? |
thanks. will do. I try to keep up with Codacy |