USB IR Toy: Quick Start

From DP

Jump to: navigation , search

USB IRtoy 11 1.jpg

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

Contents

Components

This depends on the pcb version. In my case it was the 1.1 version.

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

To buy components only click HERE and buy.

When you have the components the table above helps you to know easily the value of each component.

Assembly

When you receive the components, the first thing you should do is check that you have received all the components in the order.

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

This method is optional but I would recommend it if I were to build another. I followed another method and I had trouble soldering some components.

USB IRtoy 11 2.jpg

USB IRtoy 11 3.jpg

Checking

To check if everything is soldered and works I used a BusPirate 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 commands:

USB IRtoy 11 4.png

And you should see this:

USB IRtoy 11 5.jpg

Firmware

When you check your pcb, it´s time to load the firmware. For this, you will need a PICkit, ICD3 or anything else to program the PIC hex files.

For this step I can´t explain very well because I haven´t a programmer, I gave it to a friend. [If someone wants to add it here I would appreciate it].

USB IRtoy 11 6.jpg

Release package with firmware, utilities, PCBs:

Hello World

After you burn the hex file into the PIC, you can connect it to a PC and follow this tutorial.

Test

For testing the device, follow this tutorial.