Re: [Emc-users] Micro-controllers

2009-06-03 Thread Erik Christiansen
On Wed, Jun 03, 2009 at 09:32:58AM -0700, Kirk Wallace wrote: > > I prefer to have EMC2 do as much as it can. If I understand the term > "state" correctly, I would just use parport I/O and handle the logic in > a hal component. In the context of the tool changer, state is e.g. "Awaiting Tool Dock

Re: [Emc-users] Micro-controllers

2009-06-03 Thread Kirk Wallace
On Wed, 2009-06-03 at 18:22 +1000, Erik Christiansen wrote: > On Tue, Jun 02, 2009 at 08:04:00PM +0200, Michael Buesch wrote: > > The AVR certainly is good enough for non timecritical tasks like tool > > changer I/O. > > A tool changer looks like an event-driven application, to me. I don't > know

Re: [Emc-users] Micro-controllers

2009-06-03 Thread Erik Christiansen
On Tue, Jun 02, 2009 at 08:04:00PM +0200, Michael Buesch wrote: > The AVR certainly is good enough for non timecritical tasks like tool changer > I/O. A tool changer looks like an event-driven application, to me. I don't know if this site is then of any interest: http://github.com/geekscape/Aiko

Re: [Emc-users] Micro-controllers

2009-06-02 Thread Erik Christiansen
On Tue, Jun 02, 2009 at 11:28:41AM -0700, Kirk Wallace wrote: > > Thanks Michael and Gary. It looks like AVR is the way to go. Especially > in the form of an Arduino: > http://axis.unpy.net/01198594294 Some variants, such as the AT90PWM3 can synchronise three on-board PWM channels in hardware, t

Re: [Emc-users] Micro-controllers

2009-06-02 Thread Haberler Michael
Am 02.06.2009 um 21:23 schrieb Kirk Wallace: > . I haven't found the specs for the PWM > feature yet. Can I assume that I can get above 20kHz? The rest of the > features will be fluff. Yes you can. Assuming you have a say, 12Mhz crystal, and do not prescale the clock, an 8bit PWM would run at 47

Re: [Emc-users] Micro-controllers

2009-06-02 Thread Leslie Newell
If you go for the AVR, you can get a free Modbus library for it . Actually it looks to be pretty easy to port the driver to pretty much any microcontroller. Les Gary P. Fiber wrote: > I was not aware of Free C language compilers for the PIC's. > I remember Hi-Tech, C

Re: [Emc-users] Micro-controllers

2009-06-02 Thread Gary P. Fiber
y P. Fiber [mailto:gfi...@comcast.net] > Sent: Tuesday, June 02, 2009 1:14 PM > To: Enhanced Machine Controller (EMC) > Subject: Re: [Emc-users] Micro-controllers > > Kirk Wallace wrote: > >> Sorry, I know this was answered recently, but what is the preferred

Re: [Emc-users] Micro-controllers

2009-06-02 Thread Chuck
You should take a loop at the Parallax Propeller. It has 8 realtime cores and each run at 80MHz . 32 I/O pins and prewritten objects for many motor control applications. To top it off, it has built in VGA video drivers so you can connect a monitor, mouse and keyboard. A prototype board runs abo

Re: [Emc-users] Micro-controllers

2009-06-02 Thread Kirk Wallace
On Tue, 2009-06-02 at 21:41 +0200, Sven Wesley wrote: > 2009/6/2 Sven Wesley > > > > > > >> > >> One of the reasons I need the controller is because my Shizuoka's > >> steppers run fine on the software generated signals, but I need a fast > >> PWM to run the changer motor. I haven't found the spe

Re: [Emc-users] Micro-controllers

2009-06-02 Thread Drew Rogge
Here's a version of the arduino with a different form factor: It's about half the price of a real arduino, laid out to work with solderless breadboards and comes with and without a FTDI USB chip. If you go for the

Re: [Emc-users] Micro-controllers

