USB IR Toy: Quick Start

From DP

(Difference between revisions)
Jump to: navigation , search
Line 118: Line 118:
===Test===
===Test===
-
For test our device, you must to download IR Toy Package and inside go to folder
+
For test our device, you must to download IR Toy Package and inside go to folder software\IRToyRecPlay\windows (if you use windows)
 +
*Right click -> Edit and you will see:
 +
 
 +
''pause
 +
 
 +
irtoy.exe -d COM2 -r -f test
 +
 
 +
pause''

Revision as of 16:20, 6 February 2013

USB IRtoy 11 1.jpg

This is a guide to how to build your IRToy with the free PCB coupon. With this guide I hope to solve all the questions I had when I received my pcb.

Contents

Components

This depends on the pcb that we have chosen. In my case the 1.1.

USB Infrared Toy v1.1

This is the shopping list that I've used. I put it back because the official has some bugs. I follow this schematic.


Irtoyv2-cct.png


Partlist for 1.1
PartQuantityValue
C1 1 0.1uf
C2,C3,C4 3 0.22uf
C5,C6 2 27pf
C7 1 1.0uF
D1 1 BAS16HT1G
I 1 LED SMD
IC1 1 PIC18F2550_28W
J1 1 CON-USB-MINI 5PIN B TYPE
ICSP, JP1, UART 1 40p HEADER TIN
Q1 1 20Mhz
R1, R6 2 10k
R2 1 2K7
R3 1 390R
R4 1 180R
R5 1 1K
RX1 1 TSOP38238
RX2 1 QSE159
S1 1 SMD_TACT_SMALL
T1 1 BC81840MTF
TX 1 100mA IR LED

For buy component only click here and buy.

When you have the component the table above help you to know easyly each component that has value.

Assembly

When you received the component, the first you should do is check that you received all components orders.

  • For the first step, i recommend begin to solder usb-mini, then C2 and the row in front D1,R1,R6,C3,C4,R3,R4,C7 and TX1.
  • Second step is solder IC1.
  • To Finally soldered the missing components.


This method is optional but i am recommend if I were to build another. I follow another method and I had trouble soldering some components.

USB IRtoy 11 2.jpg

USB IRtoy 11 3.jpg


Checking

For check if all soldered and works i use a bus pirate v3.

Connect the pin +5V and GND of BusPirate to the +5V and GND of the IRToy in space of JP1.

Open a terminal and put these sentences:

USB IRtoy 11 4.png

And you will see this:

USB IRtoy 11 5.jpg

Firmware

When you check your pcb, it´s time to put the firmware inside. For these, you will need a PicKit, IC3 o anything else you can write in a PIC hex files.

For this step i can´t explain very well because i haven´t a pic, i gave it to a friend. If someone wants to put I appreciate.

USB IRtoy 11 6.jpg


Release package with firmware, utilities, PCBs:


Hello World

After you burn the hex in the pic. You can connect to PC and follow this tutorial.


Test

For test our device, you must to download IR Toy Package and inside go to folder software\IRToyRecPlay\windows (if you use windows)

  • Right click -> Edit and you will see:

pause

irtoy.exe -d COM2 -r -f test

pause