Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Forums > General Electronics Chat


General Electronics Chat This forum is for general chat about electronics, eg: Dont know what a part does? Dont know how to read a circuit? Want to get an opinion?

Reply
 
Tools
Old 29th October 2009, 01:16 PM   #1
Default Input I/O port debounce time

Hi,
Normally,our project toy whose Ic input I/O port have 5-50ms debounce time.Those IC have put down capacitor 0.1uF and resistor 1Mohm!
My question is: whether I can cancel capacitor 0.1uF and resistor 1Mohm in order to save money. If I cancel them that mean those Input I/O port is floating,what will influence toy electronic function? Do it happen abnormal.
wealth210 is offline  
Old 29th October 2009, 01:23 PM   #2
Default

Quote:
Originally Posted by wealth210 View Post
Hi,
Normally,our project toy whose Ic input I/O port have 5-50ms debounce time.Those IC have put down capacitor 0.1uF and resistor 1Mohm!
My question is: whether I can cancel capacitor 0.1uF and resistor 1Mohm in order to save money. If I cancel them that mean those Input I/O port is floating,what will influence toy electronic function? Do it happen abnormal.
hi,
If you dont have some pullup or down and the input pin is floating its voltage level will be unpredictable and will not work correctly.

Whih PIC are you using.?
__________________
Eric " Good enough is Perfect "
I will NOT answer PM's requesting technical help, please use the Forum
PIC tutorials: Nigel's www.winpicprog.co.uk/ Bill's: www.blueroomelectronics.com/
ericgibbs is offline  
Old 30th October 2009, 02:10 PM   #3
Default

Dear Eric,
Using GPC768A1,its input Port IOD0~IOD7 are without pull down resistor.
But have debounce time 32ms,how to make sure if the electronic function ok or not without pull down resistor? Thank you.
Additionaly,The reset circuit use diode+Resistor,pls see the attachment,why use diode? if I cancel diode,reset function is ok,no other wrong happen?
Attached Thumbnails
Input I/O port debounce time-reset-circuit.jpg  
wealth210 is offline  
Old 30th October 2009, 02:15 PM   #4
Default

The diode is there to discharge the capacitor when the power is turned off. Best to just leave it in.
__________________
You don't need a quadraphonic Blaupunkt -- you need a curve
ball.

Last edited by BrownOut; 30th October 2009 at 02:21 PM.
BrownOut is offline  
Old 1st November 2009, 01:00 PM   #5
Default

Hi,
Thank you BrownOut.
Besides,Form the datasheet,We read that this IC GPC11768A1 is active low to reset whole system,but now It is connected 100K resistor to VDD, when Power on,Its resest pin is connected to VDD=3.6v,not low voltage or GND.How to understand this case?
wealth210 is offline  
Old 1st November 2009, 03:25 PM   #6
Default

In normal operation, you want the reset pin connected to VDD. But at turn on, the voltage on the capacitor is 0V ( partially because of the diode ) It takes awhile for the cap to charge up to the operating voltage VDD. During that charging time, the voltage is below the reset voltage threshold, assuming that the values of the capacitor and resistor are chosen properly. If you have a power glitch, the diode will discharge the capacitor, and the curcuit will be in reset with power returns.
__________________
You don't need a quadraphonic Blaupunkt -- you need a curve
ball.

Last edited by BrownOut; 1st November 2009 at 03:26 PM.
BrownOut is offline  
Old 3rd November 2009, 12:22 PM   #7
Default

Dear BrownOut,
Thank you again.
1. If this circuit cancel 0.1uf capactitor,VDD connect 100K resistor to pin Reset,
when power turn on,Wheter it can reset the whole system?
2. For RC charge circuit ,if we want pin reset get VDD voltage,it need time
t=(3~5)RC=30ms~50ms,Right?
3. How to get to know if the value of the resistor 100K and capacitor
0.1uf are chosen properly?
Thank you in advance.
wealth210 is offline  
Old 3rd November 2009, 01:14 PM   #8
Default

1. Don't know what you're asking
2. Look at the product datasheet for reset time spec
3. Use the RC time constant and the specfication from #2 to analyze.
__________________
You don't need a quadraphonic Blaupunkt -- you need a curve
ball.

Last edited by BrownOut; 3rd November 2009 at 01:36 PM.
BrownOut is offline  
Reply

Tags
debounce, i or o, input, port, time

Thread Tools
Display Modes


Similar
Title Starter Forum Replies Latest
time dependent input for pic cyberbaby Micro Controllers 1 10th January 2009 03:58 PM
help!!how to share the same input port?? meera83 Electronic Projects Design/Ideas/Reviews 1 4th February 2007 02:20 PM
Logic switching time on an input port question FusionITR Micro Controllers 8 24th March 2006 03:58 PM
Parallel port input sonaiko General Electronics Chat 4 17th June 2005 11:37 AM
printer port input... ikalogic General Electronics Chat 3 9th January 2004 05:03 AM



All times are GMT. The time now is 03:01 AM.


Electronic Circuits  |  Learning Electronics
eXTReMe Tracker