Skip to content

Latest commit

 

History

History
116 lines (88 loc) · 5.6 KB

Hardware.md

File metadata and controls

116 lines (88 loc) · 5.6 KB

Hardware Configurations

This pages describes a couple of the potential hardware configurations you could use with the code. Finally this list is not complete and you can easily define your own set up by adding definitions. Hint: all prebuild binaries can be found at releases. The "Build Defines" describe which of the hardware definitions from Hardware.h are used.

M5 Atom CAN

  • Hardware: M5 AtomCAN
  • Prebuild Binary: m5stack-atom-all.bin
  • Build Define: BOARD_M5ATOM
  • Power: via USB

M5Stack AtomCAN

Can be used e.g. as an NMEA2000 Adapter for a laptop running e.g. OpenCPN with the NMEA2000 Data converted to NMEA0183.

M5AtomCan Laptop

Or you can use it as an Adapter for an Android Device running e.g. AvNav.

M5AtomCAN Android

Beside the connection via USB it can also be used via Wifi - you just need to power the Device via the USB port. A long press on the LED button (until the led changes color from green via blue to red) will perform a factory reset.

M5 Atom CAN with M5 Tail485

  • Hardware: M5 AtomCAN + M5 Tail485
  • Prebuild Binary: m5stack-atom-all.bin
  • Build Define: BOARD_M5ATOM
  • Power: 12V via Tail485

M5 AtomCAN with Tail485

With this set up you can use the device as a gateway between NMEA2000 and NMEA0183. The NMEA0183 connection can only work as either a sender or receiver. Additionally you can connect other devices via Wifi. This way you get a simple 12V powered NMEA2000-NMEA0183 Wifi gateway. So you can e.g. connect your tablet via Wifi to your NMEA2000 bus and additionally integrate some NMEA0183 device both with your NMEA2000 bus and your tablet. It even works without the NMEA2000 bus connected as a NMEA0183-Wifi gateway.

M5 Atom CAN with M5 RS485 Module

  • Hardware: M5 AtomCAN + M5 485 module
  • Prebuild Binary: m5stack-atom-all.bin
  • Build Define: BOARD_M5ATOM
  • Power: 12V via RS485 Module or via USB

M5 AtomCAN with rs485 module

With this set up you get basically all the features from the plain AtomCAN and the Tal485 combined. You still can connect via USB but have the NMEA0183 connection in parallel.

M5 Atom RS485 with M5 CAN Unit

  • Hardware: ATOM RS485 + CAN Unit
  • Prebuild Binary: m5stack-atom-rs485-canunit-all.bin
  • Build Define: BOARD_M5ATOM_RS485_CANUNIT
  • Power: 12V via RS485 Module or via USB

M5 Atom RS232 with M5 CAN Unit

  • Hardware: ATOM RS232 + CAN Unit
  • Prebuild Binary: m5stack-atom-rs232-canunit-all.bin
  • Build Define: BOARD_M5ATOM_RS232_CANUNIT
  • Power: 12V via RS232 Module or via USB

M5 Stack Atom Canunit

  • Hardware: M5_ATOM + CAN Unit
  • Prebuild Binary: m5stack-atom-canunit-all.bin
  • Build Define: BOARD_M5ATOM_CANUNIT
  • Power: Via USB

M5_Atom_with CAN unit

Can be used e.g. as an NMEA2000 Adapter for a laptop running e.g. OpenCPN with the NMEA2000 Data converted to NMEA0183.

OpenCPN on Laptop via USB and MFD on Android via WiFi OpenCPN on Laptop via USB and AvNav on Android via WiFi

M5 Stack AtomS3Lite Canunit (experimental since dev20230826)

  • Hardware: M5_ATOMS3 Lite + CAN Unit
  • Prebuild Binary: m5stack-atoms3-canunit-all.bin
  • Build Define: BOARD_M5ATOMS3_CANUNIT
  • Power: Via USB

M5 Stick C Canunit

  • Hardware: M5_StickC+ + CAN Unit
  • Prebuild Binary: m5stickc-atom-canunit-all.bin
  • Build Define: BOARD_M5STICK_CANUNIT
  • Power: Via USB
  • LCD: not yet implemented

M5StickC+ with CAN unit

Can be used e.g. as an NMEA2000 Adapter for a laptop running e.g. OpenCPN with the NMEA2000 Data converted to NMEA0183.

Node MCU32s - Homberger Board

  • Hardware: see link in heading
  • Prebuild Binary: nodemcu-homberger-all.bin
  • Build Define: BOARD_HOMBERGER
  • Power: 12v to 5v on board

This device allows to use a cheap NodeMCU, a CAN transceiver, a 12V power regulator and some glue logic to also build a gateway device. For details refer to the Git Repo.

Own Hardware

If you want to use your own hardware that requires PIN definitions different from the ones that are already included just clone the git repo and follow the hints given at the Example user task. You basically need to create a directory with the string "task" in its name, inside an include file with the same name like the task directory that contain your hardware definitions and a platformio.ini that defines your board. By having this in a separate directory you can easily fetch new versions of this repo without conflicts.