![]() |
![]() |
![]() |
|
|
|||||||
| Micro Controllers Discuss all aspects of micro controllers - building them, coding them, etc. All controllers are welcome - PIC, BASIC, Z8 Encore!, etc. |
|
|
Thread Tools | Display Modes |
|
|
(permalink) |
|
What a cryptic title for a thread! I'm using a 16F84, RB0 is being used to detect the negative edge on the line of an old 8 bit computer I have. I can detect the change fine when polling, but when using it to trigger an interupt it fails. It seems that a Schmitt Trigger is used on RB0 when INTCON, INTE is set, so I am assuming the signal level is too low for the ST. Is there a simple way to boost this signal??
|
|
|
|
|
|
|
(permalink) | |
|
Quote:
__________________
--- The days of the digital watch are numbered. --- |
||
|
|
|
|
|
(permalink) |
|
if the polling works then I don't think it's logic levels. More then likely something is wrong with you code. Make sure the global interrupt is enabled
|
|
|
|
|
|
|
(permalink) |
|
I get a reading of +1.3v/+0v on my scope. I've found a solution using a MAX232, but I don't have one. The connection is T1IN-T1OUT-R2IN-R2OUT, basically converting TTL-RS232-TTL.
|
|
|
|
|
|
|
(permalink) |
|
If you have 1.3/0 then a pullup (4.7K as suggested above) to Vdd and a diode between the pin and the signal (Anode to pic input) will give you 5.0/0.7 on the pic input. Much cheaper than a MAX232.
Mike. edit, woops, no it won't. It will give you 2.0/0.7 unless it's an open collector output in which case you only need the pullup. Worth a try. Last edited by Pommie; 6th November 2006 at 03:59 AM. |
|
|
|
|
|
|
(permalink) | |
|
Quote:
|
||
|
|
|
|
|
(permalink) | |
|
Quote:
|
||
|
|
|
|
|
(permalink) | |
|
Quote:
|
||
|
|
|
|
|
(permalink) | |
|
Quote:
It's a TTL converter for non-TTL signals. |
||
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Latest |
| PIC 16F84 to 16F628a question | lompa | Micro Controllers | 14 | 6th September 2007 12:33 PM |
| pic 16F84 programmer | yuchween | Micro Controllers | 3 | 11th August 2006 03:40 PM |
| code convertion 16F628 -> 16F84 | patroclus | Micro Controllers | 6 | 6th April 2006 08:34 PM |
| 16f84 to 16f877 | Ricardoco | Micro Controllers | 11 | 16th December 2004 05:38 AM |
| about 16f84 and 16f877 | Nesha | Micro Controllers | 1 | 9th November 2004 02:20 PM |