It's a clock keeping code so you work "accumulating cycles", if you use an RC source, even if you calibrate it to a perfect frequency within a few days you will have noticeable drift because of...
Type: Posts; User: El_AMPo; Keyword(s):
It's a clock keeping code so you work "accumulating cycles", if you use an RC source, even if you calibrate it to a perfect frequency within a few days you will have noticeable drift because of...
It's quite similar your chip configs to what i'm using. 12F683 seems like a nice little chip, but still for timing applications you need an external Xtal, INTRC its not enough after some days...
In 16F84 MCLR pin can't be disabled, so 4k7 resistor pullup to +5V or its never going to work
Also for the used inputs use 10K pullups and instead of using the button command, try something a lot...
The problem with the watchdog is that it's not a reliable clock source for timing applications.
Maybe running the Timer1 counter from the main crystal while the pic processor is sleeping.
I know...
I'm building a coin battery (CR2032) operated clock with a 12F629
The program uses TIMER1 interrupt configured to reload at 100hz and refresh variables each time.
On the main loop there is just...
You've got a redundancy in your code (maybe on purpose),
First you activate the timer = 1 flag, and in the next line of code you put an " IF timer = 1..."
Also the second IF THEN ELSE is inside...
I've made some code that might help you.
It was for a high voltage SPDT servo switch for my research.
It sends a 1 second burst signal to the servo and then release it.
Usually thats more than...
Try only feeding the pic with a 1000uF capacitor when the power is cut and the switching from main to battery takes place.
How? leave the two diodes but after the regulator one for the battery,...
Video of the tree working with this sequence:
http://www.youtube.com/watch?v=pJCk5tPGW4I&feature=player_embedded
Video recorders "hate" POV displays, but nice eyecandy anyway.
My gift to the forum this holidays...
http://img840.imageshack.us/img840/7983/24122010122.th.jpg
Your own PicBasic controlled Christmas POV tree.
Good for gift, tabletop or office...
He didn't ask for hifi, anyway for hifi better stay with the motorized pot.
Or turn all your broadcast to digital (probably their source is digital so no point in DAC->super wire->super pot) but...
Been there, found this guy:
AN5262
It's a tv volume control IC. Really cheap, really nice and linear at work. Just connect it to a R2R DAC or similar and you're done (if you find the spare...
Remember that most 12Fs usually have an input only pin (mclr/gp3) but yes with charlieplexing and driving your leds at a higher current / lower pulse width should do the trick.
Anyway if you want...
Aratti,
i've found a glitch in the microstepping mode, maybe you can confirm if it's software related.
If you enummerate the coils from A to D, then when changing from coil D to A the transition...
You can build up an interpreter for the serial stream with another pic, no so pretty but is a simple and fast solution.
Working fine on the 16F628A
In my design I upgraded the power stage to an ULN2068 (1.5A max per output) and put an embedded FTDI usb to USART chip. All on a 100x50mm single sided PCB (I'll share...
Since no response for a while maybe i can help a little.
The logic behind ANY stable propeller clock is that you need to generate a burst of "led lines" of a specific delay time each so that they...
Seems like a nice way of driving steppers, really a clever solution with gate logic.
(long live gates, gates are[n't] dead)
One question:
The hex file included is version compatible with the...
Already done it...
The best way to do it and get some range is with an infrared led and a REGULAR phototransistor (No dark/vis coating), and it's really cheap. (Sorry I'm not a fan of $10usd...
Already made the same mistake.
The pin order around opto and triac must be mantained to keep driving properties.
Pin4 -> resistor -> Gate
Pin6 -> mains
Pin6 if i remember can be connected...
Check how old fashion wet bulb hygrometers work,
http://www.agri-shop.co.uk/whirling-hygrometer-37-p.asp
Spinning all around but still the best readings, so no problem with the winding, probably a...
Thanks Darrel,
As usual your INCLUDES are awesome.
P.D.: I would buy you a beer but then is the problem of distance
Any local brewery that takes online orders? :)
Just to add a drop :),
I've built a proximity sensor from IR led + IR-VIs Phototransistor for the pic.
Really a low parts count solution and works like charm in the range of 2-30cm if you apply...
Maybe i'm reviving the dead with this post (topic refered), but i like to make a statement in behalf of a lot of people here in the forum, including myself.
The only teacher we will ever have for...
Just to add to the "idea pool" of minimal digit displays.
Usually i'm too lazy to wire a seven segment display to a protoboard design just to debug a value in a variable.
For that reason, i've...