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

More
31 May 2025 13:27 #329447 by meister
another option would be shiftregisters,
this works great for DC-PWM signals and also for not too fast encoders, but you should test it first.
my favorite at the moment is the Devantech iceWerx iCE40-HX8K, which has many IO's and can also be soldered well by hand

www.youtube.com/shorts/BiJppd6_cA4

github.com/multigcs/rio-motoman
The following user(s) said Thank You: epineh

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

More
31 May 2025 20:32 #329469 by meister
The following user(s) said Thank You: tommylight

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

More
01 Jun 2025 00:20 - 01 Jun 2025 00:22 #329480 by epineh
The ICE40 module is very nice, unfortunately for us living in Australia the $34 module has an $86 shipping fee, then converted to AUD it will be close to $190 AUD...the ECP5 kit will land here for about $100, and has a lot more IO. 

When you say programming the ECP5 is slow, is that via USB within Riocore and are we talking minutes or half an hour ? I can stock extra coffee ! 

Cheers.
Russell.
Last edit: 01 Jun 2025 00:22 by epineh.

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

More
01 Jun 2025 10:32 #329502 by meister
don't really remember, maybe 1 minute, but a USB blaster for 5USD is worth it
The following user(s) said Thank You: epineh

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

More
01 Jun 2025 11:38 - 01 Jun 2025 11:38 #329505 by epineh
Righto then, hang the expense I'll order myself a USB blaster as well. 
Last edit: 01 Jun 2025 11:38 by epineh.

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

More
04 Jun 2025 05:56 #329664 by meister
got the Panasonic encoder up and running :)
youtube.com/shorts/X3PZUS_JLVA
The following user(s) said Thank You: besriworld

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

More
05 Jun 2025 16:45 #329754 by meister
The following user(s) said Thank You: tommylight, besriworld, kzali

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

More
06 Jun 2025 20:41 #329829 by meister
thanks Russell for the inspiration :)

github.com/multigcs/riocore/tree/dev/riocore/plugins/riosub

but it will be a long time before it works properly.
The following user(s) said Thank You: besriworld

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

More
07 Jun 2025 03:42 #329860 by epineh
Hmm I am usually more of a bad influence than inspiring but I'll take it haha.

That sounds awesome, are you aiming at using this for faster inputs/outputs that aren't suitable for shift registers/modbus/I2C ?

So theoretically if someone had a 6 axis closed loop to the controller milling machine the second FPGA could be used for the encoder feedback and maybe some extra IO?
The following user(s) said Thank You: meister

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

More
10 Jun 2025 07:36 #330068 by meister
yes, the advantage over shiftreg is that the evaluation of e.g. encoders is already carried out on the external fpga and only the finished values are transferred

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

Time to create page: 0.167 seconds
Powered by Kunena Forum