2009-06-02 Thread Sven Wesley
2009/6/2 Sven Wesley > > >> >> One of the reasons I need the controller is because my Shizuoka's >> steppers run fine on the software generated signals, but I need a fast >> PWM to run the changer motor. I haven't found the specs for the PWM >> feature yet. Can I assume that I can get above 20kHz

Re: [Emc-users] Micro-controllers

2009-06-02 Thread Sven Wesley
> > > One of the reasons I need the controller is because my Shizuoka's > steppers run fine on the software generated signals, but I need a fast > PWM to run the changer motor. I haven't found the specs for the PWM > feature yet. Can I assume that I can get above 20kHz? The rest of the > features w

Re: [Emc-users] Micro-controllers

2009-06-02 Thread Kirk Wallace
On Tue, 2009-06-02 at 21:03 +0200, Sven Wesley wrote: > Oh, forgot to say that I've decided to create a toolchanger based on an > Arduino.I was looking for a Make-yourself-a-toolchanger-tutorial but didn't > find any. So what the heck, I'll make one. :) > > --S > > 2009/6/2 Sven Wesley One of t

Re: [Emc-users] Micro-controllers

2009-06-02 Thread Sven Wesley
Oh, forgot to say that I've decided to create a toolchanger based on an Arduino.I was looking for a Make-yourself-a-toolchanger-tutorial but didn't find any. So what the heck, I'll make one. :) --S 2009/6/2 Sven Wesley > http://arduino.cc > > The only thing you need is an USB cable. > A lot of

Re: [Emc-users] Micro-controllers

2009-06-02 Thread Brian Schmalz
, AVR are still very cool processors, as are PICs. *Brian -Original Message- From: Gary P. Fiber [mailto:gfi...@comcast.net] Sent: Tuesday, June 02, 2009 1:14 PM To: Enhanced Machine Controller (EMC) Subject: Re: [Emc-users] Micro-controllers Kirk Wallace wrote: > Sorry, I know

Re: [Emc-users] Micro-controllers

2009-06-02 Thread Sven Wesley
http://arduino.cc The only thing you need is an USB cable. A lot of memory, a bunch of timers etc and pretty fast. The card is open sourced. Buy it, build it or get a clone. C subset for programming. When your finished with your project, get a Mini or Nano and make it supersmall. Besides that, it'

Re: [Emc-users] Micro-controllers

2009-06-02 Thread Lawrence Glaister
Hi Kirk, One of my favorite microcontrollers now is the dspic 30f4011(40pin dip) and 30f4012(28pin dip). They are programmed in C, have enough program memory and horsepower to do significant calculations in complex floating point math. See my VNA project using the 4011 at http://members.shaw.ca/sw

Re: [Emc-users] Micro-controllers

2009-06-02 Thread Kirk Wallace
On Tue, 2009-06-02 at 10:43 -0700, Kirk Wallace wrote: > Sorry, I know this was answered recently, but what is the preferred > micro-controller, PIC, AVR, etcetera? My only requirement is that I > can (try to) program it with Linux, preferably with C. I'm looking at > controlling a DC motor (PWM) a

Re: [Emc-users] Micro-controllers

2009-06-02 Thread Gary P. Fiber
Kirk Wallace wrote: > Sorry, I know this was answered recently, but what is the preferred > micro-controller, PIC, AVR, etcetera? My only requirement is that I can > (try to) program it with Linux, preferably with C. I'm looking at > controlling a DC motor (PWM) and a few digital I/O ports for a to

Re: [Emc-users] Micro-controllers

2009-06-02 Thread Michael Buesch
On Tuesday 02 June 2009 19:43:20 Kirk Wallace wrote: > Sorry, I know this was answered recently, but what is the preferred > micro-controller, PIC, AVR, etcetera? My only requirement is that I can > (try to) program it with Linux, preferably with C. I'm looking at > controlling a DC motor (PWM) and