Thank you for that hint, its looking very complicated tbh but I will try to implement it! If I have success I will let you know about the effects
you can also use the standard macros provided my the ESP32 core as I have done in another of my projects…
Tried it ( it is actualy the suggested lib here : (https://www.youtube.com/watch?v=-QIcUTBB7Ww)
but the lib is kind of a not ready… e.g. did not managed to install it and make it work wit latest ESP32 core…
an other alternative examples ?
I am using the standard ESP32 lib with deepsleep and LoRa functions at the moment. I cant get the ULP lib working, but i will keep trying!
I tried to print the millis and thats what its printing:
Serial.println(millis()); LoRa.begin(BAND, PABOOST); // Sending via Lora start Serial.println(millis()); LoRa.beginPacket(); Serial.println(millis()); LoRa.print(trans); Serial.println(millis()); LoRa.print(trans) Serial.println(millis()); LoRa.endPacket(); Serial.println(millis());
So I would say, that the LoRa.begin and LoRa.endPacket is the problem --> libary probelm
Am I right with this?
there is some examples for Arduinoo IDE here :
I got the error, that the Wif LoRa 32 Board is not working with the NodeAPI IoT Lib when i try to compile it
Which board exactly you chose in Arduino IDE ?
Which example ?
hmmm I watched about this in “The guy with the swiss accent” video and give it a try and it worked for me - I’m using Heltec LoRa32 Arduino IDE 1.8.8
WiFi LoRa 32 out of the Heltec ESP32 Arduino lib
What is the error ?
Do you have the Radiohead lib installed : https://github.com/i4things/NodeAPI/blob/master/RadioHead.zip
I’ve just tried all ESP32 Heltec related exmaples :
and all builds OK : ( Can you PM me with the problem as no point hijacking the thread)
Using library RadioHead in folder: C:\Program Files (x86)\Arduino\libraries\RadioHead (legacy)
Using library SPI at version 1.0 in folder: C:\Users\admin\Documents\Arduino\hardware\espressif\esp32\libraries\SPI
“C:\Users\admin\Documents\Arduino\hardware\espressif\esp32/tools/xtensa-esp32-elf/bin/xtensa-esp32-elf-size” -A “C:\Users\admin\AppData\Local\Temp\arduino_build_518801/thing.ino.elf”
Sketch uses 220544 bytes (6%) of program storage space. Maximum is 3407872 bytes.
Global variables use 14336 bytes (4%) of dynamic memory, leaving 313344 bytes for local variables. Maximum is 327680 bytes.
Have you tried any other SF values to see whether the duration increases even further?