Skip to content

BoatSensor for temperatur, pressure and winddata. Windata input NMEA0183 over WLAN. All data output to NMEA2000.

Notifications You must be signed in to change notification settings

gerryvel/NMEA2000_TPW

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NMEA2000_TPW Version 2.0

Idea and basics for this Pojekt is "NMEA2000-TempPressure" from @AK-Homberger and "NMEA0183-to-NMEA2000" with ESP32 @AndrasSzep.

This repository shows how to measure temperature and barometric pressure with a BMP388 sensor and send it to NMEA2000 network. Additional work a Gateway with inputs NMEA0183 TCP-Stream from my Windsensor "NoWa" or "Yachta" @norbert-walter and send to NMEA2000.

The data is sent to NMEA2000 network with PGN130310 and PGN130306 (Outside Environmental Parameters and Wind).

The project requires the NMEA2000 and the NMEA2000_esp32 libraries from Timo Lappalainen: https://github.com/ttlappalainen. Both libraries have to be downloaded and installed.

For the BMP388 the Adafruit BMP3xx library has to be installed via the library manager. For HTML-Files use LittleFS Filesystem, you find her in /data directory.

The ESP32 in this project is an Adafruit Huzzah! ESP32. This is a small module without USB connector.

For the ESP32 CAN bus, i used the SN65HVD230 chip as transceiver. The correct GPIO ports are defined in the main sketch. For this project, I use the pins GPIO4 for CAN RX and GPIO5 for CAN TX.

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.

  • Adafruit Huzzah! ESP32 (for programming need USB-Adapter)
  • Traco-Power TSR 1-2450 for 12V / 5V
  • RGB LED Kingbright L-154A4SURKQBDZGW
  • TI SMD-Chip SN65HVD230
  • Case Wago 789-905

Wiring diagram

SchaltplanTPW_kiCad.pdf

PCB

Aisler PCB Layout https://aisler.net/p/NZFHAMAJ

Hardware

PNG-Bild _com apple Pasteboard dirmnK

Partlist:

  • Adafruit Huzzah! ESP32 (for programming need USB-Adapter)Link
  • SN65HVD230 Link
  • Traco-Power TSR 1-2450 for 12V / 5V Link
  • Case Wago 789

Website

IMG_2500

IMG_2499

IMG_2497

Plotter

image

About

BoatSensor for temperatur, pressure and winddata. Windata input NMEA0183 over WLAN. All data output to NMEA2000.

Topics

Resources

Stars

Watchers

Forks