On 4/25/07, Phillip wrote: > Hi everyone, I hope you'll forgive the newbishness, but in all honesty I'm > horribly new. :) I've been programming and working with analog components > forever, but I just got my first PIC programmer about a week ago with a > small supply of 12F629's, and I'm getting my feet wet.. I've been > concentrating on learning assembly, but I've installed MikroC too. > > So I've got a project where I need to replace a small sensor that outputs a > 50Hz frequency with a PWM duty cycle of 30-70%. I have designed the circuit > in analog components, but it would be cheaper and (I think) much easier to > do it with a PIC. My humble opinion: -if will be a large production (hundreds of devices at least) it might be cheaper with PIC12F629 but this is not sure, will be much cheaper with an Atmel or some chinese microcontrollers -for a beginner, programming will not be easiest than a 555 with two resistors, one trim, two capacitors and one or two diodes, all of these will cost togheter less than a PIC12F629, that's sure. Vasile -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist