[Solved] Unrecognized Transceiver
Yes, Pin #2 and #3 are to be high for both Transmit node and receive node. This is in software because in low-power mode, the RF FE these can be put low for extremely low power consumption. If you do not care for low-power mode you can pull up in hardware with a 4.7K resistor.
The instantaneous mode for RX and TX is controlled by the SX1276 and if this function is desired on the MCU, the modification required are in the QSG.
This my code for transmission. Can you suggest or help. Is this the only required code for simple transmission
void setup (void)
pinMode(10, OUTPUT); // CS
pinMode(8, OUTPUT); // PIN 2 of LORA module
pinMode(7, OUTPUT); // PIN 3 of LORA module
// Put SCK, MOSI, SS pins into output mode
// also put SCK, MOSI into LOW state, and SS into HIGH state.
// Then put SPI hardware into Master mode and turn SPI on
pinMode(13, OUTPUT); //SCK
pinMode(11, OUTPUT); //MOSI
// Slow down the master a bit
} // end of setup
void loop (void)
// enable Slave Select
digitalWrite(10, LOW); // SS is pin 10
// send test string
for (const char * p = "Hello, world!\n" ; c = *p; p++)
// disable Slave Select
delay (1000); // 1 seconds delay
} // end of loop
we use the above for our setup. We use it with the Raspberry Pi only and it works both as a node and a gateway. We have other customers who have used the above with an Arduino and is the right way to proceed.
Once the node is detected, the code will configure it with the appropriate stack/ frequency/ power and then send your data.
Browse the code and use it to proceed further,
Hello, i have established the communication. Now i am able to send and receive data. But the range of communication is very less. I am only able to receive data when the two modules are very close to each other. I am not receiving anything when two devices are in two rooms. How can i increase my range? How much can i increase my transmission power.
1. Please ensure the pull-up is in place. This is the chief reason for the PA or LNA to not get activated. Put a hardware pull-up if software pull-up is not possible.
2. Please ensure that the transmit power (MAX DBM) is not more than 8dBm. anything higher may fatally damage the front end.
Connect hardware pull ups to these pins. Please follow instruction below for connecting hardware pull up
1. Remove R9 and R8
2. Connect 3.3k / 10k value Pull ups to pads of R8 and R9 as shown in image. Tie the other end to C69 VCC pad, as shown in image
This should help.