Skip to content
Arduino library for the Outback MATE protocol
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
examples Add MateControllerDevice base class for interfacing with devices atta… May 29, 2019
logic_traces
src Add MateControllerDevice base class for interfacing with devices atta… May 29, 2019
.gitignore Initial commit - basic functionality works May 15, 2019
LICENSE Initial commit - basic functionality works May 15, 2019
README.md
keywords.txt Initial commit - basic functionality works May 15, 2019
library.properties

README.md

μMATE

An Arduino library for the Outback MATE protocol.

Also see pyMATE, my Python implementation of the MATE protocol.

You will need a simple adapter circuit and a TTL serial port. For more details, see jared.geek.nz/pymate

You will also need my 9-bit HW Serial library, or your own implementation. Your device MUST have at least 2 hardware serial ports! The Sparkfun Pro Micro works, since it has 1 USB serial port and 1 HW serial port. The Arduino Uno will NOT work as it only has 1 port!

Installation

Simply clone to your Arduino libraries folder (eg. Documents\Arduino\libraries\uMATE)

Several examples are included with this library, and were built for the Sparkfun Pro Micro:

MXEmulator.ino

This emulates an Outback MX Charge Controller, with a hard-coded status packet.

DeviceEmulator.ino

This emulates an Outback Hub with 3 attached devices on ports 1..3 (MX, FX, FlexnetDC).

Each child device spits out a hard-coded example status packet.

You should be able to plug a MATE directly to the arduino, with appropriate level conversion (the MATE expects 0V/24V logic), or you can connect it to your computer via a USB<>UART adapter and communicate via pyMATE.

DeviceScan.ino

This scans the mate bus for attached devices.

You can connect this with the DeviceEmulator example above, or with a real Outback MATE network with attached devices (with appropriate level conversion!)

Footnotes

Pull-requests are welcome.

The Outback bus operates at your battery's supply voltage (which could be 24 or 48V), so you MUST have appropriate level conversion AND isolation, or you risk damage to your Arduino and/or computer! Use this library at your own risk!

You can’t perform that action at this time.