Developing a Raspberry Pi Pico-based I/O Board for LinuxCNC
- atrex77
-
Topic Author
- Offline
- Junior Member
-
Less
More
- Posts: 20
- Thank you received: 7
28 Mar 2025 23:12 #325202
by atrex77
Replied by atrex77 on topic Developing a Raspberry Pi Pico-based I/O Board for LinuxCNC
Prototype boards arrived.

Please Log in or Create an account to join the conversation.
- andypugh
-
- Offline
- Moderator
-
Less
More
- Posts: 23297
- Thank you received: 4938
02 Apr 2025 21:38 #325553
by andypugh
Replied by andypugh on topic Developing a Raspberry Pi Pico-based I/O Board for LinuxCNC
Pretty.
The following user(s) said Thank You: atrex77
Please Log in or Create an account to join the conversation.
- atrex77
-
Topic Author
- Offline
- Junior Member
-
Less
More
- Posts: 20
- Thank you received: 7
03 Apr 2025 20:11 #325639
by atrex77
Replied by atrex77 on topic Developing a Raspberry Pi Pico-based I/O Board for LinuxCNC
Houston, we have a problem, i ordered the io port expander (mcp23017) in wrong package so28 instead of ssop28, and the zener diodes is missing from the order, and i missed the i2c port pullup resistors from the design this need a littlebit of workaround, but the outputs are working now (tbd 62783). Tested with 5v and 24v without load, i messed up 1 of the w5100s-evb-pico-s usb port by pulling the whole microusb inside out but now this programmed trough the SWD debug port, the positive side is i do not need to printing debug info in the usb serial port.
Attachments:
The following user(s) said Thank You: tommylight
Please Log in or Create an account to join the conversation.
- atrex77
-
Topic Author
- Offline
- Junior Member
-
Less
More
- Posts: 20
- Thank you received: 7
16 Apr 2025 10:01 #326444
by atrex77
Replied by atrex77 on topic Developing a Raspberry Pi Pico-based I/O Board for LinuxCNC
i think i finished the prototype stage, all of the prototype faults are corrected, pcb updated, Linuxcnc HAL Driver finished with safety mechanism (watchdog + jump code checksum, (also in the pico)), added optional lcd connector(128x64 sh1106) to the pcb, python library is ready for other uses (experimenting, remote io, etc....)
Attachments:
Please Log in or Create an account to join the conversation.
- atrex77
-
Topic Author
- Offline
- Junior Member
-
Less
More
- Posts: 20
- Thank you received: 7
17 Apr 2025 18:13 - 17 Apr 2025 18:35 #326533
by atrex77
Replied by atrex77 on topic Developing a Raspberry Pi Pico-based I/O Board for LinuxCNC
Dear Community,
I’m excited to share io-samurai, an open-source, budget-friendly interface for LinuxCNC and remote I/O projects, built from the ground up for makers like you! I’ve been working hard on this project, and I’m thrilled to announce that once the first batch of final PCBs arrives and I’ve thoroughly tested them, I’ll be releasing the full project on GitHub under the MIT License. Here’s a sneak peek at what’s coming:
What is io-samurai?
io-samurai is a versatile platform for CNC control and remote I/O, powered by Raspberry Pi Pico/Pico 2 and W5100S/W5500-Lite Ethernet modules. Key features:
16 inputs (20–50 V, MCP23017, I2C) with Zener protection.
8 high-current outputs (50 V, 500 mA, TD62783-driven, MCP23008-controlled).
Single analog inputs (10 kΩ potentiometer, 0–3.3 V, GP26).
40 MHz SPI (~6000 Hz burst) for fast Ethernet communication.
Optional SH1106 OLED for I/O status and IP display.
LinuxCNC uspace HAL driver (compiled with halcompile, .so), with safety features like timeout and data checks.
Python library for automation and remote I/O.
It’s perfect for LinuxCNC users, but also great for IoT, home automation, or any project where you want to experiment with hardware and software.
Current Status
I’ve invested $268 into prototyping, and the first five final PCBs are on their way (~$40–50 each). Once the PCBs arrive and pass testing, I’ll publish the project on GitHub, including:
Firmware: Pico/Pico 2 code with Wiznet’s ioLibrary_Driver (MIT licensed).
HAL Driver: Uspace .so for LinuxCNC, with full setup guide.
Hardware: Gerber files for PCB manufacturing (e.g., JLCPCB, PCBWay).
Documentation: Detailed pinout.md, setup-guide.md, and io-samurai-manual.pdf.
Python Library: For remote I/O and automation.
The GitHub repo (github.com/atrex66/io-samurai) is ready to go live under the MIT License, ensuring everyone can use, modify, and contribute to the project.
Get Involved!
I’m passionate about making io-samurai accessible to the LinuxCNC and maker communities. Here’s how you can join the journey:
GitHub: Follow the repo for the upcoming release (github.com/atrex66/io-samurai).
X: Follow updates and share your thoughts: @aTrEx77.
What’s Next?
PCB Testing: Validate the final boards with W5500-Lite, MCP23017, MCP23008, and 10 kΩ potentiometer.
GitHub Release: Share all code, docs, and Gerber files under MIT License.
Roadmap: Mach3 driver, FPGA-based step generator, (~$150 full CNC or HMI control with display and pi Zero 2W).
I’d love to hear your feedback or ideas for io-samurai in LinuxCNC setups! What features would you like to see? Let’s build something awesome together. Built with ❤️ in Hungary.
Cheers,
Zsolt Viola
Patreon: Support development for early firmware access, technical posts, or consultations ($5–$30/month)
Patreon link ( #)
I’m excited to share io-samurai, an open-source, budget-friendly interface for LinuxCNC and remote I/O projects, built from the ground up for makers like you! I’ve been working hard on this project, and I’m thrilled to announce that once the first batch of final PCBs arrives and I’ve thoroughly tested them, I’ll be releasing the full project on GitHub under the MIT License. Here’s a sneak peek at what’s coming:
What is io-samurai?
io-samurai is a versatile platform for CNC control and remote I/O, powered by Raspberry Pi Pico/Pico 2 and W5100S/W5500-Lite Ethernet modules. Key features:
16 inputs (20–50 V, MCP23017, I2C) with Zener protection.
8 high-current outputs (50 V, 500 mA, TD62783-driven, MCP23008-controlled).
Single analog inputs (10 kΩ potentiometer, 0–3.3 V, GP26).
40 MHz SPI (~6000 Hz burst) for fast Ethernet communication.
Optional SH1106 OLED for I/O status and IP display.
LinuxCNC uspace HAL driver (compiled with halcompile, .so), with safety features like timeout and data checks.
Python library for automation and remote I/O.
It’s perfect for LinuxCNC users, but also great for IoT, home automation, or any project where you want to experiment with hardware and software.
Current Status
I’ve invested $268 into prototyping, and the first five final PCBs are on their way (~$40–50 each). Once the PCBs arrive and pass testing, I’ll publish the project on GitHub, including:
Firmware: Pico/Pico 2 code with Wiznet’s ioLibrary_Driver (MIT licensed).
HAL Driver: Uspace .so for LinuxCNC, with full setup guide.
Hardware: Gerber files for PCB manufacturing (e.g., JLCPCB, PCBWay).
Documentation: Detailed pinout.md, setup-guide.md, and io-samurai-manual.pdf.
Python Library: For remote I/O and automation.
The GitHub repo (github.com/atrex66/io-samurai) is ready to go live under the MIT License, ensuring everyone can use, modify, and contribute to the project.
Get Involved!
I’m passionate about making io-samurai accessible to the LinuxCNC and maker communities. Here’s how you can join the journey:
GitHub: Follow the repo for the upcoming release (github.com/atrex66/io-samurai).
X: Follow updates and share your thoughts: @aTrEx77.
What’s Next?
PCB Testing: Validate the final boards with W5500-Lite, MCP23017, MCP23008, and 10 kΩ potentiometer.
GitHub Release: Share all code, docs, and Gerber files under MIT License.
Roadmap: Mach3 driver, FPGA-based step generator, (~$150 full CNC or HMI control with display and pi Zero 2W).
I’d love to hear your feedback or ideas for io-samurai in LinuxCNC setups! What features would you like to see? Let’s build something awesome together. Built with ❤️ in Hungary.
Cheers,
Zsolt Viola
Patreon: Support development for early firmware access, technical posts, or consultations ($5–$30/month)
Patreon link ( #)
Last edit: 17 Apr 2025 18:35 by atrex77.
The following user(s) said Thank You: andypugh
Please Log in or Create an account to join the conversation.
- atrex77
-
Topic Author
- Offline
- Junior Member
-
Less
More
- Posts: 20
- Thank you received: 7
29 Apr 2025 19:25 - 29 Apr 2025 19:26 #327310
by atrex77
Replied by atrex77 on topic Developing a Raspberry Pi Pico-based I/O Board for LinuxCNC
Hi everyone,
Unfortunately, I haven't been able to order the final boards yet,
but I've made the GitHub project public.
Feel free to check it out if you're interested!
https://github.com/atrex66/io-samurai
Any feedback or suggestions are welcome!
Thanks
Last edit: 29 Apr 2025 19:26 by atrex77.
Please Log in or Create an account to join the conversation.
Time to create page: 0.115 seconds