USB Infrared Toy v2 manufacturing resources

From DP

Revision as of 14:26, 22 February 2011 by Ian (Talk | contribs)
Jump to: navigation , search

Contents

Setup

  1. Connect a USB cable for power
  2. Program the complete firmware image (-DUMP.HEX) with a programmer

Test procedure

This procedure tests the PIC, LED circuit, and both receiver circuits.


  1. Plug in the USB cable
  2. Run the test app, change COM10 to match your system: imageviewer.exe -p com10 -T -a
  3. Follow the instructions (point the IR Toy towards something like a table)
  4. Verify: LED should be on
  5. Verify: self-test will display **PASS** or **FAIL**
    1. List of error codes

The IR LED will remain on after the self-test. The infrared light can be viewed with a camera/web cam/video camera/etc.

Command line Utility

This utility is used to test the USB IR Toy during manufacturing.

NOTE: You must update the firmware to the latest version (currently v09).

Test Procedure

  1. Run the utility and connect the IR Toy to a USB port.
  2. Make sure that port is mapped to a virtual com port and take note of the port number.
  3. Make sure to hold the USB IR Toy near something white or a reflective surface.
  4. Hit any key to run the test, and hit ESC to stop

Current Version and Usage

-------------------------------------------------------------------------
IR TOY SELF TEST utility v0.1 (CC-0)
http://dangerousprototypes.com
-------------------------------------------------------------------------
Usage:
  C:\IRToySelfTest\IRToySelfTest.exe  -d device [-s speed]
  Example Usage:   C:\IRToySelfTest\IRToySelfTest.exe -d COM1
          Where: -d device is port e.g.  COM1
                 -s Speed is port Speed  default is 115200
-------------------------------------------------------------------------

Download

Grab the latest source and executable from SVN.