On Wed, 13 Jan 2010, Flying Electron wrote:

> Date: Wed, 13 Jan 2010 10:47:59 -0800
> From: Flying Electron <[email protected]>
> Reply-To: "Enhanced Machine Controller (EMC)"
>     <[email protected]>
> To: "Enhanced Machine Controller (EMC)" <[email protected]>
> Subject: Re: [Emc-users] PWM input to EMC2
> 
> Thanks everyone for all the advice.  I got it to work using an encoder
> measuring the frequency of the pulses from the microcontroller.  I put a
> dial gauge on the panel in axis to watch the pressure and an LED to
> watch the probe.  It is beyond cool being able to see the pressure in
> realtime while the machine is on.  These virtual axis panels are great
> for saving money instead of getting physical gauges.  I included a
> screenshot of the axis gui.  The dial gauge bounces around in realtime
> as the pressure changes.  I guess screenshots and axis previews don't
> get along?  Or maybe it's my video driver.  I don't know why it's all
> messed up where the preview plot is, it looks fine on the screen.
>
> http://www.flyingelectron.com/Pics/probe.png
>
> The SPI looks very interesting since the AVR microcontroller I am using
> supports SPI.  I need to look into that more after I get the machine up
> and running again.

Its fairly easy to use the raw-read and raw_write debug commands in a COMP to 
make a one channel SPI master with HostMot2s SPI hardware.

Peter Wallace
Mesa Electronics

(\__/)
(='.'=) This is Bunny. Copy and paste bunny into your
(")_(") signature to help him gain world domination.


------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to