Interfacing external interrupt pins

Kailas V. Shetye
Hi,

I have Micro2440 SDK.  I want to interface doorbell button with some
external interrupt pin on con6.  Can anybody guide me on this.

TIA

Kailas

vikas
Can I connect con8's pin 1 i.e. EINT8 to GND to emulate K1 pressed? if yes,
what resistor and capacitor should be used?

Killerwatt
> Can I connect con8's pin 1 i.e. EINT8 to GND K1 pressed to emulate? if
yes,
> what resistor and capacitor should be used?

The resistance is still present on the board. (R33/10K)
If you "EINT8" simply to "negative draw" is the current cycle as well shut,
as if you were to press K1.
The external switch should also be bounced, or there are thousands of
pulses!

Killerwatt
Careful!
This applies only to the micro2440, not for the mini2440 !!!!!

Vikas
Really thanks Killerwatt, I can interface doorbell to this pin now.  So
that on pressing it, board will detect K1 pressed and can take photograph
silently as well as ring the bell using relay.

Hope to receive help on my silly questions in future.

Thanks and regards,

Vikas

davef
>The external switch should also be bounced, or there are thousands of
>pulses!

The key word here should be "debounced".  Search for <debounce ganssle> "A
Guide to debouncing". Then, for real-life situations and code examples head
over to www.avrfreaks.net and put <debounce> in their search engine.

Good luck!

Killerwatt
Right! 
"Google Translate" has played a trick on me.
Also resistor to resistance.
For debounce, there is a simple wait cycle, worked perfectly.

Killerwatt (Ger)