OT: Hardware question


Closed Thread
Results 1 to 6 of 6
  1. #1
    Join Date
    Mar 2008
    Posts
    43

    Default OT: Hardware question

    I am using a PIC18F2450 that is powered with 5v. I need two of my outputs to go to about 7.5 volts or at least a RTS DTR level. What is the best way to accomplish this?

    Thanks,
    Bob

  2. #2
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    Usually a MAX232 or similar is used for serial stuff.

    But you could roll your own with a transistor or mosfet.
    Dave
    Always wear safety glasses while programming.

  3. #3
    Join Date
    Mar 2008
    Posts
    43


    Did you find this post helpful? Yes | No

    Default

    No this isn't for serial, I have a device that I need to communicate with that uses only the RTS, DTR lines to communicate. It just counts the pulses on each line.

    Bob

  4. #4
    Join Date
    Mar 2008
    Posts
    43


    Did you find this post helpful? Yes | No

    Default

    Do you know what parts I might need?

  5. #5
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    Dave
    Always wear safety glasses while programming.

  6. #6
    Join Date
    Mar 2003
    Location
    Commerce Michigan USA
    Posts
    1,166


    Did you find this post helpful? Yes | No

    Default

    BobPlant, If you are just receiving (counting) pulses from some external device, just use a voltage divider set to give you 5 volts out from your 7.5 volt source. Then you can just use any pin as an input....

    Dave Purola,
    N8NTA

Members who have read this thread : 0

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