Hello Guest it is November 14, 2019, 01:08:54 AM

Author Topic: Adventures in Pokeys  (Read 22929 times)

0 Members and 1 Guest are viewing this topic.

Re: Adventures in Pokeys
« Reply #50 on: July 24, 2013, 05:03:56 PM »
Hello MR,
If you would sign I could address you properly.
Anyway thanks for your encouragement though I hardly think I need it. This isn't my first rodeo, as they say. I've followed along with Art as he developed Mach since the beginning around 2002; even was able add a couple cents worth here and there; found a couple major bugs. I've been published in Digital Machinist and Home Shop Machinist 10 times, my stuff on the cover twice.
I fumble through the wiring and electronic stuff I need to make my machines run, but electronics are pretty much a mystery. I see that in this new issue of Digital Machinist there is a big article centered on the Arduino. I speed read it and I will read it thoroughly, but I saw enough to know it is way over my head. There are far too many words totally foreign to me, abbreviations, initials. I'm sure the author thinks it's very fundamental, but it 'aint baby; not for this old dog.
Before I bought Pokeys I was about to create a control console using Mach's KeyGrabber and a couple Wingman jotstick controllers; I should have stayed on that path. For me that's easy, take it apart, wire switches, pots, looks totally pro.
However with the help of Matevz I led myself down a path that looked golden but now seems more gravel.
Pokeys is cheap and it is probably a good product; ,,,,,,,,,,,,,,,,,for someone smarter than I.
Arduino is cheap and maybe better than Pokeys; for someone smarter than I.
I wouldn't need to be smart if the docs were better. It took me about 10 minutes to get my Ethernet Smooth Stepper running. Hook this up here, run this wire, on the computer do this, etc. etc., etc.
My uneducated thought is that both Pokeys and Arduino are electronic black boxes that can do many and varied things. For me to make use of them I need someone to make them Mach specific, which may be as simple as writing a PDF. Problem is, how do you make a buck doing that.
I am surprised that Pokeys has a plug-in for Mach, but that no one from Mach is chiming in here on this Mach support forum! The docs for that plug-in are as bombastic as the regular Pokeys manual.
Hey, I still have my keyboard and mouse which work fine, a half dozen of my custom screens which work fine; along with a pretty board full of buttons and knobs.
Ozzie
Re: Adventures in Pokeys ---- Working
« Reply #51 on: August 15, 2013, 12:34:41 PM »
It has been just over a month since this forum has heard from NEOTO.
Scott "PoppaBear" has helped some here, including a private message to me. Thanks Scott.
From time to time, I've continued to tinker with my Pokeys powered console. The most recent of my problems to solve were:
Keyboard hotkeys no longer working at all.
Noise changing axis dros.
Noise changing FRO dros, extreme.
C axis jog not working correctly.
Confusion about how the Mach 3 plug-in and the native Pokeys program interact.
----
I decided to rebuild my Mach 3 Pokeys setup.
I suspected that the hotkey problem might be related to using the keyboard as a usb unit. I connected it to the standard keyboard port with an adapter. As I rebuilt the Pokeys setup I kept checking the hotkeys; they are still working.
I suspected that the axis dro noise might be from the the Wingman joysticks I was using. Posts on other forums, gaming forums, suggest that those analog joysticks are difficult to tune and stabilize. So in the new setup I eliminated them. The axis dros are now dead steady.
The FRO noise was hard to repeat, it would stay steady for long periods of time then suddenly leap to thousands. Since everything else looked steady I decided it was a bad unit or the associated wiring. I bought a couple new encoders from Ebay; I think the same units that Paul Tegler has. I used a more secure type connectors in rewiring them. So far the dro looks steady, but I want to test longer.
I want to power the knee on my milling machine so I have two jog buttons for a C axis on my board. I  tried to set it up the same way I did the X,Y.Z, and A axis jog buttons, but when pressing and releasing the button, the axis would continuously move until I press the other direction or escape. I tried to set it up as B axis; same result. I tried creating hoykeys for the C; that works. After playing with Pokeys for a couple hours the C jog buttons now work, but I'm not sure what I did to it. It is certainly not straight forward.
I believe some of my problems come/came from not understanding the interaction between the Mach 3 plug-in and the Pokeys stand-alone. Somewhere I read that a setting in the plug-in would override a setting in the stand-alone. I'm not sure that is totally correct. In getting things to work here I made sure I did not have a setting in both. One might think that if you don't have the stand-alone running, it has no effect, that is not correct. To set up a keyboard emulation I set the plug-in for that pin to inactive and then route the pin in the plug to a keyboard emulation. That works even though I don't start the stand-alone in a session. I set an emulation for "shift" (for rapid jogs), and that always works. Part of what I did to get the C buttons to work was to clear the pin settings in the stand-alone.
--
So my Pokeys powered board is working! No joysticks, still testing the encoder, but it is working.
I should end this on a bright note but I'm compelled to bitch about the lack of public support and the deplorable documentation from the Pokeys people. And I might add that no one from Artsoft made any attempt to help. I think that if you support a plug-in, you share some bit of responsibility.
--
I run both milling machine and lathe from one computer, one instance of Mach 3. I tried enabling Pokeys on my lathe profile, but the Milling machine settings come up, leading me to believe that I can't use one Pokeys unit for both machines. If mach 3 would arrange storage of the Pokeys plug-in tied to a machine profile, I could use a different set of settings; get the use of Pokeys on more than one machine. I think that would work?
Ozzie