Can the Propeller do this???
krazyideas
Posts: 119
I have been working with the BS2, Trying to run an eletric motor.
What the chip has to do is mesure a pulsein and then recreate that pulse as a pulseout 360 times everytime the motor makes one rotation.· Also it must count the pulses on a varuble so that I can turn on and off my coils depending on which of the 360 pulses (or degrees) the count is on. And it needs to be able to do this up to a minimum of 5000 RPM
SO before I get this new chip and all the stuff I wanted to know if it can do what I want it to
Any replys would be great.
ALso it has to be very very acurrate
Thanks
What the chip has to do is mesure a pulsein and then recreate that pulse as a pulseout 360 times everytime the motor makes one rotation.· Also it must count the pulses on a varuble so that I can turn on and off my coils depending on which of the 360 pulses (or degrees) the count is on. And it needs to be able to do this up to a minimum of 5000 RPM
SO before I get this new chip and all the stuff I wanted to know if it can do what I want it to
Any replys would be great.
ALso it has to be very very acurrate
Thanks
Comments
What can the propeller do in 60µs?
Perform around 6 SPIN lines
Perform 1200 machine instructions.
But it can do it for 8 motors at the same time Or you can spend 7/8 of its power for other activities...
Though it shall be not excluded that you will be able to handle your application with SPIN and timer/counters alone, I rather suspect you need a small part machine code for it..
But the Propeller is nearly overkill for such a tiny project
Post Edited (deSilva) : 12/26/2007 8:47:39 PM GMT
one other question that I have is what are the maximum and minimim width for pulsein and pluse out on the propellor ??
There is no pulsein or pulsout...Well, Martin has written some routines having this name...
Post Edited (deSilva) : 12/27/2007 2:47:05 AM GMT
Merry Christmas and Happy New Year