filmov
tv
GPS and LoRa Tutorial with M5Stack in Arduino IDE
Показать описание
GPS and LoRa Tutorial with M5Stack in Arduino IDE.
Building on the LoRaReceiver and LoRaSender example sketches for the LoRa 868 module on M5Stack Core, I add the AT6558 GPS unit to the LoRaSender and do a mashup of the GPS_AT6558 and LoRaSender example sketches in Arduino IDE and send GPS data to the LoRaReceiver.
GPS, LoRa, Radio and Telemetry Playlist
LoRa 868 Module Tutorial for the M5Stack Core ESP32 in Arduino IDE
GitHub ShotokuTech / M5StackCore_LoRa868_GPSAT6558
Example sketches:
M5Stack / Modules / LoRa433_SX1278 / LoRaReceiver and LoRaSender
As demonstrated, these are simple sketches that just need to be adapted for the scenario.
M5Stack / Basics / Display
This shows how to overcome the issue where data scrolls off the screen on the receiver. Set cursor to specific location and overwrite.
M5Stack / Unit / GPS_AT6558 / FullExample
Complex display with lots of data, more than needed.
I want to concatenate all desired data into a single string for LoRa packet transmission. I had two problems. Defining the string variable as 'char' gave me an error converting 'int' types when concatenating. So I went with the String function to over come this. But I could not easy get the float precision for latitude and longitude that I desired until I found the dtostrf() function.
dtostrf() to convert float to string
As an Amazon associate I earn from qualifying purchases at no additional cost to you.
M5Stack ESP32 Basic Core IoT: Development Kit V2.6
LoRa Module( 868MHz )
Mini GPS/BDS Unit (AT6558)
GitHub m5stack / M5Stack (Arduino IDE Library)
Building on the LoRaReceiver and LoRaSender example sketches for the LoRa 868 module on M5Stack Core, I add the AT6558 GPS unit to the LoRaSender and do a mashup of the GPS_AT6558 and LoRaSender example sketches in Arduino IDE and send GPS data to the LoRaReceiver.
GPS, LoRa, Radio and Telemetry Playlist
LoRa 868 Module Tutorial for the M5Stack Core ESP32 in Arduino IDE
GitHub ShotokuTech / M5StackCore_LoRa868_GPSAT6558
Example sketches:
M5Stack / Modules / LoRa433_SX1278 / LoRaReceiver and LoRaSender
As demonstrated, these are simple sketches that just need to be adapted for the scenario.
M5Stack / Basics / Display
This shows how to overcome the issue where data scrolls off the screen on the receiver. Set cursor to specific location and overwrite.
M5Stack / Unit / GPS_AT6558 / FullExample
Complex display with lots of data, more than needed.
I want to concatenate all desired data into a single string for LoRa packet transmission. I had two problems. Defining the string variable as 'char' gave me an error converting 'int' types when concatenating. So I went with the String function to over come this. But I could not easy get the float precision for latitude and longitude that I desired until I found the dtostrf() function.
dtostrf() to convert float to string
As an Amazon associate I earn from qualifying purchases at no additional cost to you.
M5Stack ESP32 Basic Core IoT: Development Kit V2.6
LoRa Module( 868MHz )
Mini GPS/BDS Unit (AT6558)
GitHub m5stack / M5Stack (Arduino IDE Library)
Комментарии