USB Infrared Toy v2 manufacturing resources

From DP

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

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.

 -------------------------------------------------------------------------
 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
 -------------------------------------------------------------------------
  1. Plug in the USB cable
  2. Make sure that port is mapped to a virtual com port and take note of the port number
  3. Run the test app, change COM10 to match your system: imageviewer.exe -p com10 -T -a
  4. Make sure to hold the USB IR Toy near something white or a reflective surface
  5. Hit any key to run the test, and hit ESC to stop
  6. Verify: LED should be on
  7. 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.