Like the subject says, does PBP3 not allow for 2Mhz oscillator speeds? I found one post from 2006 claiming this. I have a 16F722A set for 2Mhz but trying to compile anything gives this error ...
Type: Posts; User: astouffer; Keyword(s):
Like the subject says, does PBP3 not allow for 2Mhz oscillator speeds? I found one post from 2006 claiming this. I have a 16F722A set for 2Mhz but trying to compile anything gives this error ...
The PIC will be a power supervisor in this application and we're going with two of these battery packs http://www.cell-con.com/pdf/D90494_DataSheet_BP.pdf.
What voltage does the SMBus use? If its...
dsicon, sorry for replying to an old thread but I just wanted to get a bit of clarification. The bit of code you posted works as is when the clock runs at 2Mhz? I'm starting a project that involves...
Louie, thanks for looking it over but I have to admit the mistake of operator error on my part :eek: I was using the sync output on the signal generator instead of the real output. Here is the...
Hello all, I'm having a bit of a problem using the CCP hardware to measure a pulse length on a 12F1822. I know where the program stalls but I can't figure out why. I debugged the program by lighting...
Forgive my ignorance but I can not see why during the timekeep loop that the minutes increment to 01 if they are set to 00 from the previous loop :confused:
timekeep:
ss = ss + 1 ...
Dave, nice looking clock as well. The boards came from a place called OSH Park. They run batches of boards so the average time is about two weeks but the quality and price is great. Purple boards...
Now it makes more sense. Change
if mm = 60 then mm = 1
to
if mm = 60 then mm = 0
Well my numitron clock project is nearly complete. My problem is in the code to set the initial time. It didn't allow for the minutes to be set at 00. I fixed that by moving the "mm = mm + 1" line to...
Thank you for clearing up my confusion :) I'm actually preloading a counter now to keep time based on the power line frequency. My test setup has been running for 6 days now. Checking it against...
Just want to verify my thinking is correct about the following scenario.
Say I use a 32.768Khz oscillator as a timebase and feed it into an 8 bit counter with a 256 prescaler. That means it should...
Ok so apparently my math skills may be a bit rusty :o Doing some initial testing the timekeeping part seemed to be losing a few seconds pretty quickly. TMR0 should be 196!
Amoque: Using the 60Hz power for a source will give me more accuracy than an RTC chip and be cheaper. I actually built a large clock based on the link you posted. It worked great but requires long...
I don't have to measure the accuracy of my timebase, just count 60 pulses to give one second ticks. The power company makes small frequency adjustments over a 24 hour time so it always averages to...
Hello all, I am in the planning stages for a simple clock that uses numitron tubes for the display. That part is pretty much worked out. I decided against using a realtime clock chip as they do need...
Many thanks mackrackit, it compiled cleanly after fixing that typo. Can't believe no one else has tried that sample code.
Hello all, its been a while since I've done any coding and I have a project where this simple RF remote control code would work perfectly. For right now I'm trying to compile the code as-is for the...
Ok we finally got the code working. This picture explains it much better. The yellow trace is a 1.5Khz square wave. The purple and green traces are the resulting outputs.
@ __CONFIG _INTOSCIO...
Hello all, I'm trying to figure out a way to have a 12F683 take a variable frequency square wave in and generate a pulse train out from two pins. The input would never go above 3Khz and the output...
This may help you a bit. I've been playing with the 12F683.
@ __CONFIG _INTOSCIO & _FCMEN_OFF & _IESO_OFF & _BOD_OFF & _BOD_OFF & _CP_OFF & _MCLRE_ON & _MCLRE_OFF & _PWRTE_ON & _WDT_OFF
...
Maybe try C:\...
All is working as it should. Many thanks.
Adam
I'm having a bit of trouble converting the EZCLOCK1 code to a 18F2620.
http://www.picbasic.co.uk/forum/showthread.php?t=2129
OPTION_REG=%00000111 'weak pullups on, TMRO prescale = 256...
An ugly way that would probably work are two long select case commands for HH and MM. If HH = 1 then... if HH = 2 then... etc etc. Maybe have one go from 00 to 59 and the other in reverse order to...
I'm in the process of building a large digital clock using VFD matrix tubes found on ebay. Here is an example of 5 tubes making up one digit:
http://www.youtube.com/watch?v=ACQd9gfyBRE
This...