Shop OBEX P1 Docs P2 Docs Learn Events
SX LED Light Chaser -- in a CD spindle case — Parallax Forums

SX LED Light Chaser -- in a CD spindle case

ZootZoot Posts: 2,227
edited 2007-12-01 07:07 in Robotics
This is almost a quick sketch rather than one of my long-term polished projects, but it came out pretty well so I thought I'd post it.

This was a birthday gift for a friend (whose first initial is "Q"). He is a sound engineer and electronics geek (one of the few people who always knows what I'm talking about when I discuss electronics and micros).

I assembled it and programmed it in a single evening (last night). We're giving out SX driven "objet d'art" for the holidays this year, so this was a trial run for more polished pieces.

The LEDs are built (and hand-wired) into the clear top of the CD spindle case. In fact, we have been trying to hand wire objects so that the wiring itself becomes part of the design. A wall-wart drives a 5-volt reg and an SX (4MHZ) mounted on a small protoboard on the base.

A PNA4602 IR detector is set up to take any IR input to "change channels" on the pattern. When you click any button on any remote, the display stops moving and the red LEDs become "channel indicators". If you stop the channel on the yellow tail of the "Q", the display stops animating and shows a simple heartbeat. A small, green T-1 LED mounted in the center of the spindle acts as the IR "indicator" -- flashing with the pulses put out by the remote.

The SX/B code is pretty dirty, but it works OK. I've got ASM routines for my 20MHZ and 50MHZ projects that runs full PWM on the LEDs, but this was meant to be quick, simple and inexpensive.

Photos and nasty code below. Watch a (dark) video here: www.youtube.com/watch?v=pAKh0TQ1goI

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
When the going gets weird, the weird turn pro. -- HST
1024 x 768 - 288K
536 x 559 - 78K
783 x 595 - 120K
877 x 676 - 158K

Comments

  • BeanBean Posts: 8,129
    edited 2007-11-21 13:05
    Cool project. I like the way you recycled the CD spindle.

    Bean

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    www.iElectronicDesigns.com

    ·
  • ZootZoot Posts: 2,227
    edited 2007-11-21 17:07
    Thanks. When I'm not building Stamp and SX 'bots and the like, I mess around with BEAM "junkbots" -- I've been trying to find more ways to combine the two -- using parts and materials off of old techno-junk to make micro-controlled projects.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    When the going gets weird, the weird turn pro. -- HST
  • RobotWorkshopRobotWorkshop Posts: 2,307
    edited 2007-11-21 18:30
    Hello Zoot,

    That makes a nice display. If you make up some more of those I have a custom protoboard that will make your project a lot easier! I made a universal protoboard for similar projects and used it for my hand built Propeller DEMO board project as well as others.

    Robert
  • ZootZoot Posts: 2,227
    edited 2007-11-21 19:11
    Thanks. Not sure I'll make another one of these -- all the projects we've been doing are one-offs. And we've been trying go *very* cheap -- using up all the old parts, perf boards, and techno-junk supplies we've got lying around. And we've been getting unfortunately fast at hard-wiring :-(

    If I pick up anything from you at some point, Robert, it'll be serial card and new chips for my Hero-1 smile.gif Entering hex machine language is the real time-sucker...

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    When the going gets weird, the weird turn pro. -- HST
  • crgwbrcrgwbr Posts: 614
    edited 2007-11-21 22:11
    Very nice, and environmentally friendly project.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    "... one of the main causes of the fall of the Roman Empire was that, lacking zero, they had no way to indicate successful termination of their C programs." -

    "If Python is executable pseudocode, then perl is executable line noise."

    "The best accelerator available for a Mac is one that causes it to go at 9.81 m/s2."

    "My software never has bugs. It just develops random features."

    "Windows isn't a virus, viruses do something."

    "Programmers are tools for converting caffeine into code."

    "Enter any 11-digit prime number to continue."
  • sam_sam_samsam_sam_sam Posts: 2,286
    edited 2007-11-22 20:16
    Zoot



    Very Nice Project

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    ··Thanks for any·idea.gif·that you may have and all of your time finding them

    ·
    ·
    ·
    ·
    Sam
  • PLJackPLJack Posts: 398
    edited 2007-11-25 16:11
    From video: "oh, five is alive". Ha, almost lost my coffee on that one.

    That is a great Sunday project Zoot.
    Thanks for sharing.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    - - - PLJack - - -



    Perfection in design is not achieved when there is nothing left to add.
    It is achieved when there is nothing left to take away.
  • WhitWhit Posts: 4,191
    edited 2007-11-26 13:16
    Zoot,

    Great project and entertaining video! I like your idea of combining some BEAM junkbot methodology with more "traditional" work.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Whit+


    "We keep moving forward, opening new doors, and doing new things, because we're curious and curiosity keeps leading us down new paths." - Walt Disney
  • ZootZoot Posts: 2,227
    edited 2007-11-26 20:28
    Thanks for the props, all.

    Whit -- I would add that some of these kinds of pieces utilize the JunkBot ethos more than the methodology, per se. I.E., most of my projects are still some kind of circuit board, sockets, connectors, etc. with some freeform wiring and recycled parts, as opposed to 100% freeform wiring "deadbug" style).

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    When the going gets weird, the weird turn pro. -- HST
  • WhitWhit Posts: 4,191
    edited 2007-11-26 23:03
    Zoot said...
    Whit -- I would add that some of these kinds of pieces utilize the JunkBot ethos more than the methodology, per se. I.E., most of my projects are still some kind of circuit board, sockets, connectors, etc. with some freeform wiring and recycled parts, as opposed to 100% freeform wiring "deadbug" style).
    I think I understand what you meant. It is a hybrid combination of methods. Not stricly pure to either method.
    Zoot said...
    In fact, we have been trying to hand wire objects so that the wiring itself becomes part of the design.
    That statement alone puts you in the "A" of BEAM.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Whit+


    "We keep moving forward, opening new doors, and doing new things, because we're curious and curiosity keeps leading us down new paths." - Walt Disney
  • StampNut2StampNut2 Posts: 224
    edited 2007-12-01 07:07
    Nice project Zoot, That's the sort of project I like to get my teeth into when I am not building bots. Thanks for sharing.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Never give up when things go wrong, Just work them out.

    robosapienv2-4mem8.page.tl/
Sign In or Register to comment.