Overunity.com Archives is Temporarily on Read Mode Only!



Free Energy will change the World - Free Energy will stop Climate Change - Free Energy will give us hope
and we will not surrender until free energy will be enabled all over the world, to power planes, cars, ships and trains.
Free energy will help the poor to become independent of needing expensive fuels.
So all in all Free energy will bring far more peace to the world than any other invention has already brought to the world.
Those beautiful words were written by Stefan Hartmann/Owner/Admin at overunity.com
Unfortunately now, Stefan Hartmann is very ill and He needs our help
Stefan wanted that I have all these massive data to get it back online
even being as ill as Stefan is, he transferred all databases and folders
that without his help, this Forum Archives would have never been published here
so, please, as the Webmaster and Creator of this Forum, I am asking that you help him
by making a donation on the Paypal Button above
Thanks to ALL for your help!!


High Voltage CFL Circuit

Started by nievesoliveras, August 14, 2010, 09:00:21 PM

Previous topic - Next topic

0 Members and 4 Guests are viewing this topic.

nievesoliveras

Thank you @xs-nrg

About the crystal. Is it this the way to do it?

Jesus

XS-NRG

Yep that's it, but i would replace the 4Mhz with a 20Mhz or at least the fastest it supports.
The capacitor values do change with frequency but there is a table in the microchip datasheet that tells you what value to use.  :)

But the micro itself also needs to know which crystal is used, so don't forget to put it in the software's configuration bit's / word.

http://melabs.com/support/config_defaults.htm

nievesoliveras

Quote from: XS-NRG on September 10, 2010, 07:59:26 PM
Yep that's it, but i would replace the 4Mhz with a 20Mhz or at least the fastest it supports.
The capacitor values do change with frequency but there is a table in the microchip datasheet that tells you what value to use.  :)

But the micro itself also needs to know which crystal is used, so don't forget to put it in the software's configuration bit's / word.

http://melabs.com/support/config_defaults.htm


I was reading  the 16f628a document and found that it has an internal oscillator.
Do you know how to activate that intosc with code?

Jesus

nievesoliveras

The picture shows the parts where the internal oscillator is addressed.


XS-NRG

You don't want to use that internal oscillator because it is RC based and it isn't as accurate as the Xtal driven microcontroller.

The internal osc is more for micro's that blink led's or drive LCD displays or something like that it is comapable to a 555 timer.

That is the reason i told you to use a crystal. :)
You can find alot of info in this book:
http://203.172.182.172/~chirayut/Picbasipro_30project.pdf

And there is also alot of info in the microcode PIC Basic PRO help topics.