Problem connecting inputs on STK 500

Discussion in 'Embedded Systems and Microcontrollers' started by frogacult, May 11, 2008.

  1. frogacult

    Thread Starter Member

    Apr 30, 2008
    27
    0
    The circuit i've know its that u can activate(set) one pin by connecting gnd of stk to pin but this its working ony when the clips of one port to other r conected right with one wire. when i put a switch between gnd and pin it works when the swith its open but when its closed it doesnt stop it has some thing like an escape of voltage and its still works but without to much voltege and rapidly...

    How can i connect a switch into an input on STK500?
     
  2. hgmjr

    Moderator

    Jan 28, 2005
    9,030
    214
    The STK500's power input connector was designed so that power can be plugged in either polarity through the use of a 4-diode bridge rectifier.

    I think your problem stems from having the polarity of the power wired from your power source in the orientation that involves switching the ground side. The reason the board continues to work when the power switch is placed in the off position is that the ground is made through a sneak path.

    Try swapping the positive and negative power pins in your power cable.

    hgmjr
     
  3. frogacult

    Thread Starter Member

    Apr 30, 2008
    27
    0
    It worked :)
     
  4. hgmjr

    Moderator

    Jan 28, 2005
    9,030
    214
    That is terrific. I think you will enjoy using your STK500 board. The AVR devices are really fun to design with.

    hgmjr
     
Loading...