The ESP32 in this project is an Adafruit Huzzah! ESP32. This is a small module without USB connector.
With the ESP32 and 2 Sensors for gyro (MMA8452) and distance (Sharp GP2Y0A21) it's possible monitoring the varaible Kiel and the Inclined position (Krängung, Roll). All data is available in the web interface. The Roll-data are available as NMEA0183 UDP-Stream over Wlan and NMEA2000.
The 12 Volt is reduced to 5 Volt with a DC Step-Down_Converter. 12V DC comes from the N2k Bus Connector with the M12 Connector.
The Website use LittleFS Filesystem. You must use Partition Schemes "Minimal SPIFFS with APPS and OTA". The HTML Data upload separately with
- "ESP 32 Sketch Data upload" (Arduino IDE) or
- PlatformIO > Build Filesystem and Upload Filesystem Image (PlatformIO) from /data directory.
- Adafruit Huzzah! ESP32 (for programming need USB-Adapter)Link
- SN65HVD230 Link
- Traco-Power TSR 1-2450 for 12V / 5V Link
- Gyro MMA8452Q Link
- Case Wago 789 Link
- Resistor 200Ohm , 10kOhm
PCB by Aisler Link