(you are viewing a thread; or go back to
list of threads)
using the internal oscillator (by Shawn)
In your Totorial you are using an external resinator. Are you able to utilze the 16F887 interal oscillator? If so, do you set it up under the MCU Parameters?
(no subject) (by Jonathan Westhues)
Depending what programming software you are using, you may be able to change the fuses (configuration word) to specify a different oscillator source.
In that case, just set the "crystal frequency" to the frequency of that oscillator, and all the timing will be correct. See the datasheet for the default internal RC oscillator frequency; for the 'F887, it seems to be 4 MHz.
using the internal oscillator of F887 (by Rogerdi)
Dear Jonathan Westhues,
can you give us a example how to activate internal oscillator with F887.
Thanks
file1 (by MGP)
Edit the hex file and change word 2007.
You can see how i do that in the attached file (1 of 3).
file2/ Crystal8Mhz (by MGP)
Using OshonSoft program.
file3/ intern osc 8Mhz (by MGP)
INTOSC.
You can do that with other pic's as well.
I did'n tested this one, but with an 16F628a it worked fine.
(no subject) (by Alex)
That Oshonsoft program, how can i enable or disable pull up resistor? some example please, iit is possible with 4.2.3 but i would like to use it for another versions like 2.3v for example
(no subject) (by MGP)
You can only do what you can find in the menu, so changing that register is not possible.
(no subject) (by Alex)
thanks for the reply
(no subject) (by sigit)
I made ldmicro program for atmega16. but after uploading the program does not work. My atmega is still new no settings that I input. can you help me to make my program work without external osc.
(no subject) (by Ziggy)
Hi Sigit,
AtMega16 fuses are set by default for internal 1 MHz oscilator.
I recomend you recompile your ladder diagram for 1 MHz clock and reload it into your ATMega16.
What programmer are you using to program the ATmega?
I use STK500 and AVR studio 4
Within the is combinatin I can select the clock source and burn the fuses at will.
IF Your program does not work then write a simple flashing light program and try that.
guide me how to set internal oscillator frequency to 8MHZ OR 4 MHZ OR 32KHZ FOR PIC16F886. (by Mukesh Pandey)
Please guide me how to set internal oscillator frequency to 8MHZ OR 4 MHZ OR 32KHZ FOR PIC16F886.
If internal oscillator can be set more than 8MHZ? if yes please guide for 15MHZ.
my hex file is attached
Thanks in advance
(no subject) (by Ihor Nehrutsa)
(no subject) (by Ihor Nehrutsa)
) lost in link,
add symbol ) manually
Analog indication fluctuates upto 17 counts when motor pumps is ON in both direction (by Mukesh Pandey)
Many thanks to MGP & Ihor sir for your precious guidance. I have made an indicator cum controller using analog input through LD-micro. the indication fluctuates upto 17 counts when motor pumps is ON in both direction (i.e up & down ). when pump goes OFF , readings becomes stable & fluctuates very less. please suggest remedy.
(no subject) (by MGP)
First you need a stable 5V because the 5V also serves for the Vref and if it's not stable you get fluctuations.
Also use a decoupling 100nF capacitor on the PIC Vcc.
Also you can use a small program you can find in samples.zip on this forum.
I attached the extracted file.
With this program you get a smooth readout.
GETTING & ERROR MESSAGE AS ( internal error at line 573 file ‘ pic 16.cpp’ ) (by Mukesh Pandey)
SIR I AM GETTING & ERROR MESSAGE AS ( internal error at line 573 file ‘ pic 16.cpp’ )
Thanks for your help
(no subject) (by Ihor Nehrutsa)
To Mukesh Pandey
I need LD file for debug.
(no subject) (by Mukesh Pandey)
Please find attached LD file. Thanks for your prompt reply
(no subject) (by Mukesh Pandey)
Sir Wishing u happy new year 2018. Waiting for your reply for previous LD file.
(no subject) (by Mukesh Pandey)
Is there any way to use Vref- & Vref+ pins to alter analog input reference voltage by using move instruction. if yes, please guide
Thanks & Regards
Post a reply to this comment:
|