Remora - Rpi Software Stepping Using External Microcontroller via SPI

More
5 years 2 months ago - 5 years 2 months ago #216678 by Zuo99

Thank you Scott for your thorough reply, and many thanks also for this project.
  • inversion: I still didnt update the firmware with the new content but tried to use 1 instead of "True" and indeed the inversion works correctly. 
  • Steprate: ok so the maximum theoretical steprate Is coeherent with my experience, that's ok since I understand that your main target is 3D printers, the ability to use your project with a mill also very interesting. I lowered the steps per mm in the drivers configuration and lowered the maximum speeds and now the system is behaving Better. I still have to tinker with linuxcnc settings as I still have some overshoot problems.
  • Feature request: it would be nice to be able to access board sd card trough USB as a generic disk storage. That would simplify initial configuration testings, for example for headless setups like mine, since I'm using vnc and the sd is not very accessible. The file would be accessibile directly trough os.
Hi muvideo
I am also trying to use REMORA to control the milling machine, but there are still some problems. I don't know if it is convenient for you to publish and upload your ini and HAL files. At the same time, I want to know about some of your devices such as the connection of limit switches.
thank you very much for your help.
Zuo
Last edit: 5 years 2 months ago by Zuo99. Reason: something wrong

Please Log in or Create an account to join the conversation.

More
5 years 2 months ago - 5 years 2 months ago #216688 by gtt38
I have a mks SBASE but the solder jumper was too difficult for me and the noise of the DRV88xx too. But I have a NXP LPC1768 test board and i wanted to try the remora code and it works perfectly. Thanks Scott now we can use a MCU as a PRU.
[img



[img
Last edit: 5 years 2 months ago by gtt38.

Please Log in or Create an account to join the conversation.

More
5 years 2 months ago #216697 by Aaroncnc

Zuo99 post=216678 userid=29932

Hi muvideo
I am also trying to use REMORA to control the milling machine, but there are still some problems. I don't know if it is convenient for you to publish and upload your ini and HAL files. At the same time, I want to know about some of your devices such as the connection of limit switches. thank you very much for your help. Zuo

There is an example on the documents for a home limit switch combo. scroll to the bottom.
  remora-docs.readthedocs.io/en/latest/software/hal-examples.html

quick example for limit switch and home


SD config
Code:
{ "Thread": "Servo", "Type": "Digital Pin", "Comment": "x limit and home", "Pin": "1.29", "Mode": "input", "Modifier": "Pull None", "Invert": "False", "Data Bit": 0 },
 
Hal file
Code:
net X-min remora.input.0 => joint.0.home-sw-in joint.0.neg-lim-sw-in

Note that the data bit must be set equal to the remora.input.# to link

more info about the config file here
remora-docs.readthedocs.io/en/latest/fir...tup-Config-File.html

Please Log in or Create an account to join the conversation.

More
5 years 2 months ago - 5 years 2 months ago #216700 by Cncninja
I haven't had much time to dive into the Hal file to just have a plug and play MKS1.4turbo ... this seems a common board and would not be bad to just get a file to just match what is hard wired on the board already like the home, probe, heater/m3 spindle. This may be a bit slow for my mill, but i have a good 30 printers or so i can try it on. one thing that would be cool is 2209 auto home. The 2209's have the data pin that goes high when stalled (home) this can be feed right back into the home input, the only problem is the enn has to be toggled to make it move again.
Last edit: 5 years 2 months ago by Cncninja.

Please Log in or Create an account to join the conversation.

More
5 years 2 months ago #216704 by Aaroncnc
Cncninja

Its something i have been thinking about.
If i could get more time i want to create a standard image with a config setup for the basic use cases. mill, 3d printer, laser

the idea would be someone could just download the rpi4 image and put it on a sd card and copy a file onto the sd card of the skr and be off to the races.
No installing or anything.

Please Log in or Create an account to join the conversation.

More
5 years 2 months ago #216734 by gtt38
I have a STM32F407VGT6, I want now try the remora STM32 code.
[img

The library looks old (stm32plus) and i'm using this repo :
github.com/mhelmarc/Remora-STM32
and this library :
github.com/mhelmarc/stm32plus/tree/musings
 

Please Log in or Create an account to join the conversation.

Time to create page: 1.080 seconds
Powered by Kunena Forum