Hi everybody!
I’m stuck with basic communication on a couple of modules of the same type. I’ve bought them from Amazon and i’ve installed in stacked way to raspberry boards through 40 pin header. I control M0, M1 and read AUX by software. The boards are few cm far each other and antenna is that one provided.
The configuration seems ok from interface point of view, they responds as the manual says (downloaded from eebyte page).
Configuration is:
Module 1:(hw v2, sw tool says v1)
Address 0x0001, NetID 0x0F, Fixed point transmission, ch: 0x11. The remaining configurations are left by default.
Module 2:(hw2 v2, sw tool says v1)
Address 0x0002, NetID 0x0F, Fixed point transmission, ch: 0x11. The remaining configurations are left by default.
I tried several device configurations each one compatible with the communication, even connecting them with pc and software tool provided by waveshare.
In any case i cannot establish communication. Im not able to send a byte neither.
Anyone in the same situation?
Should i rewire modules to access spi directly to sx1262?
Thank you in Advance, any help would be appreciated.
M0, M1 are managed by software, the switch are tied in such a way to have null modem connection with raspberry, accordingly to schematic in waveshare web page.
When configuration mode is active i set GPIO 27 output high and GPIO 22 output low
According to manual attached i send the following binary (non ASCII) bytes to the modules:
1)
C0000900010F630011430000
the module reply with
C1000900010F630011430000
2)
C0000900020F630011430000
the module reply with
C1000900020F630011430000
When i wish to communicate i set GPIO 27 and GPIO 22 output low.
I don’t think it’s necessary the connection diagram since the module responds accordingly the manual at par. 7.1. Anyway the board is installed close to raspberry and connected through 40 pin header as said above.
Let me know if you need further info.
P.S.
i don’t even use python for my project. i started with C
Hi,
If you correctly set the M0 and M1, the configuration for fixed transmission with relative addresses for the sender and receiver is okay. If you send the correct packet to address the message to the other device, it must work.
If It does not work, you do something wrong in one of these steps:
– connection schema
– configuration of receiver and sender
– code of the transmitter
– code of the receiver
Bye Renzo
Hi,
I can’t check the configuration and the wiring without the library that translates the byte in instruction, but It’s very improbable that the problem is the module.
But the configuration packet is 6 bytes so
C0 00 00 62 00 12
The sending packet for the address and channel you use seems incorrect.
Try using the library to simplify all the processes and reduce the errors; if it works, try replicating the byte array packet.
Maintaining a repository (or site or forum) is a lot like tending to a garden - it requires constant care and attention to keep it thriving. If you're a skilled gardener (or coder!) and want to help keep our repository blooming, we'd love to have you on board! We're also looking for talented writers and forum moderators to help us grow our community. Interested in joining our team? Don't hesitate to reach out and let us know how you can contribute!
Are you a fan of electronics or programming? Share your knowledge with others, write a simple tutorial or how to make a great project Contact me: share_your_ideas@mischianti.org
The content displayed on this website is protected under a CC BY-NC-ND license. Visitors are prohibited from using, redistributing, or altering any content from this website for commercial purposes, including generating revenue through advertising. Any unauthorized use is a violation of the license terms and legal action may be taken against individuals or entities found to be in violation.
You must also provide the link to the source.
To provide the best experiences, we use technologies like cookies to store and/or access device information. Consenting to these technologies will allow us to process data such as browsing behavior or unique IDs on this site. Not consenting or withdrawing consent, may adversely affect certain features and functions.
Functional
Always active
The technical storage or access is strictly necessary for the legitimate purpose of enabling the use of a specific service explicitly requested by the subscriber or user, or for the sole purpose of carrying out the transmission of a communication over an electronic communications network.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
The technical storage or access that is used exclusively for statistical purposes.The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
The technical storage or access is required to create user profiles to send advertising, or to track the user on a website or across several websites for similar marketing purposes.
To provide the best experiences, we use technologies like cookies to store and/or access device information. Consenting to these technologies will allow us to process data such as browsing behavior or unique IDs on this site. Not consenting or withdrawing consent, may adversely affect certain features and functions.
Functional
Always active
The technical storage or access is strictly necessary for the legitimate purpose of enabling the use of a specific service explicitly requested by the subscriber or user, or for the sole purpose of carrying out the transmission of a communication over an electronic communications network.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
The technical storage or access that is used exclusively for statistical purposes.The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
The technical storage or access is required to create user profiles to send advertising, or to track the user on a website or across several websites for similar marketing purposes.