gereic / GXAirCom

Multifunctional, compatible DIY aviation proximity awareness, variometer and messaging system with FANET+, FLARM and OGN support.
114 stars 36 forks source link

Heltec wifi lora v3 s3 1262 compatibility #123

Open Martenz opened 1 year ago

Martenz commented 1 year ago

Hi I did some test here to have the new Heltec WiFiLora 32 S3 V3 board working with master code. The new board use a sx1262. Lot of GPIO changed. It works only with latest espressif platform that include S3 boards and based on this repo RadioLib it is suggested to use a compatible board instead of the existing Heltec because Arduino pins are wrong.

Here the schematic of the new board (see also the previous repo about correct GPIO to use). pdf

I guess also for new Heltec Wireless Stick (Lite) V3 there will be a similar solution.

nepat commented 1 year ago

Thank you. Out of curiosity I just tried to load the bin file onto a Heltec Wireless Stick (Lite) V3 using the ESP32S3 Flash Download Tool (like I would successfully do with any other board). The board was recognised by the download tool. However after flashing I counldn't see any sign of life (=SSID announcing on Wifi). Would you have any pointers ?

Martenz commented 1 year ago

Sorry not tested yet on lite version. On my S3 wireless stick I only flashed firmware through platformio so I can see logs from serial while connected with usb.. I suggest to attach the usb and check serial output eg with Arduino ide terminal output or platformio if you can and see what's going on.

nepat commented 1 year ago

Flash on the Heltec Wireless Stick (Lite) V3 through platformio was successful. Fanet works. Used platform 6.1.0. Someone has also already published a pull request for the board https://github.com/platformio/platform-espressif32/pull/1044

hermannbach commented 1 year ago

Tested your version on Heltec V3 S3 with Baro/Gyro MS5611/MPU6050 it didn't work properly. GPS part worked, but the vario stuff didn't work. Seemed to crash while initializing MPU6050. Updated the libraries I2Cdev and MPU6050 to newer version, now the vario part seems to work. So far i have tested it on Heltec V2.1 and Heltec V3 S3.

bzed commented 1 year ago

board_build.partitions = ${esp32_base.board_build.partitions} is missing in your new board definition to be able to upload the FS image.