How to make PWM to all the pins at the portB in same time on 16f628


Closed Thread
Results 1 to 12 of 12

Hybrid View

  1. #1

    Default How to make PWM to all the pins at the portB in same time on 16f628

    How to make PWM to all the pins at the portB in same time on 16f628
    or is there another command: for example, eight LEDs connected portb 0,1,2,3,4,5,6,7 to work with 50% at the same time.
    At the same time to light and perish one by one with 100%.
    but never to perish under 50%.

    please help

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


    Did you find this post helpful? Yes | No

    Default

    Use a 7408.

    Connect one input of each "AND" to PWM output of F628A, all other inputs to your PORTB pins.

    Whenever and whichever of your PORTB pin is high, you will get the same PWM output.
    "If the Earth were a single state, Istanbul would be its capital." Napoleon Bonaparte

  3. #3


    Did you find this post helpful? Yes | No

    Smile

    Quote Originally Posted by sayzer View Post
    Use a 7408.

    Connect one input of each "AND" to PWM output of F628A, all other inputs to your PORTB pins.

    Whenever and whichever of your PORTB pin is high, you will get the same PWM output.
    CAN YOU tell me examples of how to do it

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


    Did you find this post helpful? Yes | No

    Default

    This picture is from WEB.
    Attached Images Attached Images  
    "If the Earth were a single state, Istanbul would be its capital." Napoleon Bonaparte

  5. #5


    Did you find this post helpful? Yes | No

    Default

    http://picprojects.org.uk/projects/l...rpwm/index.htm
    vivi this. In assembly language, I do not understand assembly,
    Watch the clip 1.30 to 1.50 min. That I want to do but do not know how the PICBASIC PRO

  6. #6
    Join Date
    Feb 2006
    Location
    Gilroy, CA
    Posts
    1,530


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by dejankengur View Post
    http://picprojects.org.uk/projects/l...rpwm/index.htm
    vivi this. In assembly language, I do not understand assembly,
    Watch the clip 1.30 to 1.50 min. That I want to do but do not know how the PICBASIC PRO
    There are a lot of effects in that video. This will do the "scanner" part: http://www.picbasic.co.uk/forum/showthread.php?t=10564&p=70256#post70256
    http://www.scalerobotics.com

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


    Did you find this post helpful? Yes | No

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