LinuxCNC-RIO - RealtimeIO for LinuxCNC based on FPGA (ICE40 / ECP5)

More
18 Dec 2023 18:08 #288503 by meister

ws2812 driver update:

www.youtube.com/shorts/wu29vGSSK_0
RGB CNC Machines ! :)
Sehr schon, danke.
 

Hey, all modern machines require RGB lights
The following user(s) said Thank You: tommylight

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

More
20 Dec 2023 12:16 #288661 by meister

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

More
25 Dec 2023 10:46 - 25 Dec 2023 11:47 #289026 by Zayoo

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. 

 

Last edit: 25 Dec 2023 11:47 by Zayoo.
The following user(s) said Thank You: meister

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

More
27 Dec 2023 08:52 #289150 by meister

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. 

 

 

cool !
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 or Create an account to join the conversation.

More
27 Dec 2023 10:40 #289160 by Zayoo
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 :)

The following user(s) said Thank You: meister

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

More
27 Dec 2023 21:07 #289202 by meister
​LinuxCNC-RIO with CoreXY and Laser on PWM-Output

​https://youtube.com/shorts/ANdgskkGQqc​
The following user(s) said Thank You: tommylight

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

More
03 Jan 2024 13:19 - 03 Jan 2024 13:21 #289655 by meister
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.
Last edit: 03 Jan 2024 13:21 by meister.
The following user(s) said Thank You: tommylight, besriworld, Zayoo

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

More
12 Jan 2024 12:32 #290500 by meister
Now the WLED stuff makes more sense and needs only one pin:
www.youtube.com/shorts/jnna9jJnXfs

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

More
15 Jan 2024 19:35 #290788 by tuxcnc
Are somebody got  HAL file for lathe (spindle encoder) ?

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

More
16 Jan 2024 09:24 #290845 by meister
no, sorry, not yet.

I can try to build one, but need more information about your system

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

Time to create page: 0.122 seconds
Powered by Kunena Forum