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

More
23 Jul 2024 07:49 #305894 by meister
@kzali

have add new board config for the tangoboard, but not complete for now:

PYTHONPATH=. bin/rio-setup riocore/configs/Tangoboard/config.json

 
Attachments:

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

More
23 Jul 2024 08:12 #305896 by kzali
wow you are truly awsome

Many thanks
The following user(s) said Thank You: meister

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

More
26 Jul 2024 07:54 - 26 Jul 2024 07:55 #306061 by rthorntn
Awesome work!

I gotta ask...store.touchdro.com/... it's really expensive for what it is and the shipping cost is wild.  But I want something like it...

So can I get funky DRO functionality (not the Android app stuff) with RIO, like it would be cool to plug my lathe and mill machines SINO glass scales into RIO and also have local multi-segment displays beside each machine and a headless Pi somewhere...?
Last edit: 26 Jul 2024 07:55 by rthorntn.
The following user(s) said Thank You: meister

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

More
26 Jul 2024 08:14 - 26 Jul 2024 08:16 #306063 by meister
Thanks !

i have a very cheap Caliper with digital readout like this:
ideaengineering.us/?ec_store=pageid1904m...er100-700-06-dro-kit

that's on my to-do list, to read them out and integrate them into RIO

it would be nice to support all kinds of 'RS-422 (differential) and TTL (single-ended) glass and magnetic DRO scales' things but i have no to try it.

if you have this:
store.touchdro.com/products/touchdro-dro-adapter-kit
i think it is easy to attach a display to the esp32 if you only want to see the measured values.

this scales seem to have an A/B output like a rotary encoder, which could even work directly on RIO,
but unfortunately I can't test it
www.vevor.de/lineare-skalierung-c_10122/...scale-p_010550861161

i think there are cheaper and simpler options when it comes to just displaying the values, i don't think RIO is worth it for that

 
Last edit: 26 Jul 2024 08:16 by meister.

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

More
26 Jul 2024 11:03 #306066 by cornholio
Yeah I’d agree with Ollie, if you just want a DRO there are better options that give more functions.
And from what I remember and how I did it, the Touch DRO circuit is easy enough to build up on some vero board.
Vevor au has a 3 axis kit for about $110 and a 2 axis kit for just under $100 and that includes scales and the head unit. For that price I wouldn’t mess around with a RPi and Linuxcnc, and also mate you’re really gunna think how many beer tokens you’ve spent trying to save money.

And in all honestly it’s not all that difficult to operate a lathe without a DRO.

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

More
26 Jul 2024 21:11 #306121 by meister
No comment's, even in the video :P

The following user(s) said Thank You: tommylight, samueldutradasilva, Bongo

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

More
26 Jul 2024 23:45 #306131 by tommylight

No comment's, even in the video :P

Well, i did leave a comment there... :)
Very nice, thank you.

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

More
27 Jul 2024 00:14 #306135 by cornholio
I seconded that, and to be fair I just got online (and got up)

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

More
31 Jul 2024 10:15 #306489 by Mecanix
@meister

Do you happen to have LinuxCNC-RIO ported for the Gowin IDE? I'd like to explore your awesome work however would be willing to do so in an environment that I'm semi-familiar with already (i.e. Gowin IDE).

If so can you link me to a branch or point me in the correct direction to get started please. That'd be super cool.

ps. Goal; retrofit a co2 laser (stepper 3ax, 1 rot, 3 limit switches). Hardware at hand; gowin littlebee serie fpga

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

More
31 Jul 2024 10:51 #306491 by meister

@meister

Do you happen to have LinuxCNC-RIO ported for the Gowin IDE? I'd like to explore your awesome work however would be willing to do so in an environment that I'm semi-familiar with already (i.e. Gowin IDE).

Thanks, yes gowin toolchain is supported, it even generates a project file for the IDE.
However, it is easier (at least for me) to work without an IDE, so you are not so tied to one manufacturer.
Since everything is more or less generated here, an IDE is only suitable for troubleshooting and playing around

If so can you link me to a branch or point me in the correct direction to get started please. That'd be super cool.

ps. Goal; retrofit a co2 laser (stepper 3ax, 1 rot, 3 limit switches). Hardware at hand; gowin littlebee serie fpga
 


for new projects, the best branch is here: 
github.com/multigcs/riocore/tree/dev

littlebee is not yet directly supported, but if there is a GW1N-9 on it, it should be no problem to use the TangNano9k configs as a template

copy the file: riocore/boards/TangNano9K.json to riocore/boards/LittleBee.json and edit it (type/family/clock-pin/speed), set toolchain to gowin

than copy riocore/configs/TangNano9K/config-uart.json to riocore/configs/LittleBee/config-uart.json and edit it (boardcfg and the pins / you can also remove all plugins and leave only the uart and blink for first tests)

then you can generate the Gateware with:
clear ; PYTHONPATH=. bin/rio-generator riocore/configs/LittleBee/config-uart.json

if all works, you will find a project file for gowin-ide here: Output/LittleBee/Gateware/rio.gprj







 
The following user(s) said Thank You: Mecanix

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

Time to create page: 0.131 seconds
Powered by Kunena Forum