Displaying messages with only 7 (or 4) LEDs on a stick...


Closed Thread
Results 1 to 16 of 16

Hybrid View

  1. #1
    T.Jackson's Avatar
    T.Jackson Guest


    Did you find this post helpful? Yes | No

    Default

    What you're trying to do requires correct speed and timing. A project called Spin FX was published in the Silicon Chip magazine few years back. The article read great! There's still even KITS available for it. (Stock is very limited though)
    <a href="http://www.dse.com.au/cgi-bin/dse.storefront/4647d6c8069df9ae2742c0a87f9c074f/Product/View/K3005" target="_blank">Click here to purchase a KIT </a>.

  2. #2
    Join Date
    Jul 2005
    Posts
    78


    Did you find this post helpful? Yes | No

    Default

    How are you getting this code to synchronize with the position of the wand?

    Say you wave it right and left over and over. You would want your code to start displaying letters when the wand ‘banks’ to the left side and begins to move to the right, that way as the wand sweeps left to right you draw the pixels of the letters where they are needed in space.

    As I read your code there is no synchronization between the drawing and the movement.

    To make something simple to try, make the top of the wand a pulled up input and tap it against a grounded post. This gives you a pulse when you’re far left; have the code wait for that pulse THEN (after a short pause) start to draw the pixels ONCE for each letter in turn, then stop and wait for the next synch pulse.

    The next trick is to make a cheap acceleration sensor to make this pulse for you from only the change in stick direction.

  3. #3
    Join Date
    Aug 2006
    Location
    SWITZERLAND (french speaking)
    Posts
    938


    Did you find this post helpful? Yes | No

    Default well then, how does it really work?

    Yup ErnieM,

    I was thinking about this "when to start to wave" problem.

    This is also why I would have appreciated to get some code examples...

    In all website (many thanks to MisterE 'cause I didn't know how to call this type of gadget before his post) where I could find information, there is no mention about a mouvement sensor in the case of handheld models.

    My assumption was to repeat the message sequence endlessly and you modulate the wave speed to make it readable.

    Or is it not that way it works?

    So, if anybody else knows...
    Roger

  4. #4
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by flotulopex View Post
    Yup ErnieM,
    I was thinking about this "when to start to wave" problem.
    This is also why I would have appreciated to get some code examples...
    In all website (many thanks to MisterE 'cause I didn't know how to call this type of gadget before his post) where I could find information, there is no mention about a mouvement sensor in the case of handheld models.
    My assumption was to repeat the message sequence endlessly and you modulate the wave speed to make it readable.
    Or is it not that way it works?
    So, if anybody else knows...
    I suppose it can go both ways...either you trigger it (mercury switch, IR LED, acclerometer, heck, maybe even a neuro-muscular-interface wired into your wrist), or your hand rocks in sync with the program, maybe dial it up or down with a pot or something.

  5. #5
    Join Date
    Apr 2006
    Location
    New Hampshire USA
    Posts
    298


    Did you find this post helpful? Yes | No

    Lightbulb synchronized

    I always wanted to make a strip of LEDs that was on a truck body or mounted on an upright pole on a motor vehicle. This single strip of LEDs would be synchronized to the speed of the vehicle. People standing on the side of the road would see the full color “banner” poster, as it swooshed past them!
    Or
    Maybe, a single pole beside the highway. A single strip of LEDs that could be synchronized to the speed (read by RADAR) of the vehicle. The people moving by would see a full-length bill board, but the “sign” would be a single piece of conduit. No wind loading no blocking the scenery.

    Probably not enough speed for the illusion, but a fun “what-if” experiment.....
    -Adam-
    Ohm it's not just a good idea... it's the LAW !

  6. #6
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Pic_User View Post
    I always wanted to make a strip of LEDs that was on a truck body or mounted on an upright pole on a motor vehicle. This single strip of LEDs would be synchronized to the speed of the vehicle. People standing on the side of the road would see the full color “banner” poster, as it swooshed past them! Or Maybe, a single pole beside the highway. A single strip of LEDs that could be synchronized to the speed (read by RADAR) of the vehicle. The people moving by would see a full-length bill board, but the “sign” would be a single piece of conduit. No wind loading no blocking the scenery. Probably not enough speed for the illusion, but a fun “what-if” experiment.....
    -Adam-
    You'd have to focus out in the distance to keep your eyes from tracking the object up close.
    Neat idea, and has obvious advantages...but I don't think the average human being operating the average human eye would actually 'LET' it work...unless of course they'd been drinking

  7. #7
    Join Date
    Apr 2006
    Location
    New Hampshire USA
    Posts
    298


    Did you find this post helpful? Yes | No

    Default So we sell beer

    Quote Originally Posted by skimask View Post
    You'd have to focus out in the distance to keep your eyes from tracking the object up close.
    Neat idea, and has obvious advantages...but I don't think the average human being operating the average human eye would actually 'LET' it work...unless of course they'd been drinking
    So we sell beer on the ads!

  8. #8
    Join Date
    Feb 2003
    Location
    Salt Lake City, Utah USA
    Posts
    517


    Did you find this post helpful? Yes | No

    Smile

    Quote Originally Posted by Pic_User View Post
    I always wanted to make a strip of LEDs that was on a truck body or mounted on an upright pole on a motor vehicle. This single strip of LEDs would be synchronized to the speed of the vehicle. People standing on the side of the road would see the full color “banner” poster, as it swooshed past them!
    Or
    Maybe, a single pole beside the highway. A single strip of LEDs that could be synchronized to the speed (read by RADAR) of the vehicle. The people moving by would see a full-length bill board, but the “sign” would be a single piece of conduit. No wind loading no blocking the scenery.

    Probably not enough speed for the illusion, but a fun “what-if” experiment.....
    -Adam-
    Not to participate (to much) in the hijacking of Flotu's thread, but here is the closest thing I have seen to what Adam describes (I believe someone else pointed this product out a year or ago here on this very forum - I cannot find the reference so here it is again)

    Last edited by paul borgmeier; - 14th May 2007 at 20:11. Reason: sp err
    Paul Borgmeier
    Salt Lake City, UT
    USA
    __________________

  9. #9
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    OMG... 'kitsch' but interesting at same time.
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

Similar Threads

  1. Code to control 4 LEDs and 2 servos
    By The Master in forum Off Topic
    Replies: 2
    Last Post: - 26th November 2008, 13:33
  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. Using LEDs as light sensors
    By skimask in forum Code Examples
    Replies: 3
    Last Post: - 30th December 2006, 22:19
  4. having problems with Hantronix 20x4 lcd
    By Rhatidbwoy in forum mel PIC BASIC Pro
    Replies: 16
    Last Post: - 22nd December 2005, 12:22
  5. 7 segment digit problem (using Mister E's code)
    By jmgelba in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 9th September 2005, 20:25

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