If the pulse from EMC or any other program is consistent, then your circuit
only needs one little tactile switch. If you press this switch, the micro
will go into learn mode and time the interval between pulses from EMC. If
can now add a +/- 10% or whatever margin and flag the alarm outside that.

Regards
Roland


On 4 December 2010 00:46, Kirk Wallace <kwall...@wallacecompany.com> 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 the charge pump has to do a reset. I can write code
> with the appropriate value, but if I wanted to make the watchdog watcher
> generic, I should have a way for a user to make the setting on the fly.
> My problem is that I can do this with a dip switch, potentiometer,
> serial or SPI link, or some other way I haven't thought of yet. Does
> anyone have any thoughts on what would be a good way to do this? The
> primary purpose for the watcher is to keep the motor drivers powered
> down until the PC boots and EMC2 is running.
> --
> Kirk Wallace
> http://www.wallacecompany.com/machine_shop/
> http://www.wallacecompany.com/E45/index.html
> California, USA
>
>
>
> ------------------------------------------------------------------------------
> Oracle to DB2 Conversion Guide: New IBM DB2 features make compatibility
> easy.
> Learn about native support for PL/SQL, new data types, scalar functions,
> improved concurrency, built-in packages, OCI, SQL*Plus, data movement
> tools,
> best practices and more - all designed to run applications on both DB2 and
> Oracle platforms. http://p.sf.net/sfu/oracle-sfdev2dev
> _______________________________________________
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>
------------------------------------------------------------------------------
What happens now with your Lotus Notes apps - do you make another costly 
upgrade, or settle for being marooned without product support? Time to move
off Lotus Notes and onto the cloud with Force.com, apps are easier to build,
use, and manage than apps on traditional platforms. Sign up for the Lotus 
Notes Migration Kit to learn more. http://p.sf.net/sfu/salesforce-d2d
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to