Need help with a PIC Turn Signal Reminder circuit for a motorcycle

Discussion in 'Embedded Systems and Microcontrollers' started by amaggion, Feb 16, 2009.

  1. amaggion

    Thread Starter New Member

    Feb 11, 2009
    1
    0
    Need help with a PIC Turn Signal Reminder circuit for a motorcycle
    can anyone help me with a similar circuit and PIC software?

    I need to build a turn signal alert circuit to remind me when motorcycle indicators have flashed more than 20 seconds, by activating a mini buzzer. The system does not count indicator flashes (20 seconds) if the brake lights is lit, so it is less likely to activate if you are waiting at a junction, with the brake on.
    Thanks
     
  2. Dutar

    Member

    Jan 27, 2009
    13
    0
    You can use change notification (CN) interrupt to detect the switching ON of signal and inside the interrupt loop after checking signal pin state enable a timer. For CN you can use both low to high and high to low, so that you can detect both switching ON and switching OFF.
     
Loading...