This invention relates to web launchers and, more particularly, to a web launch device adapted to connect to a USB port of a host computer.
The present invention provides a USB web launcher for launching a browser on a host computer and directing the browser to a website specified by the web launcher. The USB web launcher comprises a housing, a controller within the housing having a URL stored therein, USB connector means for coupling the controller to a USB port of the host computer, and a manual switch mounted on the housing and electrically connected to an input of the controller, the controller being configured to send the stored URL to the host computer in response to actuation of the manual switch, whereby the host computer launches the browser and accesses the corresponding website.
Another aspect of the invention is a USB web launcher having first and second USB connector parts and a lanyard mode of operation in which a controller within the web launcher is programmed to recognize when the first and second USB connector parts are interconnected and to energize an LED in response.
The objects and advantages of the present invention will be more apparent upon reading the following detailed description in conjunction with the accompanying drawings.
For the purpose of promoting an understanding of the principles of the invention, reference will now be made to the embodiments illustrated in the drawings and specific language will be used to describe the same. It will nevertheless be understood that no limitation of the scope of the invention is thereby intended, such alterations and further modifications in the illustrated device and such further applications of the principles of the invention as illustrated therein being contemplated as would normally occur to one skilled in the art to which the invention relates.
A first exemplary embodiment of a USB web launcher 10 according to the present invention, shown in
Momentary switch S1 is preferably spring-biased in the open position and has its normally open contact connected to pin 5 of the IC as shown. In addition, the dome is preferably spring-biased away from the switch such that it normally applies no pressure against the switch. For example, the embodiment of
As shown in
The microcontroller has stored therein, e.g., in internal flash memory, one or more website addresses, i.e., URLs, which may be accessed upon actuation of USB web launcher 10. Each URL has been converted to its corresponding keyboard scancodes so that the USB web launcher can send the URL string to the host computer with no conversions necessary. The following is one example of a URL and its corresponding scancode string:
Sample URL: http://www.RJGinc.com
Corresponding scancode string:
In this example, for C source code compatibility, the 00 value for the “cancel” code (the scancode indicating the release of a key) is coded as FF in the scancode string as stored in controller memory. The controller is accordingly programmed to convert the FF value to a 00 value in the process of sending the scancode string to the host.
The host computer also requests, and the HID responds by sending, additional descriptors including a Configuration Descriptor and its subordinate descriptors which may include one or more Interface Descriptors, HID Descriptors, and Endpoint Descriptors, in accordance with the above-referenced USB Specification and HID Specification. An example handshaking data stream for one preferred embodiment of the present invention is included in the attached Appendix A. An interface descriptor, comprising bytes 10 through 18 of the control transfer (up) of step 6 in the Appendix, contains a class code (03) indicating that the device is configured to operate as an HID, a subclass code (01) indicating that the device has a boot interface, and a protocol code (01) identifying the HID as a keyboard. In the preferred embodiment, the device also sends the host an HID Report Descriptor (see steps 22 and 23 in the Appendix) which indicates that the HID operates as a keyboard. The host computer processes the information contained in the retrieved descriptors and loads a device driver or drivers, as appropriate and available from its operating system, to manage communications with the device.
Step 2 of the flowchart of
The controller is preferably programmed to run multiple LED programs, and may be preset for one program and/or may include means for selecting one or more of the available programs, for example, five programs described as follows: Mode 1 fades the red LED on and off in 10 steps. Mode 2 is the same with the green LED, and Mode 3 is the same with the blue LED. Mode 4 is a color wash program which fades the red, green and blue LEDs in sequence. For example, red starts and ramps up in 10 steps. When it is at its maximum brightness, the green LED starts and increases in brightness in 10 steps, as the red LED brightness is decreasing in 10 steps. When green reaches its maximum brightness, the blue LED turns on and goes through the same brightness-changing sequence. This cycle continues until a button press is recognized. Alternatively, all LEDs may be faded up and down simultaneously, with desired color overlap periods and with different cycle frequencies if desired. As another alternative, one or more LEDs may be turned on continuously or with constant intensity at a desired flash rate.
As indicated by step 4 of the flowchart, if the device is in demo mode, the program loops back and repeats the LED program, e.g., defaulting to a color wash pattern. No button presses are recognized. If not in demo mode, the program proceeds to check (step 5) for button presses and, if a button, e.g., switch S1, has been pressed, starts the URL sending sequence (step 6). The controller transmits a string of precalculated and prestored scancodes so that the host sees a fully valid URL and launches the default web browser to the assigned website. The USB driver in the host computer and the microcontroller may exchange handshaking signals to control the data transmission, e.g., the transmission rate. As the web URL is transmitted, or thereafter, the LEDs may execute a blinking sequence (step 7), e.g., all on then all off, 2 times a second, for a total of six times on and off.
The scancodes are preferably in accordance with the USB Specification and transmitted in a character transmission sequence such as the example sequence shown in the attached Appendix B. The disclosed example is for use on a PC with a Microsoft Windows operating system wherein a “Windows” key and the “R” key are pressed together to open the Run box for text input. The sequence includes multiple blocks of eight bytes each to indicate, as appropriate, simultaneous multiple key actuation, e.g., simultaneous use of the Shift key and a letter key as used for an uppercase letter, or simultaneous use of the Windows key and the “R” key as indicated in the first line of the character transmission sequence in Appendix B.
For an Apple Macintosh, or MAC, computer, the URL transmission process begins with the transmission of a similar code which is effective to invoke the URL command line of an open browser. Switch S2 in
One or more switches may be employed in addition to switch S1 for accessing different websites. For example, four peripheral switches may be equally circumferentially spaced on the base so as to sense north, south, east or west pushbutton action. Alternatively, a joystick or other multi-position switch may be provided to provide multi-directional sensing and corresponding website selection. A JS1200 joystick from E-Switch, with four polar contacts and a center push contact, is one example of such a multi-directional switch. Referring to
Instead of or in addition to a multi-directional switch as just described, the controller may be further programmed to recognize and respond to different switch closure times. For example, the controller may be programmed to send one URL in response to a tap of a given switch, and to send a different URL in response to sustained closure of the switch, e.g., pressing on the dome for longer than a predetermined time such as 1½ to 2 seconds, or in response to a double tap of the switch.
In the disclosed embodiment, pins 2 and 3 of the receptacle are connected to the positive battery terminal, whereby, with plug 14 plugged into receptacle 22, the batteries provide power to the circuit and also pull both data pins (D+ and D−) high on the microcontroller, which is programmed to respond by causing the device to operate in the lanyard mode. Alternatively, the microcontroller may be programmed to enter lanyard mode in response to different logic levels on the data lines, such as a high level on the D− line and a low level on the D+ line, with the receptacle wired accordingly. If the criteria for the lanyard mode are not met but there is no activity on the data lines, e.g., no incoming descriptor request from a host computer, the program goes into demo mode and, e.g., a predetermined color wash pattern.
The lanyard option is particularly desirable for a web launcher used as a promotional item. For example, a company may have such web launch lanyards preprogrammed with the URL for its company website, and a sales representative at a trade show or otherwise may give one of the devices to a potential customer who may wear the device as flashing ornament for a period of time and then use it later to connect to the company's website with minimal effort.
While the invention has been illustrated and described in detail in the drawings and foregoing description, the same is to be considered as illustrative and not restrictive in character, it being understood that only preferred embodiments have been shown and described and that all changes and modifications that come within the spirit of the invention are desired to be protected. For example, a wireless USB connection to a host computer is also contemplated.
Number | Name | Date | Kind |
---|---|---|---|
5305449 | Ulenas | Apr 1994 | A |
5777903 | Piosenka et al. | Jul 1998 | A |
5954808 | Paul | Sep 1999 | A |
6037928 | Nachinson et al. | Mar 2000 | A |
6104295 | Gaisser et al. | Aug 2000 | A |
6115823 | Velasco et al. | Sep 2000 | A |
6178514 | Wood | Jan 2001 | B1 |
6292863 | Terasaki et al. | Sep 2001 | B1 |
6445381 | Chou | Sep 2002 | B1 |
6633998 | Lau | Oct 2003 | B1 |
6768483 | Nachinson et al. | Jul 2004 | B1 |
6834294 | Katz | Dec 2004 | B1 |
6888322 | Dowling et al. | May 2005 | B2 |
6895589 | Bermudez et al. | May 2005 | B2 |
6941114 | Kuo et al. | Sep 2005 | B1 |
D511017 | Chang | Oct 2005 | S |
6986030 | Shmueli et al. | Jan 2006 | B2 |
6993618 | Chen et al. | Jan 2006 | B2 |
7038665 | Pandana | May 2006 | B1 |
7125287 | Chou et al. | Oct 2006 | B1 |
7126559 | Su et al. | Oct 2006 | B2 |
7629963 | Wright | Dec 2009 | B1 |
7657290 | Veselic et al. | Feb 2010 | B2 |
20010024189 | Michie | Sep 2001 | A1 |
20020002490 | Gerpheide | Jan 2002 | A1 |
20020084986 | Armstrong | Jul 2002 | A1 |
20030161193 | Moran et al. | Aug 2003 | A1 |
20030204654 | Nathan | Oct 2003 | A1 |
20030208404 | Michie | Nov 2003 | A1 |
20030221029 | Wang et al. | Nov 2003 | A1 |
20040087213 | Kao | May 2004 | A1 |
20040145890 | Liao | Jul 2004 | A1 |
20040156192 | Kerr et al. | Aug 2004 | A1 |
20060020736 | Jackson | Jan 2006 | A1 |
20060028433 | Myrick | Feb 2006 | A1 |
20060036872 | Yen | Feb 2006 | A1 |
20060047880 | Lindblom et al. | Mar 2006 | A1 |
20060132447 | Conrad | Jun 2006 | A1 |
20060133064 | Lin | Jun 2006 | A1 |
20060205507 | Ho | Sep 2006 | A1 |
20060224791 | Keppeler | Oct 2006 | A1 |
20060244833 | Abe et al. | Nov 2006 | A1 |
20060294283 | Tong | Dec 2006 | A1 |
20070016957 | Seaward et al. | Jan 2007 | A1 |
20070032136 | Sheng et al. | Feb 2007 | A1 |
20070055802 | Hsu | Mar 2007 | A1 |
20070088876 | Chen | Apr 2007 | A1 |
20080012823 | Radecki | Jan 2008 | A1 |
20080052439 | Young et al. | Feb 2008 | A1 |
20080111521 | So et al. | May 2008 | A1 |
20080177907 | Boerger et al. | Jul 2008 | A1 |
20080294923 | Barake et al. | Nov 2008 | A1 |
20080313370 | Kang et al. | Dec 2008 | A1 |
20090100144 | Sullivan et al. | Apr 2009 | A1 |
20090106464 | Cavill et al. | Apr 2009 | A1 |
20090138637 | Hargreaves et al. | May 2009 | A1 |
20090172219 | Mardiks | Jul 2009 | A1 |