- Posts: 146
- Thank you received: 26
Remora - ethernet NVEM / EC300 / EC500 cnc board
- jtrantow
- Offline
- Premium Member
-
Less
More
6 months 1 week ago #345750
by jtrantow
Replied by jtrantow on topic Remora - ethernet NVEM / EC300 / EC500 cnc board
I have a working laser config at
github.com/JTrantow/configs/tree/main/router3
This directory also works as router so look at laser.hal and laser.ini.
motion.analog-out-00 is the laser output pin from the gcode. I use a mesa card with pwm but I've also used the linux pwm with no problems.
If you use F360 the following post processor will work for simple laser cuts and is compatible with lightburn generated gcode.
github.com/JTrantow/LinuxCNC-F360-Cutting-Post-Processor
motion.analog-out-00 is the laser output pin from the gcode. I use a mesa card with pwm but I've also used the linux pwm with no problems.
If you use F360 the following post processor will work for simple laser cuts and is compatible with lightburn generated gcode.
github.com/JTrantow/LinuxCNC-F360-Cutting-Post-Processor
Please Log in or Create an account to join the conversation.
- nighteagle
- Offline
- Premium Member
-
Less
More
- Posts: 80
- Thank you received: 8
6 months 1 week ago - 6 months 5 days ago #345912
by nighteagle
Replied by nighteagle on topic Remora - ethernet NVEM / EC300 / EC500 cnc board
Hello,
I'm trying to connect a Novusun NVEM with an STM32F207 CPU to LinuxCNC on a small PC (not a Raspberry Pi) for a mini lathe – just the X and Z axes, no limit switches, etc. Very simple.
I'm using just two TB6600 stepper drivers with 1.8 degree and 1.8A stepper motors, connected according to the many wiring diagrams I've found online.
So, Pulse+ and Dir+ are connected together to COM+ on the NVEM, and then Pulse- and Dir- are connected to the corresponding NVEM pins.
Everything is powered with 24V, including the stepper drivers and the NVEM.
All the LEDs are lit, so everything is receiving power.
What I've done so far:
1. Installed LinuxCNC on the PC
2. Flashed the Remora firmware for the NVEM
>> Source DOC: remora-docs.readthedocs.io/en/latest/har...ml#controller-boards
>> Firmware for STM32F207:
3. LinuxCNC Ethernet configured on 10.10.10.100/24
>> Ping to the NVEM is running
4. As per the source DOC, the following steps were performed to get Remora from GitHub onto the PC:
>> I noticed that some things were missing, including the basic configuration file "remora-nvem-basic" and the component file "Remora-nv".
I then copied these files to the appropriate folders on my PC.
5. Installing the components with halcompile:
>> It was noticed that "Remora-nv" was missing, so I installed it again:
6. I copied the example configurations into the LinuxCNC folder, along with "remora-nvem-basic".
>> After starting LinuxCNC, I can select various Remora configurations to start.
7. Uploading the configuration to the NVEM - for this, I had to install TFTP:
- via a workaround involving the installation of pip3, etc., since some things are not installed by default in LinuxCNC.
>> When I run the upload script, I'm in the same folder as the simple config.txt file from "remora-nvem-basic":
>> This seems to be working so far.
8. Starting LinuxCNC and selecting NVEM Basic, which should match the Config.txt file. Everything starts without an error message.
I can move the axis - looks like i can get further to calibrate steppers and other stuff.
Now i look for the correct way to adapt inputs in my hal.
Hope other people will help this to bring the NVEM to live with LinuxCNC.
Regards,
I'm trying to connect a Novusun NVEM with an STM32F207 CPU to LinuxCNC on a small PC (not a Raspberry Pi) for a mini lathe – just the X and Z axes, no limit switches, etc. Very simple.
I'm using just two TB6600 stepper drivers with 1.8 degree and 1.8A stepper motors, connected according to the many wiring diagrams I've found online.
So, Pulse+ and Dir+ are connected together to COM+ on the NVEM, and then Pulse- and Dir- are connected to the corresponding NVEM pins.
Everything is powered with 24V, including the stepper drivers and the NVEM.
All the LEDs are lit, so everything is receiving power.
What I've done so far:
1. Installed LinuxCNC on the PC
2. Flashed the Remora firmware for the NVEM
>> Source DOC: remora-docs.readthedocs.io/en/latest/har...ml#controller-boards
>> Firmware for STM32F207:
Code:
https://github.com/scottalford75/Remora-NVEM/blob/main/Remora-NVEM-STM32/Release/Remora-NVEM.bin
3. LinuxCNC Ethernet configured on 10.10.10.100/24
>> Ping to the NVEM is running
4. As per the source DOC, the following steps were performed to get Remora from GitHub onto the PC:
Code:
pi@raspberry:~ $ mkdir ~/linuxcnc
Code:
pi@raspberry:~ $ cd ~/linuxcnc
Code:
pi@raspberry:~ $ git clone https://github.com/scottalford75/Remora
Code:
pi@raspberry:~ $ cd Remora/LinuxCNC/Components
I then copied these files to the appropriate folders on my PC.
5. Installing the components with halcompile:
Code:
pi@raspberry:~ $ sudo halcompile --install ./Remora-eth/remora-eth-3.0.c
Code:
pi@raspberry:~ $ sudo halcompile --install ./Remora-spi/remora-spi.c
Code:
pi@raspberry:~ $ sudo halcompile --install ./Remora/remora_lpc.c
Code:
pi@raspberry:~ $ sudo halcompile --install ./NVMPG/nvmpg.c
Code:
pi@raspberry:~ $ sudo halcompile --install ./PIDcontroller/PIDcontroller.c
Code:
pi@raspberry:~ $ sudo halcompile --install ./PRUencoder/PRUencoder.c
>> It was noticed that "Remora-nv" was missing, so I installed it again:
Code:
sudo halcompile --install ./Remora-nv/Remora-nv.c
6. I copied the example configurations into the LinuxCNC folder, along with "remora-nvem-basic".
>> After starting LinuxCNC, I can select various Remora configurations to start.
7. Uploading the configuration to the NVEM - for this, I had to install TFTP:
Code:
pip3 install tftpy
- via a workaround involving the installation of pip3, etc., since some things are not installed by default in LinuxCNC.
>> When I run the upload script, I'm in the same folder as the simple config.txt file from "remora-nvem-basic":
Code:
python3 upload_config.py config.txt
>> This seems to be working so far.
8. Starting LinuxCNC and selecting NVEM Basic, which should match the Config.txt file. Everything starts without an error message.
I can move the axis - looks like i can get further to calibrate steppers and other stuff.
Now i look for the correct way to adapt inputs in my hal.
Hope other people will help this to bring the NVEM to live with LinuxCNC.
Regards,
Last edit: 6 months 5 days ago by nighteagle.
Please Log in or Create an account to join the conversation.
- nighteagle
- Offline
- Premium Member
-
Less
More
- Posts: 80
- Thank you received: 8
6 months 5 days ago #345975
by nighteagle
Replied by nighteagle on topic Remora - ethernet NVEM / EC300 / EC500 cnc board
Hello,
have found out the Problem - have flashed another bin gain - now 4 different Versions in the same project.
Have edit the above Post for others looking a way to bring this thing to work.
have found out the Problem - have flashed another bin gain - now 4 different Versions in the same project.
Have edit the above Post for others looking a way to bring this thing to work.
Please Log in or Create an account to join the conversation.
- jean
- Offline
- New Member
-
Less
More
- Posts: 1
- Thank you received: 0
5 months 3 weeks ago #346184
by jean
Replied by jean on topic Remora - ethernet NVEM / EC300 / EC500 cnc board
Hello, good afternoon. Could someone help me load the .bin firmware onto the EC500 RT1052? I've tried several programs and commands, but without success. I have the Chinese Stlink V2 and a Raspberry Pi Pico.
Please Log in or Create an account to join the conversation.
- RJB510
- Offline
- New Member
-
Less
More
- Posts: 6
- Thank you received: 0
4 months 2 weeks ago #347041
by RJB510
Replied by RJB510 on topic Remora - ethernet NVEM / EC300 / EC500 cnc board
Are you still stuck? I have some python scripts to load the firmware onto the board using Windows and powershell. Sometimes you need to power cycle the board a few times to validate that it connects.
Please Log in or Create an account to join the conversation.
- RJB510
- Offline
- New Member
-
Less
More
- Posts: 6
- Thank you received: 0
4 months 2 weeks ago - 4 months 2 weeks ago #347042
by RJB510
Replied by RJB510 on topic Remora - ethernet NVEM / EC300 / EC500 cnc board
Hey everyone,
Has anyone been successful in configuring an XYYZ setup and would be happy to share their .ini and .hal files, and possibly the EC500 JSON config file (if modified)?
I've reviewed the suggested example files and mine seem to be correct for a dual Y axis motor gantry, but it's not working correctly and I'm chasing my tail trying to figure it out, so time to ask for some help! If possible!
Edit: All good, i got it working with a fair bit of trial and error.
Has anyone been successful in configuring an XYYZ setup and would be happy to share their .ini and .hal files, and possibly the EC500 JSON config file (if modified)?
I've reviewed the suggested example files and mine seem to be correct for a dual Y axis motor gantry, but it's not working correctly and I'm chasing my tail trying to figure it out, so time to ask for some help! If possible!
Edit: All good, i got it working with a fair bit of trial and error.
Last edit: 4 months 2 weeks ago by RJB510.
Please Log in or Create an account to join the conversation.
Time to create page: 0.580 seconds