Jul 1, 2010 #1 K kad_911 Member level 2 Joined Nov 15, 2009 Messages 52 Helped 1 Reputation 2 Reaction score 0 Trophy points 1,286 Location earth Activity points 1,623 Hello. I want to get a output from a PIC16F84 or PIC16F877 with a frequency of 36KHz.. Please tell me how to do this.. Im using a 4MHz crystal. Thank you.
Hello. I want to get a output from a PIC16F84 or PIC16F877 with a frequency of 36KHz.. Please tell me how to do this.. Im using a 4MHz crystal. Thank you.
Jul 1, 2010 #2 H hakeen Full Member level 5 Joined Jun 16, 2005 Messages 240 Helped 44 Reputation 88 Reaction score 19 Trophy points 1,298 Activity points 2,783 For 16F87x you can check http://www.piclist.com/techref/microchip/pwm.htm Cheers
Jul 1, 2010 #3 K kad_911 Member level 2 Joined Nov 15, 2009 Messages 52 Helped 1 Reputation 2 Reaction score 0 Trophy points 1,286 Location earth Activity points 1,623 dont have what i need.
Jul 1, 2010 #4 T toto_na16 Member level 1 Joined Feb 21, 2010 Messages 34 Helped 1 Reputation 2 Reaction score 0 Trophy points 1,286 Location Egypt Activity points 1,478 see the link below , you put your 4 mhz in the first box , 36000 in the second box , and determine the duty cycle you want in the third box , (if you want a clock like pulse width modulation ) enter 50 https://www.micro-examples.com/public/microex-navig/doc/097-pwm-calculator.html note : pic16f877 is listed , pic 16f84 isn't (but pic16f85)
see the link below , you put your 4 mhz in the first box , 36000 in the second box , and determine the duty cycle you want in the third box , (if you want a clock like pulse width modulation ) enter 50 https://www.micro-examples.com/public/microex-navig/doc/097-pwm-calculator.html note : pic16f877 is listed , pic 16f84 isn't (but pic16f85)