Ouch, that brings back painful memories of the time i stepped on an IC lying on it's back. No, i was not wearing shoes at the time ......
Type: Posts; User: Ingvar; Keyword(s):
Ouch, that brings back painful memories of the time i stepped on an IC lying on it's back. No, i was not wearing shoes at the time ......
I would say that 60Hz would be too low when using this type of PWM, i don't know about MIBAM since i've never used it. Using old(normal) style PWM you will see flickering when using low dutycycles,...
Pedro,
Have you checked that all resistorvalues are what they should be? It happens that resistors are faulty, or most common, wrong value was fitted at manufacturingtime. There could also be a...
Hi Bill,
You got the WDT right.
I must say that i've gone through more than my share of Microchips datasheets and i can't remember ever seeing anything else than the usual 0,2-0,8Vdd spec for...
I would say this is not a very good method, the heat is produced when you are overcharging(read damaging) the batteries. The whole idea is trying NOT to overcharge. Go with the delta V method, it...
I might reconsider if someone(who may want to be anonymous) is wearing her tight-leather catsuit with thigh-high boots and chromed spikey heels ....... 8-P
The only thing i can remember that could cause problems is the WDT. PBP handles it for you and normally there is no problem, but running at 32kHz may cause your PIC to reset periodically. If you have...
http://www.romanblack.com/smps/smps.htm with some small changes.
This one works......
http://www.etc.ugal.ro/cchiculita/software/picbootloader.htm
underscore "_", it's in your manual. Section 8.2.
Not easy to say without seeing your code but here's my two cents......
In the FAQ there is this thread. http://www.picbasic.co.uk/forum/showthread.php?t=545 .
Move similar codeblocks into...
OK, You want to scale a number by a constant factor. This is pretty easy using the "*/" and "**" operators. This way you can save some time since the calculations are pretty easy to do for the...
Yep, this one works. I've tested it with 882, which required me to write new config files for the loader. I also needed to recompile(Mplab) for diffrent different baudrates and clocks, no problems...
You have set up the comparator to use two comparators with a common reference at pin AN2. The problem is that you have no reference voltage at that pin, VRCON bit 6 should be set to output the Vref....
Overvoltage with no current limiter is more or less a bulletproof way to fry a pin on a pic. I've never seen the entire pic beeing fried from it though.
Keyboards ... forget it, cats just LOVE keyboards.
Wires ... no need to teach them, they learn on their own. I had a cat that loved to chew on cables. One day he acted really strange and never...
Well, i haven't used it exactly like this in exactly this application, but yes, i have used an AD like this. This is one of the reasons why there is the possibility to use external Vrefs.
It's...
If you choose a Pic that has the capability to use external Vref you can get about twice the resolution(above 15V). Put a 50/50 voltagedivider(2.5V) on Vref-, feed it with Vdd. Connect Vref+ to Vdd....
I'd say that it is 2^16(65536) that is the right value to use but that's not really important since the error we're talking about is 0,0015%. Your resistors and ADreference will produce a far greater...
Bill, you mention that you had to use FP to calculate, that's not necessary. You can save a lot of time and codespace by using ** instead. This operator makes your multiplication and an "invisible"...
Hi there,
It seems you found the thread http://www.picbasic.co.uk/forum/showthread.php?t=5296 , in post #7 you find the code i wrote. I haven't done anything with dsPIC, just started to see what...
Well, i've never used theese modern ones with integrated coils. I've only used the KMZ10 without the coils. Had to wind them myself which was a major pain in the ......
It all goes like this. The...
Alain, surely that was obvious ....... ;) Nah, must admit that it wasn't all that clear in the datasheet.
I figure the PIR must be driving the output with resistors since there would otherwise...
Good to know that we have working code ... if i ever buy one of theese PIRs.
My guess is that this code will work......
@ device pic12F675, protect_off, mclr_off
define OSC 4
DEFINE OSCCAL_1K 1 'Set OSCCAL for 1K device
DataPin VAR GPIO.0 ...