kicad_nmea2000_sensor

Public

@olliiiver

Download board files

Files for version 1. Pick what you came for.

Share kicad_nmea2000_sensor

Check access before sharing the link.

Who can open this board

Anyone can open this board. No sign-in is required.

This link opens the latest version. Copying it does not grant additional access.

Loading…

README

NMEA 2000 KiCAD PCB and sketch for analog inputs (e.g. water level, fuel gauge, switch, etc ...)

Based on https://github.com/ttlappalainen/NMEA2000

Can be used to create a NMEA 2000 device like a sensor for fuel gauges. The board is easy to work with since it contains ISP and serial ports.

Use at your own risk. Don't forget the right external fuses, etc.

Prerequisites

  • A NMEA2000 or Seatalk NG network
  • PlatformIO CLI from https://platformio.org
  • A PCB manufacturer of your choice and some SMD soldering experience

How to

PCB

Equip SMD parts for power (LDO, etc) first and measure input to output voltage carefully. Adjust R4 (and R3) resistors, if necessary. If voltage is around 4.8V - 5V, place other parts.

Burn bootloader

  1. Disconnect PCB from other power sources or adapters.
  2. Connect an AVR ISP programmer (usbasp) to ISP port
  3. Change into arduino-blink directory and type pio run --target fuses. If the chip doesn't answer run avrdude manually with -B flag to set the bit clock rate, see https://electronics.stackexchange.com/questions/388324/avrdude-error-program-enable-target-doesnt-answer-1
  4. Change into arduino-blink directory and type pio run --target bootloader
  5. Optional: The sketch can be uploaded via ISP directly from arduino-sensor directory (pio run --target program)

Upload sketch

  1. Disconnect PCB from other power sources or adapters.
  2. Connect an USB serial adapter to serial port
  3. Change into arduino-sensor directory
  4. Run pio run --target upload

If errors appear during upload (e.g. programmer is out of sync or protocol error use another USB cable, USB hub or USB adapter. Check USB voltage (>4.89V) and ripple noise.

BOM

Comments

No comments yet. Be the first to ask about this board.

Ask about this board

Sign in to BoardRepo

New here? Signing in creates your account; there is no separate sign-up.