Search Results - MEL PICBASIC Forum


Search:

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

Search: Search took 0.00 seconds.

  1. Replies
    33
    Views
    27,120

    Re: Rotary encoder with DT interrupts

    No, 5v all the way unless the app calls for 3v3 (typically when I use a Nokia GLCD). In any case the PIC should be able to handle 3v3 at low speeds, surely?

    The pcb has bunches of decoupling...
  2. Replies
    33
    Views
    27,120

    Re: Rotary encoder with DT interrupts

    Hi All,

    Just had a chance to try Mike's suggestion, terminal result below, still no good.



    Power-on: 00011001 - 00011101
    Priming PCON: 00011001 - 00011111

    I'm Alive
  3. Replies
    33
    Views
    27,120

    Re: Rotary encoder with DT interrupts

    Well, I found and tried another (new) 1788 but no difference. Fully isolating the programming cable and interface also made no difference, the fault persists.

    I then went to a 16F886 and made...
  4. Replies
    33
    Views
    27,120

    Re: Rotary encoder with DT interrupts

    Hi Richard,

    I made a general purpose pcb a while ago for dil28 PICs that has breakouts for each pin and a 'shield' that sits over it for ease of changing displays (Nokia, 16x2, GLCD, etc). It has...
  5. Replies
    33
    Views
    27,120

    Re: Rotary encoder with DT interrupts

    Thanks for your help guys,

    @ Ioannis
    Disabling the WDT was one of the first things I tried, no change.

    @ Henrik
    Please see terminal capture below after including your suggested debug code...
  6. Replies
    33
    Views
    27,120

    Re: Rotary encoder with DT interrupts

    Hi Henrik,

    Thanks for joining, your input is welcome.

    Inserting your code shows (terminal output):



    00011001 - 01010100
  7. Replies
    33
    Views
    27,120

    Re: Rotary encoder with DT interrupts

    Hi Richard,

    I don't see where you're going with your comments, maybe I'm just thick.

    In any case the Int Handler does recognize CW and CCW correctly with every turn and RE_val does increment or...
  8. Replies
    33
    Views
    27,120

    Re: Rotary encoder with DT interrupts

    Hi Richard,

    Thanks for your help and guidance, as always.

    I took your hints and made appropriate adjustments (see below) but the rogue serial persists... With your preferred method I'd like to...
  9. Replies
    33
    Views
    27,120

    Re: Rotary encoder with DT interrupts

    Hi Folks,

    I'm trying to get my head around what is happening with my attempt at using a Rotary Encoder... it is functional however something weird is happening periodically returning from the...
Results 1 to 9 of 9