CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to support@ccsinfo.com

OT: DTR Monitor not through a dedicated RS232 Shifter

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
Guest








OT: DTR Monitor not through a dedicated RS232 Shifter
PostPosted: Fri Jul 21, 2006 10:29 am     Reply with quote

Is this an OK way to monitor the DTR at a 3.3V PIC?

Code:

      Schottky    10K Cur. Limiter

DTR------>|-------/\/\/\-----------------PIC
                            |       |
                            |       |
                            |       |
                            -       \
                3V Zener    A       /   10M pull down
                            |       \
                            |       |
                            |       |
                           GND     GND


Thanks.
asmallri



Joined: 12 Aug 2004
Posts: 1634
Location: Perth, Australia

View user's profile Send private message Send e-mail Visit poster's website

PostPosted: Fri Jul 21, 2006 6:30 pm     Reply with quote

This will work however - I would increase the 10K to 47K and I would decrease the 10M to 1M. You do not actually need the zener because the input protection diode of the PIC and the 47K resistor limit the current into the PIC.

An simpler alternative is to remove the input diode and replace the zener with a normal diode.
_________________
Regards, Andrew

http://www.brushelectronics.com/software
Home of Ethernet, SD card and Encrypted Serial Bootloaders for PICs!!
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group