Application running on Arduino to setup and monitor TMC2208 by UART. You can :
- Setup the currents, hold currents
- Setup Microsteps from 1 to 256 real
- Switch beetween StealChop and SpreadCycle
- Monitoring temperature, max_current, actual mode (StealChop and SpreadCycle) and actual microstepping.
Connect a usb connector to power off the
WARN : The arduino setup driver in startup step, so if you reset you printer controller, you have to reapply settings or wiring the reset pin of the arduino board on the reset pin of the main board (check the voltage signal before : all is fine with the arduino board) !
Check the wiki for BOM and wiring
- Download ATOM : https://atom.io/
- Install Platform.io for ATOM : https://platformio.org/get-started/ide?install=atom
- Download / clone project on the github
The inital setup values are in <conf.h> file
- update the sketch on the arduino (Alt + Cmd + U)
- connect the serial terminal to use commands.
Command can be send to the arduino by the terminal port (case sensitive)
- getConf : display the settings
- startMon : start to monitoring drivers, start to collect data (this can stress drivers)
- getMon : display the collected data
- stopMon : stop to collect data
Do not use monitoring on a full print, just do it several time to collect and check data
Using this free lib https://github.com/teemuatlut/TMC2208Stepper