Kongduino

Results 80 comments of Kongduino

I have no experience with ThingsBoard. You'll have to look at the API.

Use the default `Lora` class for one module, and instantiate another class instance, say `LoRaClass LoRa1;` for the other.

No, everything (frequency, SF, BW, CR) has to be set to a certain setting. What you can do is hop between settings – usually it's done for frequencies, rather than...

Alright, as someone who achieves 10 km between modules on a regular basis, these figures kind of worry me. Crappy antennas don't excuse/explain everything – even with old TTGO v...

> In the above code which sets the TX power? The line setting REG_PA_CONFIG does that: `LoRa.writeRegister(REG_PA_CONFIG, 0xFF);` ![REG_PA_CONFIG](https://user-images.githubusercontent.com/35363882/152471067-046e7637-b1e9-43e1-a043-8e1f80fb5330.png) 0xFF = 0b11111111 PaSelect: 1 --> PA_BOOST pin MaxPower: 111 -->...

Thanks for the detailed answer. The figures are better but I have the feeling they could get better. At least now you can LoRaize your orange grove :-) `LoRa.begin()` sets...

```c void loop() { do { LoRa.receive(); delay(1000); } while(LoRa.parsePacket()==0); ``` That piece of code doesn't make sense. `LoRa.receive();` shouldn't be called repeatedly. You call it once in `setup()` and...

If both modules are transmitting at the same time, they won't be able to listen to each other. We need Channel Activity Detection, which is not implemented in this library....

As far as I can see, in AtTinyCore, `digitalPinToInterrupt` will return `NOT_AN_INTERRUPT` for any pin except `CORE_INT0_PIN`, which `PIN_B1`. ```c #define CORE_INT0_PIN PIN_B1 #define digitalPinToInterrupt(p) ((p) == CORE_INT0_PIN ? 0...

I had a look at your code, and you have this line: ```c LoRa.setPins(PA_4, -1, -1); ``` This is the issue I think. The prototype for `setPins` is: ```c void...