Comments (5)
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.
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.
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.
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.
from nano_stepper.
Related Issues (20)
- Open Source License HOT 3
- Required Wiring Doc Update HOT 1
- Makerbase upload sources. HOT 1
- Smart Stepper N2P 100 35V capacitor getting really hot HOT 2
- Additions to docs HOT 1
- How to change vendor/product I or add iSerial HOT 2
- ERROR 'Serial5' was not declared in this scope HOT 2
- MKS SERVO 42 ERROR PIN? HOT 2
- Current Homing HOT 1
- INFO: MKS provided now source for fw and hw HOT 4
- INFO: bigtreetech hw/fw design of 42B and 42A shared on github HOT 2
- Just for info: easily read/write from/to Smart Stepper by raspberry pi/bash HOT 1
- 2209 question HOT 2
- What magnets to use? HOT 2
- Convert to TMC2208? HOT 3
- Inquiry: Step interpolation mode HOT 1
- Retrofit for Nema 14 HOT 1
- Cannot Install misfitTech SAMD Boards in Arduino. HOT 1
- www.misifittech.net dead link
- setpos to negative number error
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nano_stepper.