https://github.com/elmot/esp-windsensor-deck
NMEA wind display ,based on stm8, esp32, and LCD screen
https://github.com/elmot/esp-windsensor-deck
esp32 nmea nmea0183 sailing stm8 weather weather-information weather-instruments wind yachting
Last synced: 7 months ago
JSON representation
NMEA wind display ,based on stm8, esp32, and LCD screen
- Host: GitHub
- URL: https://github.com/elmot/esp-windsensor-deck
- Owner: elmot
- License: mit
- Created: 2024-03-17T15:25:13.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2024-06-22T10:11:02.000Z (over 1 year ago)
- Last Synced: 2025-01-17T21:26:48.404Z (9 months ago)
- Topics: esp32, nmea, nmea0183, sailing, stm8, weather, weather-information, weather-instruments, wind, yachting
- Language: C
- Homepage:
- Size: 10.4 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
ESP-32 Wind indicator
====
Counterpart of [ESP32 Wind sensor](https://github.com/elmot/esp-windsensor-mast).
The firmware is assembled for classic ESP32, but also works on ESP32-S3.
Communication
---
Connects as a WiFi station and receives NMEA-183 data via UDP port 9000
WiFi parametes are set via *idf.py menuconfig*Input pins
---
Both could be adjusted using *idf.py menuconfig** Backlight up button GPIO18
* Backlight down button GPIO19Input pins
---
Both could be adjusted using *idf.py menuconfig** GPIO5 - Alarm LED
* GPIO4 - Alarm LED invertedDisplay
---
Display unit is connected via unidirectional UART(GPIO17).There are two variants of the display unit:
* STM8 MCU + Winstar WG240128B display. There are multiple clones of it. STM8 firmware is here: [stm8-display-bridge](stm8-display-bridge). Unfortunately STM8 is totally deprecated now. If there is some interest, I'll port it to some cheap ARM-based 5V MCU.
* Emulator on Raspberry Pi Pico + [Pimoroni Pico Display Pack 2.0](https://shop.pimoroni.com/products/pico-display-pack-2-0). See [rpi-display](rpi-display)How to flash the main unit
----
There are multiple ways to flash ESP32. The easiest way is [esptool-js](https://espressif.github.io/esptool-js/).Take binaries from [the latest release](//github.com/elmot/esp-windsensor-deck/releases/latest).
Flash addresses are
| File | Address |
| ----------------------- | ------- |
| bootloader.bin | 0x1000 |
| partition-table.bin | 0x8000 |
| esp-windsensor-mast.bin | 0x10000 |