Search Results - MEL PICBASIC Forum


Search:

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

Page 1 of 2 1 2

Search: Search took 0.00 seconds.

  1. Replies
    3
    Views
    2,994

    thanks, I'll check it out

    Thanks

    Duncan
  2. Replies
    3
    Views
    2,994

    GPS modules for use with PIC?

    Has anybody used any OEM style gps modules with PIC. I'd prefer to stay away from USB interface. Any info/recommendations appreciated.
  3. Replies
    4
    Views
    2,794

    Have you got your oscillator mode set right? I...

    Have you got your oscillator mode set right? I think it is HS for crystal..don't have my documaentation in front of me but I have had trouble with forgetting this.
  4. Replies
    5
    Views
    4,248

    Thanks for all the input. I did try some small...

    Thanks for all the input. I did try some small (.1-.2 mF) caps at the in and out of the reg. On the in side, seemed to help. On the out, seemed to aggravate the problem. I will check the LV...
  5. Replies
    5
    Views
    4,248

    problems on power up of PIC

    Hi all

    I have a project using the PIC 16F876A. I'm having a problem with that appears to be the program memory resetting or erasing randomly on power up.

    I'm using a wall wart at 12 vdc to...
  6. Replies
    68
    Views
    76,935

    VB.net or whatever you want to call it is no...

    VB.net or whatever you want to call it is no doubt the next generation, but VB6 is still around and is very robust.I do quite a bit of work with it and I find it has very few shortcomings for what I...
  7. Replies
    22
    Views
    12,409

    Index usually gives a pulse at one particular...

    Index usually gives a pulse at one particular point in each turn of the encoder, like a "home" signal.
  8. Replies
    22
    Views
    12,409

    2) I don't think the encoders in the picture are...

    2) I don't think the encoders in the picture are direction sensing (Quadrature). You need an encoder with two output signals, out of phase with each other.

    1) With a quadrature signal (phase a and...
  9. Thread: Freqin??

    by dmairspotter
    Replies
    4
    Views
    3,000

    Could you make PULSIN work?

    Could you make PULSIN work?
  10. Replies
    5
    Views
    3,221

    If I understand your desired function correctly,...

    If I understand your desired function correctly, maybe this idea?

    counter var byte ' a counter for the alarm condition

    mainloop:

    gosub getA ' get the range value

    'display the...
  11. Replies
    6
    Views
    5,580

    You should drop out of the While...wend loop when...

    You should drop out of the While...wend loop when the button is pushed or if the x variable exceeds 300. AH HA! In your code, X is a byte so never exceeds 255. Either change

    (x<300) to (x<253) or...
  12. Replies
    6
    Views
    5,580

    How about Confirmation: confirm_flag=0 x=0...

    How about

    Confirmation:

    confirm_flag=0
    x=0

    WHILE (x<300) and (confirm_flag=0)

    Pause 10 'check for button every 10ms
  13. Replies
    1
    Views
    2,958

    Not sure I understand your circuit. One end of...

    Not sure I understand your circuit. One end of 47k resistor at GND, other end at Portb.x. One end of switch to portb.x, other end to +5. If this is it, it would seem that you could get floating...
  14. Replies
    3
    Views
    2,927

    Could you explain what problem you are having...

    Could you explain what problem you are having with your code?
  15. Replies
    6
    Views
    5,557

    PAUSE is limited to 65535 milliseconds (65.534)...

    PAUSE is limited to 65535 milliseconds (65.534) seconds
  16. Replies
    9
    Views
    7,200

    DEFINE SHIFT_PAUSEUS xx where xx is some number...

    DEFINE SHIFT_PAUSEUS xx where xx is some number will slow down the SDI transmission. Looking at the data sheet, it shouldn't be necessary but maybe worth a try? No harm in trying to make up one 16...
  17. Replies
    5
    Views
    5,868

    I'm fairly new also

    but it would seem like you could implement this on one PIC chip, like the 16F876A

    PORTA analog inputs

    PORTB 8 digital out
    PORTC 8 digital out

    either use a mux chip to select the cells to be...
  18. Replies
    9
    Views
    7,200

    Try mode 5? DEFINE SHIFT_PAUSEUS xx?

    Try mode 5?

    DEFINE SHIFT_PAUSEUS xx?
  19. Replies
    16
    Views
    12,987

    Did something similar

    a long time ago in a PC. I basically took an amp reading every second and added 1/3600th of the reading to a register. Basically integrating the amps to get amp hours. Seems like you could do...
  20. Replies
    4
    Views
    4,395

    Thanks Darrel

    now I can save a word!
  21. Replies
    4
    Views
    4,395

    answered my own question...duh!

    Apparently, you must use a word variable to generate the 32 bit result


    add to my original code

    a VAR WORD
    b VAR WORD

    a=500
    b=1000
  22. Replies
    4
    Views
    4,395

    DIV32 confusion

    Heres my code, (values taken from the PBPro manual to try and make it work)

    s_const VAR WORD
    v_raw VAR WORD

    .
    .
    .
    s_const = 500*1000 's_const should equal 500000 internally
    v_raw =...
  23. Replies
    3
    Views
    5,563

    Mecanique has confirmed that the PICkit 2 is not...

    Mecanique has confirmed that the PICkit 2 is not compatible with MCS at this time. No mention of any plans to make it so.
  24. Replies
    4
    Views
    3,248

    Thanks Mike. I use the EPIC and have designed my...

    Thanks Mike. I use the EPIC and have designed my circuit boards with the 10 pin header for programming.

    If I maintain this setup, I understand that the bootlader is not required.

    Thanks for...
  25. Replies
    43
    Views
    62,389

    Express PCB

    Express PCB has a schematic program you can download for free. It seems to be pretty good, but I'm no expert. Has a large library of parts. Way better than Paint.

    Can be linked to their PCB...
Results 1 to 25 of 28
Page 1 of 2 1 2