-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Question about Hardware? #1
Comments
Hello Arttupii, |
Hallo Arttuppi,many thanks for your answer. I send a additional question in git. May be there other user interstet.
Thanks Hans
…-----Ursprüngliche Mitteilung-----
Von: arttupii <notifications@github.com>
An: arttupii/CLSMB <CLSMB@noreply.github.com>
Cc: Bastler100 <HaHoLang@aol.com>; Author <author@noreply.github.com>
Verschickt: Sa, 22. Jun. 2019 0:54
Betreff: Re: [arttupii/CLSMB] Question about Hardware? (#1)
This project has been discontinued (too much other projects)... But I added some files into the repository for you (Readme&schematics).
I have not tested this completely so there might be "some" bugs.—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Hallo Arttuppi,many thanks for your answer. I send a additional question in git. May be there are other users interestet.
Thanks Hans
…-----Ursprüngliche Mitteilung-----
Von: arttupii <notifications@github.com>
An: arttupii/CLSMB <CLSMB@noreply.github.com>
Cc: Bastler100 <HaHoLang@aol.com>; Author <author@noreply.github.com>
Verschickt: Sa, 22. Jun. 2019 0:54
Betreff: Re: [arttupii/CLSMB] Question about Hardware? (#1)
This project has been discontinued (too much other projects)... But I added some files into the repository for you (Readme&schematics).
I have not tested this completely so there might be "some" bugs.—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Hi,
IN_STEP1 define can be removed. It is not used.
You can use any Arduino board that has at least two external interrupt pins (nano is ok). |
Hello Arttuppi, Thanks |
Check this commit. I added the support of quadrature incremental encoder. |
Hello Arttuppi, |
Hello Arttuppi, |
Hello Arttuppi, Thanks |
Hello Arttuppi, |
Hi,
Millis.h is in here: https://github.com/arttupii/ArduinoHelperLibrary
I removed "Step / Dir-Mode" support. You can now only use quad A/B-Mode. Luckily it is a default mode for AS5040, so you don't need to modify OPT-Mode-Registers anymore. Just connect AS5040 and arduino nano to each other. Also standard encoders are using Quad A/B-Mode (e.g. HN3806-AB-400N).
The same code supports now AS5040 and a standard encoder. We just now use quad A/B-Mode instead of Step / Dir-Mode in AS5040.
Yes it is... You can deactivate it. |
Hello,many thanks for your answer. I will try to build a working axis.
Hans
…-----Ursprüngliche Mitteilung-----
Von: arttupii <notifications@github.com>
An: arttupii/CLSMB <CLSMB@noreply.github.com>
Cc: Bastler100 <HaHoLang@aol.com>; Author <author@noreply.github.com>
Verschickt: Mi, 26. Jun. 2019 21:21
Betreff: Re: [arttupii/CLSMB] Question about Hardware? (#1)
Hi,
Can you tell me where I can find the micros.h and the millis.h library.
Millis.h is in here: https://github.com/arttupii/ArduinoHelperLibrary
Its possible to use the last code with a standart encoder or with the AS5040 in incremental mode? In this case it will be required to set the AS5040 in incremental mode about OTP-Mode-Register.
I removed "Step / Dir-Mode" support. You can now only use quad A/B-Mode. Luckily it is a default mode for AS5040, so you don't need to modify OPT-Mode-Registers anymore. Just connect AS5040 and arduino nano to each other. Also standard encoders are using Quad A/B-Mode as default (e.g. HN3806-AB-400N).
So, the same code supports now AS5040 and standard encoders... But the circuit board must be redesigned because of latest code changes (and quad A/B-mode). :(
Do you think its possible to show both codes in the Git?
The same code supports now AS5040 and a standard encoder. We just now use quad A/B-Mode instead of Step / Dir-Mode in AS5040.
Is the serial operation for a dro? Can I deactivate the serial operation.
Yes it is... You can deactivate it.—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
QuadAB works now. See demo video https://youtu.be/jLogS5AQ-yQ |
Hello Arttuppi,super.
Hans
…-----Ursprüngliche Mitteilung-----
Von: arttupii <notifications@github.com>
An: arttupii/CLSMB <CLSMB@noreply.github.com>
Cc: Bastler100 <HaHoLang@aol.com>; Author <author@noreply.github.com>
Verschickt: Do, 27. Jun. 2019 19:38
Betreff: Re: [arttupii/CLSMB] Question about Hardware? (#1)
QuadAB works now. See demo video https://youtu.be/jLogS5AQ-yQ—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Hello Arttuppi,its necessary that the steps from the encoder and the stepps from the stepper are the same
or its necessary to confirm the code by an other relation?Thanks
Hans
…-----Ursprüngliche Mitteilung-----
Von: arttupii <notifications@github.com>
An: arttupii/CLSMB <CLSMB@noreply.github.com>
Cc: Bastler100 <HaHoLang@aol.com>; Author <author@noreply.github.com>
Verschickt: Do, 27. Jun. 2019 19:38
Betreff: Re: [arttupii/CLSMB] Question about Hardware? (#1)
QuadAB works now. See demo video https://youtu.be/jLogS5AQ-yQ—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
It is not necessary that the steps are the same, but you need set them in config.h. #define ENCODER_PPR 1024 //Pulses per Revolution (AS5040) |
Hello Arttuppi,many thanks for your answer. I see the code works with a 4-times evualation from theencoderresolution.
Hans
…-----Ursprüngliche Mitteilung-----
Von: arttupii <notifications@github.com>
An: arttupii/CLSMB <CLSMB@noreply.github.com>
Cc: Bastler100 <HaHoLang@aol.com>; Author <author@noreply.github.com>
Verschickt: So, 30. Jun. 2019 16:33
Betreff: Re: [arttupii/CLSMB] Question about Hardware? (#1)
It is not necessary that the steps are the same, but you need set them in config.h.#define ENCODER_PPR 1024 //Pulses per Revolution (AS5040)
#define NEMA_MOTOR_FULL_STEPS 200
#define NEMA_MOTOR_MICROSTEPS 16—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Hello Arttuppi, |
Hi, It indicates the absolute zero position. It can be used to automatic calibrating in the future. |
Hello Arttuppi, |
Hi, There is only one new mode and it is LOAD_POSITION_CONTROL mode. STEP_LOSS COMPENSATION is the original mode (and it is also the default mode). You can select mode from config.h file. |
Hello Arttuppi, |
HI, AS5601 should be OK. It is even more accurate than AS5040. index pin is not needed. |
I cannot reproduce this anymore.... It was just bad wiring. |
Hello Arttuppi,good information. When I order an encoder I will take only typs with 100 or 200 Steps. You reeed now the rising and falling edge from channel A and the rising and falling edge from
channel B. The other chance will be reading only the rising edge from channel A when the encoderresolution in to high. The stm32 works with 3,3Volt. I do not know if the othercomponents are working with 3,3Volts.ThanksHans
…-----Ursprüngliche Mitteilung-----
Von: arttupii <notifications@github.com>
An: arttupii/CLSMB <CLSMB@noreply.github.com>
Cc: Bastler100 <HaHoLang@aol.com>; Author <author@noreply.github.com>
Verschickt: Mi, 10. Jul. 2019 21:29
Betreff: Re: [arttupii/CLSMB] Question about Hardware? (#1)
We have performance issue with Arduino Nano. I got today a optical encoder HN3806-AB-400N. It sends 1600 state changes per rotation. It is too much for Arduino Nano and A/B phase synchronization is lost. It doesn't matter how fast motor is running. The shaft of the motor moves too fast between the steps and generates too many interrupts for Arduino. Perhaps we should port the code for ESP32 or just use only AS5040...
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Hi, Looks like stm32 is very cheap chip, so it would be ok (perfect) for this use. But I think Arduino Nano is enough when we reduce the number of pulses. In the latest code, you can now select resolution of the encoder. You can double or quadruples the resolution of the encoder. Or just use 1x resolution. |
Hi, I also changed pin map. A/B signals are connected now to D2&D3 pins on Arduino Nano. Thanks for the comments. |
Hello Arttuppi,in the Git is a shematic with a ProMini. I make a picture with connections for the stepper.Will you be so kindly check the connections?
Many thanks for your support
Hans
…-----Ursprüngliche Mitteilung-----
Von: arttupii <notifications@github.com>
An: arttupii/CLSMB <CLSMB@noreply.github.com>
Cc: Bastler100 <HaHoLang@aol.com>; Author <author@noreply.github.com>
Verschickt: Do, 11. Jul. 2019 19:32
Betreff: Re: [arttupii/CLSMB] Question about Hardware? (#1)
Hi, I also changed pin map. A/B signals are connected now D2&D3 pins on Arduino Nano. Thanks for the comments.—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Hi, No problemo. I can check the connections. |
Hello Arttupii,I draw a pcb 50x50mm with a pro mini, a as5601 and a drv8825. I want
to mill it,but the footprint from the as5601 was to small, so i orderd
some pcbs in China. Have you an idea for driver with more current fora nema 34 or 42?Thanks
Hans
…-----Ursprüngliche Mitteilung-----
Von: arttupii <notifications@github.com>
An: arttupii/CLSMB <CLSMB@noreply.github.com>
Cc: Bastler100 <HaHoLang@aol.com>; Author <author@noreply.github.com>
Verschickt: Di, 16. Jul. 2019 20:14
Betreff: Re: [arttupii/CLSMB] Question about Hardware? (#1)
Hi, No problemo. I can check the connections.—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Hi, My plan is use nema23, TB6600, HN3806-AB-400N rotation encoder and arduino nano (+ extension board https://tinyurl.com/y2pt8n8q) in my cnc router. TB6600 gives max 5A. TB6600 and nema23 because my cnc router uses them currently and I don't see any reason replace them. AS5040&A4988 solution is for my delta 3D printer. |
Hello Arttupii,many thanks for your answer. I have also some stepper driver with the TB6600. I will use theAS5601 because its not so difficult to solder. Hans
…-----Ursprüngliche Mitteilung-----
Von: arttupii <notifications@github.com>
An: arttupii/CLSMB <CLSMB@noreply.github.com>
Cc: Bastler100 <HaHoLang@aol.com>; Author <author@noreply.github.com>
Verschickt: Mo, 29. Jul. 2019 22:40
Betreff: Re: [arttupii/CLSMB] Question about Hardware? (#1)
Hi,My plan is use nema23, TB6600, HN3806-AB-400N rotation encoder and arduino nano (+ extension board https://tinyurl.com/y2pt8n8q) in my cnc router. TB6600 gives max 5A. TB6600 and nema23 because my cnc router uses them currently and I don't see any reason replace them. AS5040&A4988 solution is for my delta 3D printer.
I have no other ideas or plans.—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Hello Arttupii,I get now the PCBs from China to control these steppers. I use the ProMini and the AS5601.Hans
…-----Ursprüngliche Mitteilung-----
Von: arttupii <notifications@github.com>
An: arttupii/CLSMB <CLSMB@noreply.github.com>
Cc: Bastler100 <HaHoLang@aol.com>; Author <author@noreply.github.com>
Verschickt: Do, 11. Jul. 2019 19:32
Betreff: Re: [arttupii/CLSMB] Question about Hardware? (#1)
Hi, I also changed pin map. A/B signals are connected now D2&D3 pins on Arduino Nano. Thanks for the comments.—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Hello,
are there additional infos about the Hardware/Board, that can be used with this
software?
Thanks
Hans
The text was updated successfully, but these errors were encountered: