Quote Originally Posted by HenrikOlsson View Post
David,
At your desired conveyor belt speed, what approximate frequency are you generating? Is it 100Hz, 1000Hz, 5000Hz?
For the CCP module you could use the HPWM command but if you want to implement acceleration then I would ditch HPWM and set the registers manually.

/Henrik.
Henrik, Thanks.... well that is going to be trial and error at this point. I actually am going to have to hook up my conveyer belt and use the pulse method I've been using so I can get an idea. i need to see the spray turned on and how fast I can make the part travel under the spray and get it coated good. It's not going to be traveling very fast I'm sure. When I manually spray my parts with my detail sprayer I'm not moving my hand very fast over the parts. At this point I really could not say at how many feet per minute or anything like that. My gearing ratio is going to affect that too. Right now I have about a 1:1 ratio on there. Now that I see what I am working on is do-able I've ordered my aluminum framing material so I can start to bring things together. The speed of the belt will be constant. Start - go a little distance, Stop

What do you think about the 12F752 just to tinker around with the HPWM... I asked because I never worked with PWM before just wanted to make sure that pic will work. Reading the specs and looking at some sample code I think just to mess around that will work.

Thanks
David