Remora - ethernet NVEM / EC300 / EC500 cnc board

More
23 Feb 2022 20:46 #235649 by scotta
Hi, 

The Remora documentation can be found at remora-docs.readthedocs.io/en/latest/ . I really need to update them as there has been further development on Ethernet implementation.

Remora uses a simple protocol which is the same for SPI or Ethernet.

I'll need to investigate VS-Code with Mbed. The last time I used it was with PlatformIO.
 

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

More
11 Mar 2022 06:11 #236919 by scotta
Remora-NVEM is now at a point for release candidate testing. All features of the board are now available including the spindle 0-10V analogue out. I think I've killed the PWM to 0-10V converter IC on my board just when I was finally testing this. So it would be great for someone to check this out. The analogue out is mapped to SP[0].

github.com/scottalford75/Remora-NVEM

A precompiled binary file available in the Firmware directory. Use an ST-Link to flash to the board. Development thread <forum.linuxcnc.org/18-computer/44828-rem...ernet-nvem-cnc-board>

There is also a new LinuxCNC component in the LinuxCNC directory in the Remora Ethernet feature branch <github.com/scottalford75/Remora/tree/fea...omponents/Remora-eth>

The firmware has been developed in STM32CubeIDE. Please note that binary files produced under the Debug profile will crash the board due to the heavy additional debug code included. Use a release profile, or disable / remove Modules from the Base thread when doing testing or development requiring debug capabilities.
The following user(s) said Thank You: tommylight, tivoi, royka, undingen

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

More
11 Mar 2022 12:41 #236930 by andypugh
Is the manufacturer aware that their board is now LinuxCNC-compatible?
The following user(s) said Thank You: tommylight

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

More
11 Mar 2022 21:22 #236960 by scotta

Is the manufacturer aware that their board is now LinuxCNC-compatible?

Hi Andy, 

I found a hotmail address for Novusun and have sent them an email. It will be interesting to see if they respond and are interested in this.
The following user(s) said Thank You: tommylight

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

More
13 Mar 2022 23:27 - 20 Mar 2022 00:27 #237162 by royka
Cool, I've ordered one and the st-link will probably take a week. Then I could test the 0-10v pwm output
Edit: I received the board today and flashed the Remora firmware.
I would like to try it out first on my pc by ethernet. 

I'll take a look at it this weekend, I'm btw new to LinucCNC, is there a place where I could find how to configure LinuxCNC to work with this board/firmware?
Last edit: 20 Mar 2022 00:27 by royka.
The following user(s) said Thank You: Pro_El, scotta

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

More
23 Mar 2022 18:38 - 23 Mar 2022 21:09 #238124 by royka
The steppers are working, but I couldn't get the 0-10v output to work. I've tried to insert the lines like in your manual, but had to add 2 lines to prevent getting errors:
loadrt scale count=1
loadrt abs count=1
addf scale.0 servo-thread
addf abs.0 servo-thread
setp scale.0.gain 1
net spindle-speed-scale spindle.0.speed-out => scale.0.in
net spindle-speed-abs scale.0.out => abs.0.in
net spindle-speed-DAC abs.0.out => remora.SP.0

With these lines I don't see the spindle control buttons. Then I copy pasted some lines which created the buttons, but these didn't control the output. To be honest I've no idea what I'm doing, just trying some things. Could you help me?

Edit: Ok I think I've found the right settings:
loadrt scale count=1
loadrt lowpass count=1
loadrt abs count=1
addf scale.0 servo-thread
addf lowpass.0 servo-thread
addf abs.0 servo-thread
setp scale.0.gain 0.00416666667
net spindle-cmd-rpm spindle.0.speed-out => scale.0.in
net spindle-cmd-rpm-abs scale.0.out => abs.0.in
net spindle-speed-DAC abs.0.out => remora.SP.0

With these lines is the output at zero 10v and at 50% it's almost 5v. So the 0-10v is working
Last edit: 23 Mar 2022 21:09 by royka. Reason: It's working
The following user(s) said Thank You: scotta, Domi, spdbmp927

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

More
25 Mar 2022 21:33 #238377 by scotta
Hi, super happy that you've got the NVEM board up and running with Remora!! And thanks for developing the HAL for the spindle.

It would be great to develop the config (INI and HAL) files for the board so it's a simple for people to get up and going.

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

More
28 Mar 2022 17:58 #238537 by royka
Thank you for sharing your projects!
That's a great idea, due to covid and still in progress of building the cnc machine (almost finished), it will take a few days however. But I'll share it for sure.

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

More
29 Mar 2022 07:18 #238572 by Domi
Hello. I'm new here and I need advice. I bought an NVEM + st-link converter. I am already building the 3rd cutter and I am interested in the NVEM board. But I never programmed. Can you explain to me in more detail how to make Flash? Which file to place and how? Until now, I've only used the LPT port where it's easy. I will be grateful for the detailed procedure and any advice. Alternatively, we can agree on some payment for the help. And thank you for this thread. It's great that someone got into it. Thanks. Domi

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

More
29 Mar 2022 19:04 - 29 Mar 2022 19:33 #238637 by royka
Here is what I did:
- Connect the st-link as shown here (Don't need external power)
forum.linuxcnc.org/18-computer/44828-rem...board?start=0#231852

- Then flash "Remora-NVEM.bin" with the st-link utility
Open the bin file --> Target - connect --> Target - Program & verify
www.st.com/en/development-tools/stsw-link004.html#get-software
github.com/scottalford75/Remora-NVEM/tree/main/Release
(STM32CubeProgrammer didn't work for me).

- Then compile the hal component "sudo halcompile --install remora-eth.c"
github.com/scottalford75/Remora/tree/fea...omponents/Remora-eth

- You could use the example but you have to change in line 12, 13 and 14:
remora.SPI-enable --> remora.enable
remora.SPI-reset --> remora.reset
remora.SPI-status --> remora.status
And I had to comment out the joint 3 setup (I suppose this is the 4th axis?)
github.com/scottalford75/Remora/blob/fea...a-eth/remora-eth.hal

- Set your ethernet adapter at a fixed ip 10.10.10.11
I've never had an complete working setup yet, because as I said I'm still in the progress of building. But this was enough for me to make it move.

Tip: The NVEM gives the pulses on the - so the + could be connected together on your stepper drivers
Last edit: 29 Mar 2022 19:33 by royka.
The following user(s) said Thank You: spdbmp927

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

Time to create page: 0.286 seconds
Powered by Kunena Forum