Re: [Emc-users] couple Q's on PID's

2020-11-18 Thread Gene Heskett
On Wednesday 18 November 2020 12:21:20 Ralph Stirling wrote: > Sounds to me like a 74HC14 schmitt trigger would > be a better solution than brute force pullups. A little > square of perf board and six wires would do it. > > -- Ralph True, except this Sainsmart BOB already has that. I found a sma

Re: [Emc-users] couple Q's on PID's

2020-11-18 Thread Gene Heskett
On Wednesday 18 November 2020 16:49:12 Chris Albertson wrote: > If there are caps on the input. I bet the intent was to be-bounce > mechanical limit switches. Or at least to filter the switching noise > so that the frequency content is well below the software de-bounce > sampling rate. > > I've

Re: [Emc-users] G64 - view current setting

2020-11-18 Thread andy pugh
On Tue, 17 Nov 2020 at 03:38, David Berndt wrote: > > Is there any way to See the P or P and Q values of G64? A pin or param > somewhere? Some other method? I have had a look, and I don't see anything. The python interface has a "get motion mode" but that does not seem to get the tolerance. If

Re: [Emc-users] couple Q's on PID's

2020-11-18 Thread Ralph Stirling
Sounds to me like a 74HC14 schmitt trigger would be a better solution than brute force pullups. A little square of perf board and six wires would do it. -- Ralph From: Gene Heskett [ghesk...@shentel.net] Sent: Wednesday, November 18, 2020 9:10 AM To: emc-u

Re: [Emc-users] couple Q's on PID's

2020-11-18 Thread Chris Albertson
If there are caps on the input. I bet the intent was to be-bounce mechanical limit switches. Or at least to filter the switching noise so that the frequency content is well below the software de-bounce sampling rate. I've struggled with how best to de-bounce switches for a long time. There is

Re: [Emc-users] couple Q's on PID's

2020-11-18 Thread Gene Heskett
On Wednesday 18 November 2020 13:56:37 Gene Heskett wrote: > On Wednesday 18 November 2020 13:07:18 Chris Albertson wrote: > > That is what you do, look at the shape with no load. the 10X probe > > did that. > > > > I have to admit my experience with encoders is mostly wth directly > > connecting

Re: [Emc-users] 6040 motor

2020-11-18 Thread Chris Albertson
On Wed, Nov 18, 2020 at 12:02 PM Eric Keller wrote: > Gene, > How long were you in the room with the motor running before you left? I'm > curious how long you can leave one of these things running. > It is easy to calculate. What you need to know is the size of the water tank and how many wat

Re: [Emc-users] 6040 motor

