negative pulse I/O pin how to?


Closed Thread
Results 1 to 12 of 12

Hybrid View

  1. #1
    Join Date
    May 2008
    Posts
    9

    Question negative pulse I/O pin how to?

    Hi guys
    I want to set one of the pins on my pic chip to
    pulse a negative pulse.
    I have this 7 color leds with a microchip inside.
    There are 3 leads on the led anode cathode and a
    trigger for the chip. The trigger is a negative trip.

    I looked in my picbasic book but I dont seem to
    fine a command that lets you do this.
    Is it possible?
    And how is it done?
    Any help is much appreciated.
    Thanks

  2. #2
    Join Date
    Nov 2005
    Location
    Bombay, India
    Posts
    966


    Did you find this post helpful? Yes | No

    Default

    Ricky

    Please explain what do you mean by negative pulse. Negative logic? or Negative voltage pulse with respect to common ground. Negative logic is easy to do. Just do this
    Low PulseOutputPin
    High PulseOutputPin

  3. #3
    Join Date
    May 2008
    Posts
    9


    Did you find this post helpful? Yes | No

    Thumbs up

    Hi Jerson
    I want the pin to go from no volts to be a negative.
    And back to no volts.
    I can make them pos.+ no problem HIGH and LOW.
    Just dont know how to make it negative.
    Thanks

  4. #4
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    A cap on the output, charge it up, then dump the charge. You'll get a negative spike, but that's about it.
    If you read the datasheet for your particular PIC, you'll see under the 'Absolute Maximum Ratings' that negative voltages ( Vss - .3v depending on your PIC ) can damage your device.
    Simple way - Charge pump - ICL7660/ICL7662 - using a pin on the PIC and a transistor or MOSFET to control that output.

  5. #5
    Join Date
    May 2008
    Posts
    9


    Did you find this post helpful? Yes | No

    Default

    Hi Skimask
    Your way ahead of me.
    So I can use a cap. and charge it with a + voltage
    and use the -neg. to trigger the led?
    I think thats what your saying.

    Im a newbe and dont understand the transistors I
    know thay up the +volts from a pic chip pin.
    I see now I need to look in to changing + V to -V.
    I dont know how to do this.
    O boy did I take a big byte this time.
    HELP!

  6. #6
    Join Date
    May 2008
    Posts
    9


    Did you find this post helpful? Yes | No

    Thumbs up

    I just did some reading and I see that transistors work on the
    -neg. side I thank.
    This is good to know. See I dont know to much yet.
    Thanks for the input it helps.

    Ill have some more dumb Qs soon.

    Im a hobby electronic guy I just found the pic chip and what
    you can do with it a short time ago. It is so cool what you can do.

    And its not that much cash to get going.
    I did hand over the $250.00 for the full picbasic pro ver.
    That was a pane in the paycheck but I like it.
    So Im hooked on this stuff for now.
    Thank you guys!

Similar Threads

  1. Is this a K Type sensor?
    By jessey in forum mel PIC BASIC Pro
    Replies: 20
    Last Post: - 21st November 2009, 13:55
  2. Microcontroller with 2 way paging application problem
    By oneohthree in forum mel PIC BASIC Pro
    Replies: 30
    Last Post: - 20th April 2007, 17:27
  3. Another RTC, DS1287
    By DavidK in forum Code Examples
    Replies: 0
    Last Post: - 12th December 2006, 17:07
  4. Grounding Negative voltage through I/O pin
    By Squibcakes in forum Schematics
    Replies: 2
    Last Post: - 31st July 2006, 12:12
  5. I/O pin and MCLR
    By Dwayne in forum FAQ - Frequently Asked Questions
    Replies: 1
    Last Post: - 15th July 2004, 10:52

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