Code Monkey home page Code Monkey logo

mechaduino's People

Contributors

kaiwol1990 avatar

Stargazers

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

Watchers

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

mechaduino's Issues

Incorrect handling of AS5047 ?

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);**

Robodyn SAMD21 MINI board

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?

0.9 degree stepper not working

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

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.