Search Results - MEL PICBASIC Forum


Search:

Type: Posts; User: Ingvar; Keyword(s):

Page 1 of 4 1 2 3 4

Search: Search took 0.00 seconds.

  1. Replies
    16
    Views
    11,287

    Ouch, that brings back painful memories of the...

    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 ......
  2. Replies
    4
    Views
    3,560

    I would say that 60Hz would be too low when using...

    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,...
  3. Replies
    25
    Views
    16,842

    Pedro, Have you checked that all...

    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...
  4. Replies
    11
    Views
    8,364

    Hi Bill, You got the WDT right. I must say...

    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...
  5. Replies
    11
    Views
    9,116

    I would say this is not a very good method, the...

    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...
  6. Replies
    4
    Views
    3,025

    I might reconsider if someone(who may want to be...

    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
  7. Replies
    4
    Views
    3,025

    The only thing i can remember that could cause...

    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...
  8. Thread: 24V to 3.3V

    by Ingvar
    Replies
    4
    Views
    9,114

    http://www.romanblack.com/smps/smps.htm with some...

    http://www.romanblack.com/smps/smps.htm with some small changes.
  9. Replies
    2
    Views
    3,860

    This one works.........

    This one works......
    http://www.etc.ugal.ro/cchiculita/software/picbootloader.htm
  10. Replies
    1
    Views
    3,632

    underscore "_", it's in your manual. Section 8.2.

    underscore "_", it's in your manual. Section 8.2.
  11. Replies
    1
    Views
    2,178

    Not easy to say without seeing your code but...

    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...
  12. Replies
    18
    Views
    8,510

    Don't forget the "*/" and "**" operators.

    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...
  13. Replies
    2
    Views
    4,130

    Yep, this one works. I've tested it with 882,...

    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...
  14. Replies
    2
    Views
    2,629

    You have set up the comparator to use two...

    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....
  15. Replies
    8
    Views
    6,840

    Overvoltage with no current limiter is more or...

    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.
  16. Replies
    4
    Views
    4,518

    Keyboards ... forget it, cats just LOVE...

    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...
  17. Replies
    27
    Views
    56,912

    Well, i haven't used it exactly like this in...

    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...
  18. Replies
    27
    Views
    56,912

    If you choose a Pic that has the capability to...

    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....
  19. Replies
    27
    Views
    56,912

    I'd say that it is 2^16(65536) that is the right...

    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...
  20. Replies
    27
    Views
    56,912

    Bill, you mention that you had to use FP to...

    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"...
  21. Replies
    3
    Views
    3,158

    Hi there, It seems you found the thread...

    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...
  22. Replies
    2
    Views
    3,563

    Well, i've never used theese modern ones with...

    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...
  23. Replies
    28
    Views
    19,775

    Alain, surely that was obvious ....... ;) Nah,...

    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...
  24. Replies
    28
    Views
    19,775

    Good to know that we have working code ... if i...

    Good to know that we have working code ... if i ever buy one of theese PIRs.
  25. Replies
    28
    Views
    19,775

    My guess is that this code will work...... ...

    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 ...
Results 1 to 25 of 100
Page 1 of 4 1 2 3 4