0-10V Spindle Controller and dial pendant on jackpot possible?

Hi all,

I’m building the LR4 with a jackpot. I am using the spindle AMB 1050 FME-1 DI, the speed can be controlled via a 0 - 10V signal. For the signal I will install Bart Drings controller modul on the jackpot. I just ordered it, lets see how the installation will go :slight_smile: .
Somewhere in the future when everything else is running I would like to add the dail pendant described by @DougJoseph .
The dail pendant seems to use some of the same pins as Barts module. Does that mean they can’t be used together? Does the Module actually use these 4 pins. Is a workaround possible?
Pins used ba Module:
aa8336e65576e1ff8a8c789b470c7a4d0419e63a_2_544x500
Pins used by dial pendant:
206bb3d0fa1281ae0a06bab841a5f685e4ca640a_2_666x500
thanks for the help
Stephan

1 Like

I think @MakerJim is the person who can best comment on this.

I don’t believe that’s possible, at least without considerable effort.

It’s recommended to use this module with the FluidDial pendant anyway:

1 Like

I know @MakerJim was working on a way to have RS485 and the pendent. I was going to try and help him test with my RS485 VFD, then about the time I got the test board the VFD let out the magic smoke and I have yet to replace it. But it is on the list.

I am not sure if the 0-10v stuff works the same way or not, but Jim will be the best to answer that on as Doug said

2 Likes

The 0-10V modules work, but we’ve had some folks encounter difficulties with them on their particular VFDs. You’ll provably want to continue this thread when you get the module, and get more help.

The 0-10V module needs 3 GPIOs, and the FluidDial Pendant needs 2.

Only 4 GPIO are available on the Jackpot, so you will not be able to run an 0-10V spindle and the FluidDial pendant at the same time on a Jackpot.

The isolated RS-485 module only needs 2 GPIOs, so with that interface it may be possible to have both the spindle and the pendant. If your spindle has an option for RS-485 control then it may be possible to use both spindle and FluidDial on a Jackpot. You’d need the isolated RS-485 module instead of 0-10V module.

I don’t have either spindle type to test with, so I can’t confirm it works. (I’ve tested with an adapter board of my own making on one of my machines, and FluidNC accepts the config- but I don’t have the spindle to test with.)

That test board setup is what @Jonathjon is describing- he has one of my early prototypes.

You may instead want to track the activities of our own @jeyeager , who is experimenting with a pendant type interface that works entirely over WiFi, not needing any GPIO, nor any cables to the Jackpot. I’m considering building one of those myself.

For details on that, see the thread here:

And as an example, here’s Jason’s first prototype.

6 Likes

@MakerJim you rock. Thanks.

Thanks to all for your elaborate answers! Awesome community. My primary focus will be to get a nicely running LR4 with the spindle speed controll via the 10V module. I will create a new thread when I try to integrate the module. But that may take a while. I could draw the crown and just startet with the first cuts. But still wrestling with some bugs like frequent wifi loss and sometimes the LR freezes mid-job, although the same job was perfectly executed before…
thanks Stephan

There are 3 things I would check:

  1. What version of FluidNC are you running? There were issues in late 3.7 versions and 3.8 versions that are resolved in 3.9. If you accessed the WebUI with one of these versions while the job was running, it could explain the mid job freeze because it was crashing the controller.
  2. How do you have the wires run? Running them under the board is recommended but anything around the antenna on the ESP32 will result in a poor wifi connection.
  3. If using WebUI v2, make sure you don’t have it open more than once. That can cause memory issues which could cause the controller to restart.
4 Likes

thanks for the reply, the version 3.9.1 is installed and the wires are placed like that
grafik
Can the fan at the top of the box cause wifi issues?

2 Likes

It hasn’t for me on any of my builds. Its on the opposite end of the jackpot from the WIFI chip so it shouldn’t cause any issues.

2 Likes

I don’t like that wire being where it is. I’m not quite sure what I’m looking at there.
image

2 Likes

@MakerJim you may find this interesting. The FluidNC dev team is picking back up a project to add STM32 UART based I/O expansion. Maybe that could potentially allow for using a pendant and control a 0-10V spindle?

http://wiki.fluidnc.com/en/hardware/official/STM32_IO_Extender

2 Likes

Is that the probe wire - coming out beside the SDCard slot on the right?

STM32…. Hmm I wonder if that will lead to support for encoders.

1 Like

yup, thats the probe wire. I rerouted it and did a short test. At least in the test there was no wifi loss, so lets hope that this is resolved… thanks for the support.

1 Like

@jeyeager - yes this is very interesting. I’m in France at the moment getting some training on test equipment I’m buying for my next mission.

If I had a tad more flexibility I’d have taken a couple of personal days at my flight connection in Germany, and a couple more here in the beautiful French countryside.

But at any rate, when I get back in country at the end of the week I’ll be taking a good look at this development.

Edit- quick look is interesting. It’ll make for a ‘lets take one of everything’ approach where you’d have an ESP-32, an STM32, what else? Maybe throw in a little ARM, AVR, or RISC-V and have the controller board of many colors.

But I really like this idea, and I also really like the idea of a websocket interface for some things.

These are really interesting developments.

It’s also time for me to lump a few more support dollars over to the FluidNC folks to encourage this. Maybe when I get back.

1 Like

You are always welcome. :slight_smile:

1 Like

some more questions:

  • after a bit of jogging and homing this error message appeared: MSG:ERR: Channel device rejected config
  • what do I have to look for, when the error message appears: Error66: failed to open file, when opening a new file?
  • I was running the crown file for a test without spindle on, which did run perfectly before and at 23% completion it stopped. notebook showed still connected to wifi, but when I tried S$$ it said no connetion. short before the stop, there were low memory warnings.
    Any ideas on the errors?? Thanks!

Are these things all happening together or are these different things happening during different times?

I’ve never seen that one before. I don’t understand what is going on here, but looking at the FluidNC code, that error gets raised when it receives a 0xB3 “NAK” character which is some kind of “negative acknowledgement”. I think that’s more a symptom than a cause.

That one is fairly self-explanatory but I again think more just a symptom.

Basically, something happened and FluidNC could no longer maintain a connection to the WebUI.

It’s been quite a few versions since I’ve seen low memory warnings. When the memory gets low enough, it causes the ESP32 to restart. I think that’s what is happening when it stops.

What are you doing while the job is running? Are you refreshing the UI? Do you have the UI open in more than one place?

I’m not really sure what’s going on here.

send a
$SS

From the Web UI terminal and paste the results here using preformatted text (The </> symbol on the editor toolbar.)

A couple of notes-

@DoSelbst I’ll help troubleshoot more with you memory issue when we see those $SS results.

@jeyeager and other interested parties (Like say @vicious1 )- a note on the STM32 IO expander that Bart and Mitch are experimenting with. This thing is REALLY interesting and would be a way to seriously improve the capabilities of a Jackpot system… Here’s a sneak peak from their discord:

I may start a thread here on V1 in hardware development so I’m not poluting this thread.

Edit- preliminary specs: