WORKSHOP VIDEO #21: USB POV Toy calibration tests

in POV Toy, Videos by DP | 8 comments

Today we play around with the latest USB POV Toy hardware and firmware. The POV Toy is a persistence of vision (not division…) device, but we added some special features. First, a USB connection makes it effortless to upload new patterns. Second, an inexpensive accelerometer actively detects the waving motion and syncs the pattern.

We had problems soldering the LGA-packaged MMA7455 accelerometer on the latest prototype, it’s a tiny chip without any exposed leads at all. Pietja came to the rescue and soldered 4 of them for us. More on that later. If you want to try this chip without soldering the tiny package, we have a breakout board available for $15.

The MMA7455 accelerometer reading is way off before its calibrated. When the board sits flat and level the X axis should read close to 0×00 (0xFE 0xFF 0×00 0×01 0×02 are all ok), instead it’s closer to 0xE0. Each chip is different, so we’ll build a level test rig and make calibration part of the manufacturing test process.

Calibration is triggered by typing ‘c’ into a serial terminal connected to the POV Toy’s USB port. The PIC measures the offset, configures the accelerometer, and then saves the offset to an EEPROM. Now the correct offset will be loaded every time the POV starts. Here’s the commands supported so far:

  • c – run calibration. Returns the calibration value
  • x – measure the x axis. Should be around 0×00 after calibration
  • t – self test. Lights the LEDs and returns the calibration value

With calibration the POV Toy is working much better, but the timing and sensitivity need a bit of tweaking before it’s ready for release. Look for more updates soon.

Next week we’ll be back with an overview of the open source USB stack, or maybe a tutorial on talking to projects from a serial terminal. It really depends on what we can put together before Bay Area Maker Faire next week. If you’re there be sure to stop by, and bring something to show and tell.

This entry was posted in POV Toy, Videos and tagged , , .

Comments

  1. Bruce says:

    Good video. You can actually see the ‘hello’ on your post-calibrated POD test, if you know what you’re looking for.

    Was that some sort of fume sucker you had on your soldering iron? I’d love to find something like that for a Hakko 888.

  2. dext0rb says:

    Haha persistence of division, nice. Great video, loved the speed of it and the multiple camera angles to break up any potential monotony.

  3. Gridstop says:

    Ian always looks so happy when he’s making videos.

  4. philip says:

    Hi Ian,

    How did you make the PCB look like that? i mean the shape?

  5. Filip says:

    I think Seeed cuts them to any shape you make you board in the design files. As for the shape itself, you simply use the Wire tool in PCB layout Eagle, on the dimension layer, Wire tool has options for straight lines, 45degree bends, and arcs

  6. Matt says:

    Great video, I love the work you’re doing. You could likely solder the LGA package using ‘toaster oven reflow’ as so many DIYers have written about. I had great success on a recent project using this method, on packages as small as 0402 discretes and 0.5mm pitch QFNs — I had a prototype stencil to lay the paste though. If the pads aren’t too small I think you could manage with a syringe.

    If you don’t want to reflow the whole board I’m sure you could reflow just that part with your hot air station. I had to make a fix to my board and managed to remove and re-position an 8-pin part the size of an 0805 using just a hobby hot air gun — and it only took a couple of hours…

  7. MattK says:

    Saw you at the Maker Faire. We talked about the POV toy for a few minutes, & you mentioned that you were thinking about using double sided tape to mount a LIPO on the paddle.

    I suggested ‘servo tape.’ This is the stuff I was talking about:

    http://www3.towerhobbies.com/cgi-bin/wti0001p?&I=LXK200&P=FR

    It looks like ordinary foam double-sided tape, but it’s much stickier and more permanent than the common white kind. I’ve had very good luck with it.

Leave a Comment

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Notify me of followup comments via e-mail. You can also subscribe without commenting.