I saw an article in Nuts & Volts about a voltage booster to power an led flashlight. The oscillator was an ATtiny 11L chip programmed off and on, with a 4mHz internal clock. The article indicated that it would provide a pulse as fast as about 100 kHz. (On 7 us, off 2-3 instructions, 1 us each.)
So I figured why not try the same circuit using a 12F629, which also has a 4mHz internal clock, programmed the same way. The data sheet (section 10) suggests that each instruction should take about 1 us. Should work the same.
No dice, the fastest pulse I can get is about 10 kHz, pretty much square. I wrote the program in PIC basic, but I checked the assembler file, and I think it is as simple as possible. I am using pin 0, high and low (no pauses) and loop. (Yes, I disabled the comparator.)
There has got to be a way. Maybe?
Thoughts and guidance appreciated.
A May
Bookmarks