![]() | ![]() | ![]() |
| |||||||
| Micro Controllers Discuss all aspects of micro controllers - building them, coding them, etc. All controllers are welcome - PIC, BASIC, Z8 Encore!, etc. |
![]() |
| | Tools |
| | #1 |
|
I have a problem with this arrangement. The switch is placed 15M ahead. I used a CAT5 cable. The problem is sometimes it will make the PIC input low without pressing the switch. Any other method to overcome this? | |
| |
| | #2 | |
| Quote:
Use a 1K resistor in place of the 10K.
__________________ 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/ | ||
| |
| | #3 |
|
Add a capacitor on the input of the PIC, or a debounce routine in the program.
__________________ http://nottheboss.wordpress.com/ | |
| |
| | #4 |
|
Also make sure the two lead you are using are part of a twisted pair.
| |
| |
| | #5 |
|
Hi I modified the circuit is this good?
| |
| |
| | #6 |
|
You need to add a resistor (10k to 100k) across the 1u to make sure it discharges. You don't really need the transistor. Just use a 1k to 10k and 1u in parallel.
Last edited by colin55; 30th October 2009 at 08:41 PM. | |
| |
|
| Tags |
| input, length, pic, wire |
| Thread Tools | |
| Display Modes | |
| |
Similar | ||||
| Title | Starter | Forum | Replies | Latest |
| Pic Output - cable length | Wp100 | Micro Controllers | 1 | 10th October 2009 12:21 PM |
| Noisy Long Wire effect my Microcontroller Digital input | ksaomar | Electronic Projects Design/Ideas/Reviews | 12 | 3rd May 2009 07:07 AM |
| PIC instructions length | french_student | Micro Controllers | 6 | 19th December 2003 01:58 PM |
| Approx. resistance, cap, inductance of length of wire | bigdog | General Electronics Chat | 2 | 12th March 2003 11:16 PM |
| PIC through live wire communication | etix6x2000 | Micro Controllers | 3 | 11th March 2003 05:18 PM |