W5100S-EVB-PICO stepgenerator and encoder driver

More
1 year 5 months ago #329178 by COFHAL
What is the bianari file for the normal RP pico?

stepper-ninja-W5500 or stepper-ninja-W5500S

Please Log in to join the conversation.

More
1 year 5 months ago #329193 by atrex77
the stepper-ninja-w5500.uf2 is the file you need if you make like this.

the pico only is not enough, you need a w5500 module also, or a W5100S-EVB-PICO

 

Attachment not found

Please Log in to join the conversation.

More
1 year 5 months ago #329381 by michaeln
Hello atrex77,
this is a very nice project. I found this video
, it looks fantastic.
A very fast LinuxCNC-Board for low cost.

You made a very good job, but is it useful in practice?
I think there are not enough input and output free.
In my opinion you need for a machine:
- for each axis 2 inputs (one side switch for reference and limit together, other side only limit)
- one input and one output for e-stop
- one output for enable the spindle additional to the PWM
- one output for the coolant
- if you have a machine enclosure, you need one input for the switch and one for enable the drives.

What do you think about this? Do you use it in an other way?
Do you already have a solution in your mind?

Please Log in to join the conversation.

More
1 year 5 months ago #329403 by atrex77
the repo in the github configured like this:

you get:
4 step-generator
1 encoder-counter
gpio input pins (10, 11, 22, 26, 27, 28)
gpio output pins (12, 13, 15)
1 pwm channell (gp14)

so you can use it with a cheap printerpot breakout board. i currently working on a breakout board mixed with the io-samurai project to add +8 digital output and 16 digital inputs to this ().

but you can configure other ways if you want, more encoders for less inputs or no ecoder for extra 2 input or output. the hal driver uses the same configuration file so only 1 place change is need to change the configuration.

The configuration file is in the repo (firmware/w5100s-evb-pico/inc/config.h)

or if you want much more inputs and outputs use my io-samurai project, open source with the PCB production files. (only works with the W5100S-EVB-PICO or equivalent pico + w5100s breakout board)

if you want faster response please use the discord link in the repo.

 

Attachment not found



 

Please Log in to join the conversation.

More
1 year 5 months ago #329418 by COFHAL
It would be very useful to add the INDEX input to the encoders, if you want to use oriented spindle or the lathe to do threading.

Please Log in to join the conversation.

More
1 year 5 months ago #329440 by atrex77
in the near future. The stepper-ninja hal driver run in the servo-thread so the minimum width of one input is 1 servo thread refresh in length, with 1KHz servo-thread its 1mS, something like this: when you see a ruler, all 1mm division represents a servo thread cycle, the signal only starts in the divisions and only end on the divisions. With low spindle speed its probably working, but if you want better threading you use printer port for the lathe spindle encoder.

Please Log in to join the conversation.

More
1 year 4 months ago #329547 by atrex77
a full revision on the previous PCB:

All 24v inputs and outputs optical isolated, PWM exchanged to 12Bit DA controller for the analog output.

 

Attachment not found

Please Log in to join the conversation.

More
1 year 4 months ago #329574 by atrex77
guys, a littlebit of play with the design is get the ninja look. :)

 

Attachment not found

Please Log in to join the conversation.

More
1 year 4 months ago #329806 by atrex77
if you want to try i added dedicated hal pin to the spindle encoder index, you can connect it to any input pin, and you can define in the config.h and also set the active level of the signal to active low or active high.

Please Log in to join the conversation.

More
1 year 4 months ago #329850 by COFHAL
That's what I thought, the problem is that many drivers have differential feedback encoder outputs and I would have to use another IC to convert +Z - Z to Z.

Please Log in to join the conversation.

Time to create page: 1.464 seconds
Powered by Kunena Forum