Making a flying star effect with LEDs


Closed Thread
Results 1 to 23 of 23

Hybrid View

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


    Did you find this post helpful? Yes | No

    Default Re: Making a flying star effect with LEDs

    You may use this to create flying star effect.

    http://www.picbasic.co.uk/forum/showthread.php?t=10564
    "If the Earth were a single state, Istanbul would be its capital." Napoleon Bonaparte

  2. #2
    Join Date
    May 2009
    Location
    Montreal, QC, Canada
    Posts
    118


    Did you find this post helpful? Yes | No

    Default Re: Making a flying star effect with LEDs

    This is going to be handy, I've been pulling my hair out all day trying to figure this out.

    Thanks for the link.

    Mike

  3. #3
    Join Date
    Sep 2005
    Location
    Campbell, CA
    Posts
    1,107


    Did you find this post helpful? Yes | No

    Default Re: Making a flying star effect with LEDs

    PLEASE put resistors in series with the LEDs. LEDS ARE NOT INCANDESCENT LAMPS!!
    Charles Linquist

  4. #4
    Join Date
    Oct 2005
    Location
    Sweden
    Posts
    3,626


    Did you find this post helpful? Yes | No

    Default Re: Making a flying star effect with LEDs

    It does not show on my drawing but I have a resistor on each led's anode
    Even so, depending on how much current you push thru the LEDs there might be (probably is) to much current going into B0-B3. If the LED current is 10mA and you set B4-B7 there will be a total current of 40mA going into B0-B3 when you pull them low. That's beyond the specification for the PIC I/O pin.

  5. #5
    Join Date
    May 2009
    Location
    Montreal, QC, Canada
    Posts
    118


    Did you find this post helpful? Yes | No

    Default Re: Making a flying star effect with LEDs

    Yes I realized that's what you meant after responding. I am presently in a test environment and just using a LED bar graph type and pushing +/-5mA
    My final product will probably have transistors for each row/col.
    If I can just understand how to code using BAM, the rest will be simple. I have read many websites about BCM/BAM but for some reason I am not getting it. I have yet to find the one explanation that will have probably just a slight difference in the way it is explained that I will understand.

    I don't want to just copy some code to make it work, I want to understand and manipulate this at ease.

    Mike

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


    Did you find this post helpful? Yes | No

    Default Re: Making a flying star effect with LEDs

    If you are driving some LEDs directly without any resistor, you should be pulsing it.
    This subject differs from designer to designer.
    Some argue that it is wrong.
    Some say that it is perfectly normal.
    Some argue the people (not the subject) who say it is perfectly normal.
    Some argue the people back, not the subject.
    So why don't you try driving your LEDs without any resistor but using some PWM freq like MIBAM?
    And then if your circuit collapses, then have some resistor and try again.
    Post your result here.

    A similar LED - Resistor - PWM relationship complexity had been gone on this forum.
    "If the Earth were a single state, Istanbul would be its capital." Napoleon Bonaparte

  7. #7
    Join Date
    May 2009
    Location
    Montreal, QC, Canada
    Posts
    118


    Did you find this post helpful? Yes | No

    Default Re: Making a flying star effect with LEDs

    I was looking at MIBAM but then moved away due to its limitations:
    @ 4Mhz, you can only run 4 LEDs MAX. This can be useful for RGB LED's on small chips.
    @ 20Mhz, you can run 20 LEDs since there are more instructions available per period.
    @ 48Mhz, you can run 48 LEDs, and anywhere in-between you can have the equivelant number of LEDs to match the OSC frequency.
    If you attempt to use too many LEDs for a specific OSC frequency, the program will give a warning to indicate the results will be "Blinky".
    I am planing to use 64 LEDs (maybe more) and I am trying to keep the components to minimal.

    I haven't figured out if the above limitations apply to MIBAM or BAM. I am still searching for a good BAM explanation.

    Mike

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