AMConnect

This is a basic Arduino sketch to connect to a Huqsvarna Automower generation 2 robot mower. In it's current state it connects to the Autoower and sends the status, location and debug data to a mqtt server.

The code should be seen as a Proof of Concept code and not a real product.

Feel free to modify it as you see fit.

Hardware

Example hardware

The example hardware used for this project is based around a LOLIN32 developer module and a NEO-8M GPS.

LOLIN32 on Amazon

GPS Module on Amazon

As both the ESP32 and the NEO-8M module comes in alot of different forms and shapes, remember to match the settings in the configuration file with your hardware and wiring.

For my hardware, the wiring is as shown below. (Note: I have the GPS module upside down compared to the sketch, which makes all pins (except GND) line up with the pins on the LOLIN32 board.)

Example Hardware

Pinout of the Automower header

The internal header to connect the hardware to is the white header, located just below the larger header for the main flat cable.

Header

Pinout for the header

Pinout

Connect to Automower

In this example, the hardware is connected to an Husqvarna Automower 230 ACX Example Hardware