USB Infrared Toy v2 manufacturing resources
From DP
Contents |
Setup
- Connect a USB cable for power
- 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
-------------------------------------------------------------------------
- Plug in the USB cable
- Make sure that port is mapped to a virtual com port and take note of the port number
- Run the test app, change COM10 to match your system: imageviewer.exe -p com10 -T -a
- Make sure to hold the USB IR Toy near something white or a reflective surface
- Hit any key to run the test, and hit ESC to stop
- Verify: LED should be on
- Verify: self-test will display **PASS** or **FAIL**
The IR LED will remain on after the self-test. The infrared light can be viewed with a camera/web cam/video camera/etc.
The IR frequency detector is very sensitive to sunlight!
The frequency detector must be very close to the IR source to work correctly. It is very sensivite to sunlight. An window on a sunny day, even with a curtain, will trigger the frequency detector and give FA10 errors.
Failure example
--------------------- Starting a new IR Toy Self Test------------------ Hold the IR Toy very close to something white for the self-test Opening IR Toy on COM23 at 115200bps... Starting IR TOY self-test... Getting self-test result... IR Toy version: V211 Test no: 1 of 1 IR Toy Self Test Reply: FA10 FA10 ERROR: test FAILED! :( Invalid response from IR Toy Connect another IR Toy and press any key to start the self-test again Or hit ESC key to stop and end the test.
Success example
--------------------- Starting a new IR Toy Self Test------------------------- Hold the IR Toy very close to something white for the self-test Opening IR Toy on COM23 at 115200bps... Starting IR TOY self-test... Getting self-test result... IR Toy version: V211 Test no: 1 of 1 IR Toy Self Test Reply: V211 V211 Test passed! OK! :) Connect another IR Toy and press any key to start the self-test again Or hit ESC key to stop and end the test.
