- Posts: 803
- Thank you received: 0
LinuxCNC-RIO - RealtimeIO for LinuxCNC based on FPGA (ICE40 / ECP5)
2 years 10 months ago #288503
by meister
Replied by meister on topic LinuxCNC-RIO - RealtimeIO for LinuxCNC based on FPGA (ICE40 / ECP5)
Hey, all modern machines require RGB lights
ws2812 driver update:
www.youtube.com/shorts/wu29vGSSK_0
RGB CNC Machines !
Sehr schon, danke.
Please Log in to join the conversation.
2 years 10 months ago #288661
by meister
Replied by meister on topic LinuxCNC-RIO - RealtimeIO for LinuxCNC based on FPGA (ICE40 / ECP5)
Please Log in to join the conversation.
2 years 10 months ago #289026
by Zayoo
Replied by Zayoo on topic LinuxCNC-RIO - RealtimeIO for LinuxCNC based on FPGA (ICE40 / ECP5)
Thank you for help.
Currently my setup work on bench with serial communication of the box, just small adjustment of baud rate in rio.v and adjusting port in rio.h!
Still lot to do.
Hi Zayoo,
nice !
Are you using a Raspberry with Serial on GPIO or an USB-Serial-Adapter ?
I'm using FTDI232 USB to serial converter. My setup is running on VirtualBox on desk PC.
Please Log in to join the conversation.
2 years 10 months ago #289150
by meister
i have had no luck with any USB connections (UART2USB/SPI2USB).
everything works so far, but I always get 'joint follow errors' during movements
but I also have the same problem with direct UART connection on the Raspberry (/dev/AMA0)
Replied by meister on topic LinuxCNC-RIO - RealtimeIO for LinuxCNC based on FPGA (ICE40 / ECP5)
cool !
Thank you for help.
Currently my setup work on bench with serial communication of the box, just small adjustment of baud rate in rio.v and adjusting port in rio.h!
Still lot to do.
Hi Zayoo,
nice !
Are you using a Raspberry with Serial on GPIO or an USB-Serial-Adapter ?
I'm using FTDI232 USB to serial converter. My setup is running on VirtualBox on desk PC.
i have had no luck with any USB connections (UART2USB/SPI2USB).
everything works so far, but I always get 'joint follow errors' during movements
but I also have the same problem with direct UART connection on the Raspberry (/dev/AMA0)
Please Log in to join the conversation.
2 years 10 months ago #289160
by Zayoo
Replied by Zayoo on topic LinuxCNC-RIO - RealtimeIO for LinuxCNC based on FPGA (ICE40 / ECP5)
This days I will switch to real PC and test there. On VirtualBox I have the same challenge with joint follow errors. But I manage to establish control of DC motor with feedback, which is huge success for me 
Please Log in to join the conversation.
2 years 10 months ago #289202
by meister
Replied by meister on topic LinuxCNC-RIO - RealtimeIO for LinuxCNC based on FPGA (ICE40 / ECP5)
LinuxCNC-RIO with CoreXY and Laser on PWM-Output
https://youtube.com/shorts/ANdgskkGQqc
https://youtube.com/shorts/ANdgskkGQqc
Please Log in to join the conversation.
2 years 9 months ago #289655
by meister
Replied by meister on topic LinuxCNC-RIO - RealtimeIO for LinuxCNC based on FPGA (ICE40 / ECP5)
I throw everything away
and start something new
ok, it's not that bad, I'm just doing a 'complete' rewrite of the build system.
The verilog code doesn't change much (a little naming)
The config-files will also only change minimally, but I already have an update script for that (plugin names and pin configuration).
Most of it is already working again, at the moment I'm working on the Hal component, which is now completely generated.
It was definitely necessary at some point, everything has grown so quickly and I've only ever tried to squeeze new functions into the existing structure,
it all gets messy very quickly.
New plugins can be integrated more easily, the whole plugin structure and pin assignment becomes more standardised
the Hal component is no longer based on the Remora sources but is completely newly generated and specialised for RIO
the interface (between LinuxCNC and FPGA) will be leaner and offers more possibilities (not everything has to be 32bit)
I think I can release it next week and you can build running setups with it,
I have also created several test setups to test all plugins.
and start something new
ok, it's not that bad, I'm just doing a 'complete' rewrite of the build system.
The verilog code doesn't change much (a little naming)
The config-files will also only change minimally, but I already have an update script for that (plugin names and pin configuration).
Most of it is already working again, at the moment I'm working on the Hal component, which is now completely generated.
It was definitely necessary at some point, everything has grown so quickly and I've only ever tried to squeeze new functions into the existing structure,
it all gets messy very quickly.
New plugins can be integrated more easily, the whole plugin structure and pin assignment becomes more standardised
the Hal component is no longer based on the Remora sources but is completely newly generated and specialised for RIO
the interface (between LinuxCNC and FPGA) will be leaner and offers more possibilities (not everything has to be 32bit)
I think I can release it next week and you can build running setups with it,
I have also created several test setups to test all plugins.
Please Log in to join the conversation.
2 years 9 months ago #290500
by meister
Replied by meister on topic LinuxCNC-RIO - RealtimeIO for LinuxCNC based on FPGA (ICE40 / ECP5)
Now the WLED stuff makes more sense and needs only one pin:
www.youtube.com/shorts/jnna9jJnXfs
www.youtube.com/shorts/jnna9jJnXfs
Please Log in to join the conversation.
2 years 9 months ago #290788
by tuxcnc
Replied by tuxcnc on topic LinuxCNC-RIO - RealtimeIO for LinuxCNC based on FPGA (ICE40 / ECP5)
Are somebody got HAL file for lathe (spindle encoder) ?
Please Log in to join the conversation.
2 years 9 months ago #290845
by meister
Replied by meister on topic LinuxCNC-RIO - RealtimeIO for LinuxCNC based on FPGA (ICE40 / ECP5)
no, sorry, not yet.
I can try to build one, but need more information about your system
I can try to build one, but need more information about your system
Please Log in to join the conversation.
Time to create page: 0.238 seconds