2020-11-18 Thread Todd Zuercher
I would guess your pump system failed first (lost it's prime or what ever) then the motor over heated and cooked off the hoses. And that is why you didn't have water all over the floor. Todd Zuercher P. Graham Dunn Inc. 630 Henry Street  Dalton, Ohio 44618 Phone:  (330)828-2105ext. 2031 -O

Re: [Emc-users] 6040 motor

2020-11-18 Thread Chris Albertson
You could use a DMM to measure AC current but I buy the cheap "kill-a-watt meters" like these. I bought a couple so I could figure out why I pay so much for electric power. amazon.com/Digital-Electricity-Analyzer-Monitoring-Equipment

Re: [Emc-users] 6040 motor

2020-11-18 Thread Gene Heskett
On Wednesday 18 November 2020 14:59:21 Eric Keller wrote: > Gene, > How long were you in the room with the motor running before you left? > I'm curious how long you can leave one of these things running. > Eric Keller > Boalsburg, Pennsylvania > > On Wed, Nov 18, 2020 at 10:34 AM Gene Heskett w

Re: [Emc-users] 6040 motor

2020-11-18 Thread Eric Keller
Gene, How long were you in the room with the motor running before you left? I'm curious how long you can leave one of these things running. Eric Keller Boalsburg, Pennsylvania On Wed, Nov 18, 2020 at 10:34 AM Gene Heskett wrote: > Greetings all; > > Leaving it run at 4g's overnight wasn't quit

Re: [Emc-users] Poor memory, or new feature?

2020-11-18 Thread Gregg Eshelman via Emc-users
Redline Water Wetter or Royal Purple Ice might lower the temps. They're intended for use with plain water in race vehicles so that when there's a coolant leak they don't make the track or drag strip slick. Their effectiveness is decreased in a normal 50/50 antifreeze/water mix but they still l

Re: [Emc-users] couple Q's on PID's

2020-11-18 Thread Chris Albertson
On Wed, Nov 18, 2020 at 10:58 AM Gene Heskett wrote: > > Just try to buy a bob w/o them damned things. If you don't want them you > have to rip em out. > Seems someone could be a hero by using KiCAD to layout a better BOB and post the design files. Then anyone could have the PCB made for 40 ce

Re: [Emc-users] couple Q's on PID's

2020-11-18 Thread Gene Heskett
On Wednesday 18 November 2020 13:07:18 Chris Albertson wrote: > That is what you do, look at the shape with no load. the 10X probe > did that. > > I have to admit my experience with encoders is mostly wth directly > connecting to microcontroller pins. No need to opto-isolate if > everything is d

Re: [Emc-users] 6040 motor

2020-11-18 Thread Gene Heskett
On Wednesday 18 November 2020 12:49:21 Chris Albertson wrote: > How many watt hours does you motor burn if left running overnight? > Yes I know it depends on the load and the speed. Cheapo induction motor, smart reprogramming of the vfd to hold up its torque at lower speeds. I ran it at 11 g's

Re: [Emc-users] couple Q's on PID's

2020-11-18 Thread John Dammeyer
I've lost track of what type of encoder you are reading but don't forget that the slotted optical sensors have what is called Hfe. http://isocom.com/wp-content/uploads/2017/09/DD93222-H21Ax_H22Ax-100817.pdf As an example look at the above data sheet. With a forward current through the emitting

Re: [Emc-users] couple Q's on PID's

2020-11-18 Thread Chris Albertson
That is what you do, look at the shape with no load. the 10X probe did that. I have to admit my experience with encoders is mostly wth directly connecting to microcontroller pins. No need to opto-isolate if everything is driven from the same driven power. IIt would seem then that those optical

Re: [Emc-users] 6040 motor

2020-11-18 Thread Chris Albertson
How many watt hours does you motor burn if left running overnight? Yes I know it depends on the load and the speed. If I did the math right and did not drop a decimal point, I think roughly 1 WH will heat a liter of water 1 degree C. Let's say you have a 100W motor running 8 hours that is 800 W

Re: [Emc-users] couple Q's on PID's

2020-11-18 Thread Gene Heskett
On Wednesday 18 November 2020 11:50:26 Chris Albertson wrote: > Your encoder is likely just a bare phototransistor. You might need a > 10K pull-up. THat might be enough [...] > Disconnected from the bob, it does do a > > rail to rail swing with a rise or fall time in the very low > > micros

Re: [Emc-users] couple Q's on PID's

2020-11-18 Thread Gene Heskett
On Wednesday 18 November 2020 10:10:16 Les Newell wrote: > Hi Gene, > > Your encoder should work in the same direction as PID input. You can > reverse it by reversing the sign of the encoder scale. For example if > it is positive make it negative. > > How about a pullup on the encoder lines? > Tha

Re: [Emc-users] couple Q's on PID's

2020-11-18 Thread Chris Albertson
Your encoder is likely just a bare phototransistor. You might need a 10K pull-up. THat might be enough The "classic" buffer is a comparator with a 10-turn pot used as a reference and feedback to the positive side of the comparior to create hysteresis. Feedback is important for stability. Suc

Re: [Emc-users] couple Q's on PID's

2020-11-18 Thread Gene Heskett
On Wednesday 18 November 2020 10:10:16 Les Newell wrote: > Hi Gene, > > Your encoder should work in the same direction as PID input. You can > reverse it by reversing the sign of the encoder scale. For example if > it is positive make it negative. > I'll just swap the A/.B lines. Same difference.

Re: [Emc-users] couple Q's on PID's

2020-11-18 Thread Gene Heskett
On Wednesday 18 November 2020 10:14:25 Jon Elson wrote: > On 11/18/2020 09:03 AM, Gene Heskett wrote: > > I have apparently damaged the encoders output stages, and hooking > > its leads up to the bobs inputs results in the rising edge of the > > signal looking like its charging a large capacitance

[Emc-users] 6040 motor

2020-11-18 Thread Gene Heskett
Greetings all; Leaving it run at 4g's overnight wasn't quite the result I expected. Going out to check on it and work on the BS-1 project, I could feel the heat on my face from 3 feet away, but it was still humming along at 4g's. No smoke. But the hoses on top of the motor were melted, for ab

Re: [Emc-users] couple Q's on PID's

2020-11-18 Thread Les Newell
Hi Gene, Your encoder should work in the same direction as PID input. You can reverse it by reversing the sign of the encoder scale. For example if it is positive make it negative. How about a pullup on the encoder lines? Les On 18/11/2020 15:03, Gene Heskett wrote: Greetings all; Workin

Re: [Emc-users] couple Q's on PID's

2020-11-18 Thread Jon Elson
On 11/18/2020 09:03 AM, Gene Heskett wrote: I have apparently damaged the encoders output stages, and hooking its leads up to the bobs inputs results in the rising edge of the signal looking like its charging a large capacitance. Falling edge is fine. Quadrature is excellent. Perhaps the enco

[Emc-users] couple Q's on PID's

2020-11-18 Thread Gene Heskett
Greetings all; Working on getting the BS-1 working. ATM. PID.a-feedback is disconnected from from the A encoder, and hitting the [] keys to run the motor, the feedback from the encoder is the opposite sign of the PID.a input cmd. 1. Is this the correct state? Or do I need to swap encoder A/B l