[Emc-users] Watchdog Sizing

2010-12-03 Thread Kirk Wallace
I'm working on using an ATtiny to watch EMC2's charge pump. The plan is to have a count down that gets reset by a charge pump edge. If the counter reaches 0, then an alarm pin gets set. The counter reset value determines how long the charge pump has to do a reset. I can write code with the

Re: [Emc-users] Watchdog Sizing

2010-12-03 Thread Erik Christiansen
On Fri, Dec 03, 2010 at 02:46:16PM -0800, Kirk Wallace wrote: I'm working on using an ATtiny to watch EMC2's charge pump. The plan is to have a count down that gets reset by a charge pump edge. If the counter reaches 0, then an alarm pin gets set. The counter reset value determines how long

Re: [Emc-users] Watchdog Sizing

2010-12-03 Thread Jim Coleman
I like the idea of a dip switch or solder bridges if one doesn't plan on changing the setting alot and wants to save the cost of the dip switch. while the pot would be easy to adjust, it's less precise than a truth table of the dip/bridge positions and the resultant reset timer. Jim On Sat, Dec

Re: [Emc-users] Watchdog Sizing

2010-12-03 Thread Kirk Wallace
On Sat, 2010-12-04 at 12:50 +1100, Erik Christiansen wrote: ... snip Once a serial link to the EMC2 host exists, is it possible to resist the temptation to put in a $3 - $4 ATmega, to limit the risk of running out of code space, once the ancilliary functions stick their grinning faces over the

Re: [Emc-users] Watchdog Sizing

2010-12-03 Thread Erik Christiansen
On Fri, Dec 03, 2010 at 06:12:52PM -0800, Kirk Wallace wrote: But shucks, if we're thinking about going to an ATmega ... http://www.handlewithlinux.com/smallest-linux-pc http://www.shimafuji.co.jp/product/semc5701a01.html Mega-Kewl! (I want a black one, ... anna yellow one. :-) Seriously

Re: [Emc-users] Watchdog Sizing

2010-12-03 Thread Kirk Wallace
On Sat, 2010-12-04 at 09:55 +0800, Jim Coleman wrote: I like the idea of a dip switch or solder bridges if one doesn't plan on changing the setting alot and wants to save the cost of the dip switch. while the pot would be easy to adjust, it's less precise than a truth table of the dip/bridge

Re: [Emc-users] How fast can EMC read an input pin

2010-12-03 Thread Colin K
Just as a random data point in all this, I have a little 7x toy lathe currently running with Mach2 that I'm getting ready to switch over to EMC. It homes using a single snap-action microswitch, the kind with no lever. I don't know if this is different from EMC, but Mach homes by backing in until