5v From Serial Port


Closed Thread
Results 1 to 4 of 4
  1. #1
    TONIGALEA's Avatar
    TONIGALEA Guest

    Default 5v From Serial Port

    Hi everyone
    Just wanted to know if its posisble to derive 5v from the PC serial port to drive the pic

    Toni

  2. #2
    Join Date
    Jan 2004
    Location
    Thessaloniki , GREECE
    Posts
    61


    Did you find this post helpful? Yes | No

    Default 5v from serial to PIC

    Hi!

    A method that I have tried and works nice is the following:
    9PIN Serial

    pin6(DSR)+pin7(RTS)+pin8(CTS) wired together goes
    through a diode 1n4148 to the input of a 78L05 . The ouput
    of the 78L05 goes to pin14 (Vdd) of the pic and Here it is!
    Don;t forget the ground pin5

    (DSR)+(RTS)+(CTS)-----------|>-|------IN GND OUT ------(to Vdd pic)
    ........................................1N4148.... ......78L05....................PIC
    Note: use only 78L05 regulator and you can also
    put an electrolytic capacitor 10uf/16v to the input of 78L05 to the ground.

    Attention: You can not draw to much mah from the serial port
    but it is ok to supply a single pic and low currnet peripherals.

    ALWAYS Use an extra serial card in you PC in order not to blow up
    your on-board stuff!
    Last edited by bitmaniac; - 29th November 2004 at 12:49.

  3. #3
    TONIGALEA's Avatar
    TONIGALEA Guest


    Did you find this post helpful? Yes | No

    Default

    thank you very much
    i only need to use it to power a max232 as i have tried in vain to reduce the current taken from my pic when in sleep mode
    but i still get about 3mA
    so i just thought that if i power the max232 from the pc it should
    draw current from the battery
    when i completely remove both the 5v and gnd from the max232
    my pic in sleep mode is 45uA which is good


    Toni

  4. #4
    TONIGALEA's Avatar
    TONIGALEA Guest


    Did you find this post helpful? Yes | No

    Default

    Just a thought i am using a 9 way D-Type serial port

Similar Threads

  1. serial port program in c
    By naveenupendran in forum Off Topic
    Replies: 0
    Last Post: - 28th February 2009, 11:47
  2. interfacing to the pc serial port
    By kelangfei in forum General
    Replies: 4
    Last Post: - 7th October 2007, 22:35
  3. Microcontroller with 2 way paging application problem
    By oneohthree in forum mel PIC BASIC Pro
    Replies: 30
    Last Post: - 20th April 2007, 17:27
  4. serial port control relay
    By win_832001 in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 23rd June 2006, 23:56
  5. Replies: 2
    Last Post: - 28th April 2006, 12:10

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