Interfacing with an LM1815 - help

Discussion in 'Embedded Systems and Microcontrollers' started by JamesCarruthers, May 29, 2009.

  1. JamesCarruthers

    Thread Starter New Member

    May 25, 2009
    4
    0
  2. JamesCarruthers

    Thread Starter New Member

    May 25, 2009
    4
    0
    Ok - got this wired up on my breadboard.

    I've set up an attachInterrupt to println("change") to the serial console but it's constantly sending that. Something is wrong [​IMG]

    The output is around 2.8 to 3 volts - it goes lower (>1 or so) when I put a piece of metal in front of the VR sensor. So it seems to be working to some degree.

    I'm guessing because it's not going to 5 or 0 but somewhere in between?
     
  3. JamesCarruthers

    Thread Starter New Member

    May 25, 2009
    4
    0
    Got it working, had to swap the VR sensor wires. Works well now :)

    Except that all of a sudden my Arduino just seems to be counting up and up rather than the number of pulses (made a simple program for testing to do this)... guessing I might have killed it somehow...?
     
Loading...