This repository contains research about the Milwaukee M18 protocol.
First step was to fake the charger commands in order to verify that the communication works as expected. ✅ Next step was figuring out what other commands are supported. ✅
While most of the registers and data are known, there are still some unknown. Contributions are welcome!
In order to simulate the charger, the following circuit is proposed:
NOTE When using fake FT232 chips, break condition is not supported. The behaviour can be emulated by using the DTR line to pull the TX line low.
The voltage of the USB to Serial adapter should be 3.3V
To use this software, Python is required. Please read the python and pip documentation.
Install the required packages by running
Once the required packages are installed, run the following command. If the serial port is known, specify it using --port to speed things up.
This opens an interractive shell that can be used to send different commands. Refer to the instructions provided in the shell.