Help with pic16F877


Closed Thread
Results 1 to 3 of 3
  1. #1
    fadibasic's Avatar
    fadibasic Guest

    Default Help with pic16F877

    Hi guys,
    I am not sure if it will be an issue or not, but I want to ask a question about portA.4
    I have read the spec sheet, and PortA.4 is an open drain, which means current will always flow to the microchip.
    what I am worry about is if the microchip is safe if I have a transistor (emitter side) connected to the pin, the Base (B) connected to the 5 Vdc and the collector (C) to 24Vdc.

    Can PortA.4 be configured so that it becomes an output. so that it behaves just like the other PortA pins.

  2. #2
    Join Date
    Jan 2006
    Location
    Istanbul
    Posts
    1,185


    Did you find this post helpful? Yes | No

    Default

    Why don't you pull this pin to Vdd with a resistor, say 10K or 4K7 ?

    -------------------
    "If the Earth were a single state, Istanbul would be its capital." Napoleon Bonaparte

  3. #3
    fadibasic's Avatar
    fadibasic Guest


    Did you find this post helpful? Yes | No

    Default

    Please can you explain to me what happens if we do that?
    what do you mean by PULL? like I split the current going to PortA.4 with VDD.

Similar Threads

  1. PIC16f877 code crosses boundary @800h
    By inventosrl in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 6th April 2009, 22:03
  2. PIC16F877 I2C programme
    By cooqo in forum mel PIC BASIC
    Replies: 3
    Last Post: - 21st April 2008, 10:02
  3. Replies: 8
    Last Post: - 17th January 2007, 19:18
  4. Ericsson T10 interface with PIC16F877
    By jam547 in forum GSM
    Replies: 0
    Last Post: - 25th March 2006, 22:27
  5. USB interface from PIC16F877 to PC
    By headshouter in forum USB
    Replies: 0
    Last Post: - 26th February 2006, 04:58

Members who have read this thread : 1

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts