1. Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.
    Dismiss Notice

Marching band dad looking for prop design help, LED lighting, random flash

Discussion in 'Electronic Projects Design/Ideas/Reviews' started by M Smith, Apr 13, 2017.

  1. MrDEB

    MrDEB Active Member

    Joined:
    Apr 16, 2007
    Messages:
    4,414
    Likes:
    23
    I followed every code example I could trying to figure out WHY the ode executes ALL the code and not stopping when it gets to a FALSE statement.
    I have setalldigital.bas and the code is basically the same (exactly) as my Mexican Train game code for 8 switches.
     
  2. Pommie

    Pommie Well-Known Member Most Helpful Member

    Joined:
    Mar 18, 2005
    Messages:
    10,161
    Likes:
    340
    Location:
    Brisbane Australia
    ONLINE
    You have been posting here now for 10 years and in that time you appear to have learnt very little, if anything at all. To portray yourself here as competent is bordering on fraud. My apologies to the OP as I'm currently too busy to help with this but thought it was my duty to point out the above.

    Mike.
     
  3. MrDEB

    MrDEB Active Member

    Joined:
    Apr 16, 2007
    Messages:
    4,414
    Likes:
    23
    I found my missing command
    setalldigital
     
  4. dave

    Dave New Member

    Joined:
    Jan 12, 1997
    Messages:
    -
    Likes:
    0


     
  5. MrDEB

    MrDEB Active Member

    Joined:
    Apr 16, 2007
    Messages:
    4,414
    Likes:
    23

    I feel that I have learned a-lot seeing how I took 3 years off and no programming experience much less electronics from high school class in 1968.
    I have written lots of working code as well as developed different games and devices that work quite well. Most of the members here are full time code writers and have had schooling in writing code and electronics.
    At least give me credit for trying and not giving up.
     
    • Agree Agree x 1
  6. OlPhart

    OlPhart Member

    Joined:
    Feb 22, 2011
    Messages:
    331
    Likes:
    8
    Location:
    SW Michigan (USA)
    My $.02: I did a train firebox emulator out of a bunch of yellow / orange / red LEDs.
    I built 4 555 timers at different freerun frequencies. Then used logic gates to combine the outputs to drive ULN200x for the LEDs.

    While I agree a micro is far superior, the learning curve seems a dealbreaker. Good Hunting... <<<)))
     
  7. Tony Stewart

    Tony Stewart Well-Known Member Most Helpful Member

    Joined:
    Aug 31, 2012
    Messages:
    3,152
    Likes:
    282
    Location:
    Richmond Hill , ON Canada near Toronto
    You may have given up but LEDstrips with remote controls vary greatly in power per string and cost may be from 0.25$ to $1 per W, but for visibility with stadium lighting, you will need more than 25W per string. RGBW usually run off 5V for individual control, but substrings of 3V per set in series would control more efficiently with 12 or 24 V. Look for 5m reels with V*I=P > 25W if you want them to be seen well under stadium lights from afar. More is better but for 6 platforms you might be looking much more than 150W. Nothing less and that's 30Amps of heavy wiring at 5V or 10A at 12V or 5A at 24V .

    The net Lumens from 150W using LEDstrips is low effic. so expect only 750 Lumens or 1/2 of the best power Discrete single DC LED. or about the same as 10x 8 W high effiency white LED lamps. Remember Green has best acuity and RED is dimmer and Blue is dimmest to the eye in bright light and white is the brightest.

    Cheapest is a single colour string but maybe no remote included.

    my 2cents
    Tony
     
    Last edited: Jul 23, 2017
  8. MrDEB

    MrDEB Active Member

    Joined:
    Apr 16, 2007
    Messages:
    4,414
    Likes:
    23
    This project is pretty much done. M Smith in Florida is busy building the platforms and waiting for more of the 3w leds. The circuit boards are done and tested, just waiting for confirmation that the 4 different programs I coded will work for his application or if changes are needed. The boards have 20 outputs, 4 different programs or sequences plus a pot to adjust the sequencing speed.
     
  9. JonSea

    JonSea Well-Known Member

    Joined:
    Oct 1, 2012
    Messages:
    1,201
    Likes:
    111
    Location:
    Seattle, WA
    Any testing of the operational life of the LEDs with marginal/no heatsinking?
     
  10. MrDEB

    MrDEB Active Member

    Joined:
    Apr 16, 2007
    Messages:
    4,414
    Likes:
    23
    M smith tried connecting a 9v battery to one led and it lasted for several seconds. I had sent with the first board a wiring diagram with 5 leds in series. Last I heard he ordered more Leds to complete the 7 platforms. That's 100 leds per platform x 7 = 700 leds.
    Each platform will have a 20 channel board. Each channel controls 5 leds if he wires up 5 leds in series per channel.
    Still waiting for result video
     
  11. JonSea

    JonSea Well-Known Member

    Joined:
    Oct 1, 2012
    Messages:
    1,201
    Likes:
    111
    Location:
    Seattle, WA
    Wow. I could not in good conscious design something so costly to implement without testing the hell out of it before turning it over to someone unskilled in these matters.

    Proper heatsinking of the LEDs is crucial but I'd be worried about power dissipation on the circuit boards too.
     
  12. MrDEB

    MrDEB Active Member

    Joined:
    Apr 16, 2007
    Messages:
    4,414
    Likes:
    23
    I made the traces to the mosfets as wide as possible. The mosfets are TO-220 with room for heat sinks if needed. It should be ok since the circuit is on for 5 minutes or less an it is outdoors. I discussed all this with M Smith.
     
  13. MrDEB

    MrDEB Active Member

    Joined:
    Apr 16, 2007
    Messages:
    4,414
    Likes:
    23
    Well here is and update. The Leds don't get hot as well as the board does not get warm.

    I need to program the pics and send him the remaining 8 boards. Good thing I have an low force insertion socket to program the 40 pin chips
     
  14. JonSea

    JonSea Well-Known Member

    Joined:
    Oct 1, 2012
    Messages:
    1,201
    Likes:
    111
    Location:
    Seattle, WA
    Glad it all worked out for you. There was a lot of money invested in this.

    Why on earth didn't you include an ICSP socket on rhe board?
     
  15. MrDEB

    MrDEB Active Member

    Joined:
    Apr 16, 2007
    Messages:
    4,414
    Likes:
    23
    Yes a lot of money spent on the boards. M Smith prepaid for it all. Now I need to mail the rest of the boards with programmed chips in them.
    There are 5 ICSP header pads on the boards. The plan is I wrote a program with 4 different sequences and a pot to vary the led flash rate. The ICSP has just the pads, no header installed except for the one board I am retaining.. This was so I can connect one board to the Pickit2 and make desired changes to the code at will then after M smith wires up on board to see if it is what he wants. If everything is a GO then I mail the remaining 8 boards with programmed chips. I am retaining one board in case he wants to change the program for next year. He removes the chips. inserts in the plastic dip shipping tube and ships the chips back to me. Way cheaper than shipping all the boards back. I wanted to do all in smd but then the boards would need to be shipped. I put a-lot of though into this project and different scenario's concerning the shipment and re-programming of chips. I mailed him a descriptive wiring diagram and suggestions on led placement as well. Included a caution concerning removal of chips. Now we wait for a video of the actual band competition. The board and program code are very basic. No extravagant code or exotic parts. I think I posted a pic of a completed board with schematic.
     
    • Like Like x 1
  16. M Smith

    M Smith New Member

    Joined:
    Apr 13, 2017
    Messages:
    9
    Likes:
    1
    Once I have the first prop completed, I will post up a video of it in use. I need to set up a step so a couple of drum line students can get on top of it. They will stand back to back and play while it spins.

    For all of the controversy that came up all I can say is that MrDEB stepped up and gave me the help I needed to get this project done. The kids were awestruck when the saw the prop light up the first time. They put so much effort into the program practicing 18 hours a week after school in 95 degree heat on a blacktop parking lot. I am thankful MrDEB stepped up to help. When I put up video of the show it will be amazing.
     

Share This Page