ts-7000
[Top] [All Lists]

Re: [ts-7000] Using a button on 7400

To:
Subject: Re: [ts-7000] Using a button on 7400
From: Jason Stahls <>
Date: Tue, 27 Feb 2007 21:34:50 -0500
Gargh, silly variable width fonts...


  |
  |              1k            Switch
uC| ->DIO_1 ---/\/\/\/----------| |-+-------- 3.3v
  |                      |
  |                      |      10k
  |                      |----/\/\/\/-------- GND


Jason Stahls wrote:
> A 1k resistor on the DIO pin can't hurt and floating a input is generaly 
> a bad idea.  A floating input can change state unexpetantly, here's a 
> quick diagram of how I'd set it up.
>
>      |
>      |                      1k          Switch
> uC| ->DIO_1 ---/\/\/\/----------|  |--------- 3.3v
>      |                                |      10k
>      |                                |----/\/\/\/-------- GND
>
> A 1k resistor at the DIO port, 10k pull-down to ground and a switch to 
> 3.3v, to be honest I haven't tried this at 3.3v, only PIC's running at 
> 5v but these values should still work fine at 3.3v.
>
> Jason
>
>
> aussie_in_seattle wrote:
>   
>> Hi folks, a newbie hardware question, hope someone can put me on the
>> right path....
>>
>> I want to add a simple momentary pushbutton on DIO_01, and poll its
>> status with software.  Can I just wire the button between the 3.3V
>> supply and DIO_01?  i.e. input DIO_01 floats when NC, is at 3.3V when
>> pressed.
>>
>> This appears to work, but I'm wondering whether I should add a
>> resistor to limit current (if so, how do I determine the value?) or
>> any other circuitry for debouncing.
>>
>> cheers, Andrew
>>     


------------------------ Yahoo! Groups Sponsor --------------------~--> 
Great things are happening at Yahoo! Groups.  See the new email design.
http://us.click.yahoo.com/lOt0.A/hOaOAA/yQLSAA/CFFolB/TM
--------------------------------------------------------------------~-> 

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/ts-7000/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/ts-7000/join
    (Yahoo! ID required)

<*> To change settings via email:
     
    

<*> To unsubscribe from this group, send an email to:
    

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 

<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU