- Posts: 45
- Thank you received: 0
W5100S-EVB-PICO stepgenerator and encoder driver
1 year 5 months ago #328528
by atrex77
W5100S-EVB-PICO stepgenerator and encoder driver was created by atrex77
Dear linuxcnc users,
i want to introduce my new open source project based on the W5100S-EVB-PICO . ~10 USD (raspberry pico clone)
features:
1 to 8 step generator with 255KHz maximum output in this version, (possible higher freq) enough for 15m/min with 0.001mm
1 to 8 quadrature encoder counter with 12.5MHz theoretical maximum counting frequency.
current version in the github page is support 4 stepgen and 4 encoders
linuxcnc driver supports multiple instances
planned direct SPI communication with raspberry-pi4 (with normal pico)
github: stepgen-encoder
i want to introduce my new open source project based on the W5100S-EVB-PICO . ~10 USD (raspberry pico clone)
features:
1 to 8 step generator with 255KHz maximum output in this version, (possible higher freq) enough for 15m/min with 0.001mm
1 to 8 quadrature encoder counter with 12.5MHz theoretical maximum counting frequency.
current version in the github page is support 4 stepgen and 4 encoders
linuxcnc driver supports multiple instances
planned direct SPI communication with raspberry-pi4 (with normal pico)
github: stepgen-encoder
Please Log in to join the conversation.
1 year 5 months ago #328930
by atrex77
Replied by atrex77 on topic W5100S-EVB-PICO stepgenerator and encoder driver
Update
1.variable pulse width for the step generator (1000nS - 6000nS) set from hal pin.
2.work with pico + w5500 module (connections like in the w5100s-evb-pico)
1.variable pulse width for the step generator (1000nS - 6000nS) set from hal pin.
2.work with pico + w5500 module (connections like in the w5100s-evb-pico)
Please Log in to join the conversation.
1 year 5 months ago #329018
by COFHAL
Replied by COFHAL on topic W5100S-EVB-PICO stepgenerator and encoder driver
You say the PI pico connection (connections like in the w5100s-evb-pico), but the Pico pins are different for the SPI0, or am I wrong?
I have another question: if I'm going to use your io-samurai, would I need another network card?
I have another question: if I'm going to use your io-samurai, would I need another network card?
Please Log in to join the conversation.
1 year 5 months ago #329020
by atrex77
if you use normal pico and a w5500 board, you need to wire like the dark blue pins in the w5100s-evb-pico, pinout here w5100s-evb-pico pinout new video here Embeddedtronics testing stepper ninja
Replied by atrex77 on topic W5100S-EVB-PICO stepgenerator and encoder driver
Attachment not found
if you use normal pico and a w5500 board, you need to wire like the dark blue pins in the w5100s-evb-pico, pinout here w5100s-evb-pico pinout new video here Embeddedtronics testing stepper ninja
Please Log in to join the conversation.
1 year 5 months ago #329022
by atrex77
Replied by atrex77 on topic W5100S-EVB-PICO stepgenerator and encoder driver
you need a network switch to connect
Please Log in to join the conversation.
1 year 5 months ago #329055
by COFHAL
Replied by COFHAL on topic W5100S-EVB-PICO stepgenerator and encoder driver
When I open this link:
developer.arm.com/downloads/-/gnu-rm
, it says: This page is deprecated. See Arm GNU Toolchain for updated content and latest releases. Arm GNU Toolchain.
If I follow Arm GNU Toolchain, many download options appear. Which one should I download?
The truth is, I have little experience doing this type of installation from scratch, and it seems like what you've written on your Github is for experts. I don't know if there's a way to do all these processes automatically with bash.
If I follow Arm GNU Toolchain, many download options appear. Which one should I download?
The truth is, I have little experience doing this type of installation from scratch, and it seems like what you've written on your Github is for experts. I don't know if there's a way to do all these processes automatically with bash.
Please Log in to join the conversation.
1 year 5 months ago #329071
by atrex77
Replied by atrex77 on topic W5100S-EVB-PICO stepgenerator and encoder driver
Precompiled .uf2 in the repository binary directory, you not need to rebuild the project if you want to use
Please Log in to join the conversation.
1 year 5 months ago #329072
by atrex77
Replied by atrex77 on topic W5100S-EVB-PICO stepgenerator and encoder driver
The hal driver installation is easy, you need to open terminal navigate to the hal-driver directory and run ./install.sh
Sample hal configuration in the hal-driver/test_config directory
Sample hal configuration in the hal-driver/test_config directory
Please Log in to join the conversation.
1 year 5 months ago #329125
by atrex77
Replied by atrex77 on topic W5100S-EVB-PICO stepgenerator and encoder driver
!UPDATE!
the default settings in the code makes the:
4 stepgenerator (up to 512 Khz in 1ms servo thread)
2 quadrature encoder counter (example: 1 for spindle encoder 1 for MPG)
3 digital outputs
1 pwm output (from 1.9Khz - 1Mhz varies from 7bit to 16bit resolution, depends of the frequency)
4 digital inputs
docs how to change this is in progress
the default settings in the code makes the:
4 stepgenerator (up to 512 Khz in 1ms servo thread)
2 quadrature encoder counter (example: 1 for spindle encoder 1 for MPG)
3 digital outputs
1 pwm output (from 1.9Khz - 1Mhz varies from 7bit to 16bit resolution, depends of the frequency)
4 digital inputs
docs how to change this is in progress
Please Log in to join the conversation.
Time to create page: 0.063 seconds
