Giter Site home page Giter Site logo

manoukianv / tmc2208pilot Goto Github PK

View Code? Open in Web Editor NEW
12.0 6.0 3.0 8.71 MB

Application running on Arduino to setup and monitor TMC2208 by UART. Design to works with smoothiware firmware.

License: GNU General Public License v3.0

C 22.44% C++ 77.56%
tmc2208 arduino monitoring uart microstepping atom wiring

tmc2208pilot's Introduction

TMC2208Pilot

Description

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.

How does it works :

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) !

BOM & Wiring

Check the wiki for BOM and wiring

Quick starts

Installation

  1. Download ATOM : https://atom.io/
  2. Install Platform.io for ATOM : https://platformio.org/get-started/ide?install=atom
  3. Download / clone project on the github

Setup

The inital setup values are in <conf.h> file

Starting

  1. update the sketch on the arduino (Alt + Cmd + U)
  2. connect the serial terminal to use commands.

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

Copyright

Using this free lib https://github.com/teemuatlut/TMC2208Stepper

tmc2208pilot's People

Contributors

manoukianv avatar nedallive avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

tmc2208pilot's Issues

Delay Boot NodeMCU

Est-il possible de temporiser le boot du NodeMCU de 5sec ?
Ceci afin qu'il ne démarre pas avant les Drivers cela peux causer des defauts de lecture aleatoire.

is it possible to delay the boot of NodeMCU 5sec?
This so that it does not boot before the Drivers, can cause a random read fault...

Refresh Button

Est-il possible d'ajouter un bouton ''Refresh'' sur la page web.
cela permettrait de renvoyer les valeur au drivers même après une erreur de boot du NodeMCU

Is it possible to add a ''Refresh'' button on the web page.
this would return the value to the drivers even after a NodeMCU boot error

Display Web page

Est-il possible de masquer les Drivers desactiver dans le config.h de la page web ?
griser ou masquer integralement serrait une idee

Is it possible to hide the drivers deactivate in the config.h of the web page?
to gray out or hide entirely would be an idea

TMC 1 Random Bug

Je rencontre un Bug du TMC1 de maniere aleatoire.
Reamr + RAMPS 1.6
aleatoirement mon Moteur X (TMC1) ne fonctionne plus.
Solution le debrancher et reboot de la machine.
par la suite c'est mon moteur E (TMC4) qui ne fonctionne plus...
Cela peux ce produire à l'allumage comme pendant un print.

Solution actuel seullement laisser le TMC4 branché (utilisation du SpreadCycle)


I encounter a TMC1 Bug in a random way.
Reamr + RAMPS 1.6
randomly my X Engine (TMC1) no longer works.
Solution unplug and reboot the machine.
later it's my E (TMC4) engine that does not work anymore ...
This can happen on ignition as during a print.

Current solution only to leave the TMC4 plugged in (using the SpreadCycle)

Feature Request | Save Setting in EEPROM

Hallo @manoukianv ,

found your nice project and play around with it a little on my desk.
I like it very much. Thanks for all your work and effort. 👍

Why I am concerns into this?
Have a 3D printer with a Lerdge-X Board, which has a closed firmware.
Like to replace some of the stepper driver with TMC2208 and want to have the option, to configure it on the fly, like in Marlin.

Is it possible to get the option, to set some values like current, microsteps, microPlyer-interpolator and spreadCycle mode via Serial Monitor and save it to EEPROM?
Something like in Marlin G-Code M50x did?

Thanks for your assistance.

cu
k-plan

Display Config on Web Page

Est-il imaginable d'avoir une interface web pour l'ensemble des configuration présentes dans le fichier config.h ??

Is it conceivable to have a web interface for all the configuration present in the file config.h ??

Status LED and Pin Error

Use le default LED PIN on a arduino nano (Pin 13) to give status on the init.
Put a pin in HIGH level when init failed to give status to a board.

Using the same pin for that (Pin 13) to light on and give status.
If errors are detected, LED are turned on and signal is HIGH.

GPIO 0 Bug

Tout d'abord merci bcp pour ce fabuleux travail !
Je me suis aperçu que GPIO 0 cause un bug de boot du NodeMCU
LED allumé en bleu continue. il suffi de débrancher le câble du Gpio 0 pour que le NodeMCU boot correstement.

First of all thank you bcp for this fabulous job!
I realized that GPIO 0 causes a NodeMCU boot bug
LED lit in solid blue. it was enough to unplug the cable of Gpio 0 for the NodeMCU boot correstly.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.