Giter Site home page Giter Site logo

Comments (5)

hg42 avatar hg42 commented on June 30, 2024

that seems to be caused by compiling as Arduino M0 (or also M0 Pro, both variant mzero, because the boot loader is 16k and the device calls itself Arduino M0, or in other words, the clone has a bootloader for Arduino_M0* and you cannot compile and upload as Arduino Zero this way, at least not on Arduino IDE).

Arduino pin numbers are different between zero and mzero in several ways:

  • SPI, CS... hva edifferent numbers
  • D2, D4 are swapped, which is very bad for the AS4954 and motor (both very hot), because VREF is always zero on one pin

from nano_stepper.

hg42 avatar hg42 commented on June 30, 2024

I managed to create a board definition to compile as Arduino Zero, but with a 16k bootloader and upload like the Arduino M0 (Pro) with avrdude.
This works so far. If anyone needs this, please send an email...

from nano_stepper.

beniroquai avatar beniroquai commented on June 30, 2024

HEy @hg42 I guess I have the same issue. It's very long time ago, but did you have a solution available by the time?

from nano_stepper.

hg42 avatar hg42 commented on June 30, 2024

it's a long time ago and I forgot all the details...

I fixed this by changing some configuration lines in board.h, but I am not sure, how the result was working at the end.
At that time I experimented with several software solutions.

see my fork hg42/nano_stepper
branch mechaduino_clone (seems I forgot to push it at that time, so I pushed it now)
commit 0155c29 contains the changed board.h

My final conclusion was, that the frequency is too low for my purposes.
Note, my first requirement was to have a quiet motor (like with TMC chips where I came from), and only the second goal was protection against skipping. If your priorities are different, you might come to a different conclusion.

from nano_stepper.

beniroquai avatar beniroquai commented on June 30, 2024

from nano_stepper.

Related Issues (20)

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.