kaiwol1990 / mechaduino Goto Github PK
View Code? Open in Web Editor NEWderivation of the original Mechaduino code from jcchurch13.
License: Other
derivation of the original Mechaduino code from jcchurch13.
License: Other
Hi,
In order to make the readEncoderDiagnostics function to work I have to comment the lines below in Serial.cpp. Problem seen in master and dev branches. Why do you read twice?
Christophe.
void readEncoderDiagnostics(int arg_cnt, char args) {
disableTC5Interrupts();
disableTC4Interrupts();
long angleTemp;
SerialUSB.println(diagnostics_header);
digitalWrite(chipSelectPin, HIGH);
delay(1);
digitalWrite(chipSelectPin, LOW);
SPI.transfer(0xFF);
SPI.transfer(0xFC);
digitalWrite(chipSelectPin, HIGH);
delay(1);
digitalWrite(chipSelectPin, LOW);
byte b1 = SPI.transfer(0xC0);
byte b2 = SPI.transfer(0x00);
// digitalWrite(chipSelectPin, HIGH);
// delay(1);
// digitalWrite(chipSelectPin, LOW);
//
// b1 = SPI.transfer(0xC0);
// b2 = SPI.transfer(0x00);**
Hello Kaiwol1990, first let me thank you for your help to the stepper servo drive world!
I'm currently working on a design based on the Mechaduino but for largers motors, using discrete MOSFETs instead of a dual H-bridge IC drive.
Got a Robodyn SAMD21 MINI board, since use the same microcontroller, and tried to upload your modified code version of Mechaduino but I'm not getting anything on the serial monitor, while the original code from Mechaduino works great. Any idea what could it be?
Hi,
I can't get my 0.9 stepper to work with this release. It works somewhat better with the old version.
It runs through the calibration-process, but i get maximal error of around 70%. But I don't get any data for the lookup table and it sort of hangs.
With this version when trying to calibrate I get: "...Motor is not moving -> abbort"
It starts to move but don't really move at all, just oscillates.
Also, mm_rev what should the correct value be?
Thanks for any info
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.