- Hardware & Machines
- Computers and Hardware
- Remora - Rpi Software Stepping Using External Microcontroller via SPI
Remora - Rpi Software Stepping Using External Microcontroller via SPI
14 Jul 2023 14:47 #275418
by cakeslob
Replied by cakeslob on topic Remora - Rpi Software Stepping Using External Microcontroller via SPI
The following user(s) said Thank You: virencq
Please Log in or Create an account to join the conversation.
14 Jul 2023 16:24 #275420
by virencq
Replied by virencq on topic Remora - Rpi Software Stepping Using External Microcontroller via SPI
Bravo, your default config working.
Thanks a lot.
Now I have to run my existing lathe config
Thanks a lot.
Now I have to run my existing lathe config
Please Log in or Create an account to join the conversation.
14 Jul 2023 17:12 #275422
by cakeslob
Replied by cakeslob on topic Remora - Rpi Software Stepping Using External Microcontroller via SPI
Excellent
Its for a lathe? that works out because I only configured it for 2 axis. I also and configuring for a lathe, so you can look here at some sample nucleo configs ive been using.
Its for a lathe? that works out because I only configured it for 2 axis. I also and configuring for a lathe, so you can look here at some sample nucleo configs ive been using.
Please Log in or Create an account to join the conversation.
14 Jul 2023 18:01 #275425
by virencq
Replied by virencq on topic Remora - Rpi Software Stepping Using External Microcontroller via SPI
I have weird situation in compiling.
I have downloaded latest modified staticZE repo.
Using mbed os 6.
Even without editing any file, compiled.bin file doesn't comes out of E-stop.
But your compiled .bin from repo, working.
Have yet to check IO's.
I have downloaded latest modified staticZE repo.
Using mbed os 6.
Even without editing any file, compiled.bin file doesn't comes out of E-stop.
But your compiled .bin from repo, working.
Have yet to check IO's.
Please Log in or Create an account to join the conversation.
14 Jul 2023 19:31 #275433
by cakeslob
Replied by cakeslob on topic Remora - Rpi Software Stepping Using External Microcontroller via SPI
make sure you are using NUCLEO 446ZE as your target, I will download and compile test after work
Please Log in or Create an account to join the conversation.
15 Jul 2023 08:08 #275495
by virencq
Replied by virencq on topic Remora - Rpi Software Stepping Using External Microcontroller via SPI
Yes, target is Nucleo 446ZE.
Nothing modified in code
Nothing modified in code
Please Log in or Create an account to join the conversation.
15 Jul 2023 13:54 #275508
by cakeslob
Replied by cakeslob on topic Remora - Rpi Software Stepping Using External Microcontroller via SPI
Ok, I just downloaded and compiled the repo and it works fine. Set the build profile to "Release". It doesnt seem to work with debug or develop,
Please Log in or Create an account to join the conversation.
15 Jul 2023 14:23 #275511
by virencq
Replied by virencq on topic Remora - Rpi Software Stepping Using External Microcontroller via SPI
Selecting release also, same result.
E-stop not working
E-stop not working
Please Log in or Create an account to join the conversation.
15 Jul 2023 14:41 - 15 Jul 2023 17:10 #275513
by virencq
Replied by virencq on topic Remora - Rpi Software Stepping Using External Microcontroller via SPI
Selecting release, deleted build folder. Recomplile did the trick.
axis gui comes out of e-stop, over local compiled .bin file.
Thanks a lot.
Let me try with my board.coñfig.
compiled .bin working.
As I said earlier currently I am running lathe with phase A and z index.
Running satisfactorily with double step implementation (thanks to ttzr).
In this setup only lags encoder feedbak at higher speed. Mine works perfectly upto 500 rpm.
I have read remora has higher speed encoder.
Will try to implement this.
Before going to actual machine, I attached nema 23 with nucleo 446ZE.
What I have observed is x axis motor takes time to reach commanded position. May be this is due to ferror settings.
In bare gpio I have ferror 1.
Min-ferror .02.
In remora ferror 8
Min-ferror 4.
Also motor stalls beyond max-velocity 60 in .ini.
Will update after more trials.
axis gui comes out of e-stop, over local compiled .bin file.
Thanks a lot.
Let me try with my board.coñfig.
compiled .bin working.
As I said earlier currently I am running lathe with phase A and z index.
Running satisfactorily with double step implementation (thanks to ttzr).
In this setup only lags encoder feedbak at higher speed. Mine works perfectly upto 500 rpm.
I have read remora has higher speed encoder.
Will try to implement this.
Before going to actual machine, I attached nema 23 with nucleo 446ZE.
What I have observed is x axis motor takes time to reach commanded position. May be this is due to ferror settings.
In bare gpio I have ferror 1.
Min-ferror .02.
In remora ferror 8
Min-ferror 4.
Also motor stalls beyond max-velocity 60 in .ini.
Will update after more trials.
Last edit: 15 Jul 2023 17:10 by virencq.
Please Log in or Create an account to join the conversation.
15 Jul 2023 17:31 - 15 Jul 2023 17:36 #275519
by cakeslob
Replied by cakeslob on topic Remora - Rpi Software Stepping Using External Microcontroller via SPI
for highspeed encoder I have it set to PB8 PB9 and PA_12 for index, these cannot be changed
github.com/cakeslob/Remora-docs/blob/nuc...46.rst#hardware-pins
this is the sample config I made for the highspeed encoder
github.com/cakeslob/Remora/tree/nucleo_s...ples/remora-xy_nuc_q
"What I have observed is x axis motor takes time to reach commanded position."
Looks like I need to add to my sample config, add these deadband lines to your hal and ini
github.com/cakeslob/Remora/blob/develop/...-loop/remora.hal#L50
github.com/cakeslob/Remora/blob/develop/...-loop/remora.ini#L96
"Running satisfactorily with double step implementation (thanks to ttzr)."
I dont exactly know what this is
also, I forgot to mention, this version is a little different than main remora, youll need to install this component included in the repo.
github.com/cakeslob/Remora/tree/nucleo_s...NC/Components/Remora
github.com/cakeslob/Remora-docs/blob/nuc...46.rst#hardware-pins
this is the sample config I made for the highspeed encoder
github.com/cakeslob/Remora/tree/nucleo_s...ples/remora-xy_nuc_q
"What I have observed is x axis motor takes time to reach commanded position."
Looks like I need to add to my sample config, add these deadband lines to your hal and ini
github.com/cakeslob/Remora/blob/develop/...-loop/remora.hal#L50
github.com/cakeslob/Remora/blob/develop/...-loop/remora.ini#L96
"Running satisfactorily with double step implementation (thanks to ttzr)."
I dont exactly know what this is
also, I forgot to mention, this version is a little different than main remora, youll need to install this component included in the repo.
github.com/cakeslob/Remora/tree/nucleo_s...NC/Components/Remora
Last edit: 15 Jul 2023 17:36 by cakeslob.
Please Log in or Create an account to join the conversation.
- Hardware & Machines
- Computers and Hardware
- Remora - Rpi Software Stepping Using External Microcontroller via SPI
Time to create page: 0.147 seconds