www.qlight.com | 121
• The LED tower light that is fully controllable by the PC application program of a PC via an USB port connection
• The USB communication cable is comprise of VCC, D-, D +, GND, and Shield
• Uses 2 DC 5V/500mA rated Personal Computer (PC) USB for its power
Available on hosts that support USB 1.1 or higher
• Provides MS Runtime libraries for developers to utilize on various PC applications
• Built-in clear melody, alarm sound, the type of sound can be chosen when ordered
• Supported OS(32bit 64bit) : Windows XP, Windows 7, Windows 10
• Supported Program : VC++, VB, Delphi(32bit only), C#(64bit only)
Can be connected to the USB port of your PC without any additional power supply
• Qlight’s USB Tower Light is a LED tower lamp connected to a USB interface and controlled
by a PC program. These products work on hosts that support USB 1.1 or higher and allow
up to 4 USB Tower Light connections per PC
• Supports Low speed (1.5Mbps) and Full speed (12Mbps) communication
• Provides MS Runtime libraries for developers(VC ++, VB, Delphi) to utilize in various PC
applications. A sample program (VC ++) is available for testing purposes. The product
uses device drivers in the PC for built-in HID (Human Interface Devices). Therefore, the
operating system (OS) does not need a separate driver to control and to communicate with
the LED Tower Light through the PC application
Native support for 32bit OS, and supports 64bit in Windows XP, Win7. For other OS,
please contact us(32bit 64bit)
1. Basic USB Information
Image to the left shows the Tower Light Connections.
Communication
DEVICE
CLASS CODE
INTERFACE
CLASS CODE
Audio Interface
0×00 0×01
Communication Device 0×02 -
HID 0×00 0×00
HUB 0×09 0×09
Storage 0×00 0×08
Monitor Same as HID Same as HID
Print - 0×07
USB is an abbreviation for Universal Serial Bus, a PC peripheral bus stan-
dard developed to satisfy the industries growing need in the mid 1990s for a
new interconnection between computers and electronic devices. Developed
by companies such as Intel, Microsoft, Compaq, IBM, NEC, Nortel, DEC
etc. the USB can connect up to 127 devices without reboot or setup for new
peripherals. Data transfer speed have been improving rapidly.
HID(Human Interface Devices)?
USB can be applied to various devices and can be classied by its use case. Among them is the USB classication called the Human
Interface Device (HID). These devices can be used to control the PC. A typical HID device includes a mouse, keyboard, joystick, etc.
The data from the devices is sent to the host(PC) by a “interrupt” type IN-endpoint format.
2. Connection
The process of connecting and detecting the device to the USB port is
called “the initial determination”. After “the initial determination” is made,
the host PC requests the device’s specic role and the function is then
specied by the Descriptor. At that moment the device and the PC periodi-
cally exchanges requests, and the descriptor. This process is called “Enu-
meration”. After the nishing the “enumeration” process the PC detects the
device and registers it as a USB Device. When the registration is complet-
ed, the USB Device exchanges data and perform its designated function.
The process how the USB Device is connected to the PC
1. When you connect a USB Device to the PC, Device is powered on.
2. Normally the D+, D- of the PC is on low signal with both D+ and D- having
pull down resistors of 15KΩ.
3. A full speed USB Device has a pull-up resistor of 1.5KΩ hung on D+,
Low speed devices on the other hand have a pull-up resistor of 1.5KΩ
on the D-.
4. Therefore, the PC usually has a low signal on the data line but when the
USB device is connected the PC it detects the high signal of the data line
and noties the host of the USB device connection.
LED Lamp Driver Circuit
Buzzer Circuit
USB Telecommunication Circuit
SMPS(Switching Mode Power Supply)
PC
Full-speed or
Low-speed
USB
Transceiver
Low-speed
USB
Transceiver
Low-speed Function
Slow Slew
Rate Buffers
Host or
Hub Port
D
+
D
-
D
+
D
-
R
1
R2
R1
R1=15KΩ±5%
R
2=15KΩ±5%
(Normal)
Full-speed or
Low-speed
USB
Transceiver
Full-speed
USB
Transceiver
Hub Upstream Port
or
Full-speed Function
Host or
Hub Port
D
+
D
-
D
+
D
-
R
1
R1
R1
Z0=90Ω±15%
R
2=15KΩ±5%
R
2=1.5KΩ±5%
Technical Data for USB Type LED Tower Light
122 | www.qlight.com
USB Cable
USB Telecommunication Circuit
LED Lamp Driver Circuit
LED Lamp
Buzz Circuit
External USB Cable
Internal Power Line
Internal Signal Line
External USB Cable
Internal Power Line
Internal Signal Line
Buzz
SMPS (Switching Mode Power Supply)
PC to USB Tower Light
No. Type ABB Descript
Size(Bytes)
1
Device
Information
VID VENDOR ID : 0x04D8(Provided by IC manufacturer) 2
2 PID PRODUCT ID : 0xE73C(QLIGHT ID) 2
3 INDEX
1. Maximum of 4 USB tower lights can be installed per PC.
2. Field value helps to distinguish each USB tower light.
3. Reference - USB0 : 0×4970/ USB1 : 0×4971/ USB2 : 0×4972/ usb3 : 0×4973
4. Assign 0-3 for convenient use in IBM PC environment.
2
1
Data
Write 1. Send ‘W=0x57’ which means transferring the data from PC to USB. 1
2
Sound
Group
1. Field for sound pattern designation.
0 : WS/ 1 : WP/ 2 : WM/ 3 : WA/ 4 : WB/ 5 : BZ/ 6 : WM(8)/ 7 : WA(8)
2. Total 8 groups are provided and each group has channel 1 to 5.
1
3 R LAMP
1. Field for controlling Red lamp.
2. Reference - 0 : LAMP OFF/ 1 : LAMP BLINK(ON/OFF)/ 2 : LAMP ON/ Else : Don’t care
1
4 A LAMP
1. Field for controlling Amber lamp.
2. Reference - 0 : LAMP OFF/ 1 : LAMP BLINK(ON/OFF)/ 2 : LAMP ON/ Else : Don’t care
1
5 G LAMP
1. Field for controlling Green lamp.
2. Reference - 0 : LAMP OFF/ 1 : LAMP BLINK(ON/OFF)/ 2 : LAMP ON/ Else : Don’t care
1
6 B LAMP
1. Field for controlling Blue lamp.
2. Reference - 0 : LAMP OFF/ 1 : LAMP BLINK(ON/OFF)/ 2 : LAMP ON/ Else : Don’t care
1
7 W LAMP
1. Field for controlling White lamp.
2. Reference - 0 : LAMP OFF/ 1 : LAMP BLINK(ON/OFF)/ 2 : LAMP ON/ Else : Don’t care
1
Category Specications Category Specications
Tower light
Layer : 1-5
Voltage : DC12V
Current : 0.300A
Color :
R-Red A-Amber G-Green B-Blue W-White
Cable
1. VCC (Red)
2. D- (White)
3. D+ (Green)
4. GND (Black)
5. Shield
Speaker
Rated : 1W
Volume : Max 85dB at 1m
Buzzer
Voltage : DC12V
Current : 20mA
Volume : Max 90dB at 1m
USB standard
Available on hosts that support USB 1.1 or higher
DC5V/500mA rated (uses 2 USB port)
Input voltage
USB DC 5V×2PORT(Built-in 5V To 12V converter)
3. Communication data format of the USB product
5. Specications
Developers can use the programming format below to control the LED USB Tower light via PC.
For detailed programing information, please see the reference code that is provided separately.
4. Block Diagram
Technical Data for USB Type LED Tower Light