US20200053197A1 - Electronic device input/output system and method - Google Patents

Electronic device input/output system and method Download PDF

Info

Publication number
US20200053197A1
US20200053197A1 US16/358,627 US201916358627A US2020053197A1 US 20200053197 A1 US20200053197 A1 US 20200053197A1 US 201916358627 A US201916358627 A US 201916358627A US 2020053197 A1 US2020053197 A1 US 2020053197A1
Authority
US
United States
Prior art keywords
data
iphone
analog signal
peripheral
signals
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Abandoned
Application number
US16/358,627
Inventor
Damien Phelan Stolarz
George Dean, IV
Zack Gainsforth
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Robotarmy Corp
Mobilepay LLC
Original Assignee
Robotarmy Corp
Mobilepay LLC
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Family has litigation
First worldwide family litigation filed litigation Critical https://patents.darts-ip.com/?family=42784936&utm_source=google_patent&utm_medium=platform_link&utm_campaign=public_patent_search&patent=US20200053197(A1) "Global patent litigation dataset” by Darts-ip is licensed under a Creative Commons Attribution 4.0 International License.
Application filed by Robotarmy Corp, Mobilepay LLC filed Critical Robotarmy Corp
Priority to US16/358,627 priority Critical patent/US20200053197A1/en
Assigned to MOBILEPAY LLC reassignment MOBILEPAY LLC ASSIGNMENT OF ASSIGNORS INTEREST (SEE DOCUMENT FOR DETAILS). Assignors: ROBOTARMY CORP.
Assigned to ROBOTARMY CORP. reassignment ROBOTARMY CORP. ASSIGNMENT OF ASSIGNORS INTEREST (SEE DOCUMENT FOR DETAILS). Assignors: STOLARZ, DAMIEN PHELAN, DEAN, GEORGE, IV, GAINSFORTH, ZACK
Publication of US20200053197A1 publication Critical patent/US20200053197A1/en
Abandoned legal-status Critical Current

Links

Images

Classifications

    • H04M1/72527
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/72409User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2250/00Details of telephonic subscriber devices
    • H04M2250/18Details of telephonic subscriber devices including more than one keyboard unit

Definitions

  • the present invention relates to systems and methods for establishing data communication between electronic devices. More specifically, the present invention includes systems and methods for establishing bi-directional data communication between electronic devices and for establishing uni-directional and bi-directional communication between devices and peripherals.
  • the smartphone type devices communicate to the Internet using the TCP/IP protocol and to other devices such as computers and printers through local-area and wide-area wireless networking.
  • Hardware transmission standards that support this include Wi-Fi (802.11): cellular wireless networking such as CDMA. UMTS, HSDPA, GPRS and EDGE; and wide-area networking such as WiMAX (IEEE 802.16).
  • Wi-Fi 802.11
  • cellular wireless networking such as CDMA. UMTS, HSDPA, GPRS and EDGE
  • WiMAX IEEE 802.16
  • device-to-device and device-to-peripheral communication is awkward with these standards. To have two devices communicate in this manner, they must either communicate through an intermediary server or website (the most common method), adding delay and complexity of setup.
  • devices are to communicate in a peer-to-peer manner (i.e., sending network packets directly from one device to another), it is necessary to have both devices communicate with the same network protocols and the same application-layer protocols, and to solve issues such as network peer discovery.
  • devices are very restricted in what they are designed to do on a direct basis over a network, and direct exchange of data between devices is thus inhibited over a network.
  • Wi-Fi and other wireless techniques require both devices to be wireless network receivers and transmitters, and that they require constant connectivity for devices to work. This consumes much power, requiring portable peripherals and devices to carry larger batteries, and requiring frequent recharging or replacement of batteries.
  • the Bluetooth wireless networking standard was developed as a point-to-point wireless technique for device-to-device and device-to-peripheral connection. It is specifically designed to minimize power use. Although it overcomes some of the limitations of wireless networking approaches by specifically enabling point-to-point, device-to-device communication, it still requires larger batteries, bulkier devices and requires complex protocol support. Many devices that incorporate some Bluetooth features do not allow application-level developers to access the features. For instance, one device may support transmission of address book entries to another device, but the other device, even though it has the necessary hardware support, does not implement the correct software to accept the address book transmission. Because Bluetooth software support is implemented by the device manufacturer, the device manufacturer can decide, for any reason, not to support parts of the standard.
  • Bluetooth is not designed for ad-hoc creation of new communication protocols.
  • an application developer who simply wanted to use Bluetooth to implement a proprietary or industry-standard communication scheme on top of Bluetooth would be limited to the protocols the manufacturer enabled on the device.
  • peripherals such as Bluetooth keyboards
  • a mobile device is not designed to work with a Bluetooth keyboard by the manufacturer, it is effectively impossible for an application developer to implement support for it.
  • Infrared light transmission a line-of-sight wireless communication technique, was popular for one-way and two-way inter-device communication in the 1990s and still sees some use today, but has been eclipsed by Bluetooth for peripheral interconnection.
  • the Palm series of PDA devices traditionally could accomplish the task of sending an address book contact entry from one device to another using serial binary communication over infrared communication standards such as IrDA (a high-speed, infrared serial protocol).
  • USB Universal Serial Bus
  • Most mobile devices can be connected in a master/slave relationship with a personal computer, such that the personal computer recognizes the mobile device as a peripheral.
  • Mobile devices usually change to a “peripheral” mode, and specialized software running on the personal computer, usually provided by the manufacturer, allows custom communication with the device, such as synchronizing address books and contacts, music, calendars and other data
  • USB cannot be readily used to connect two devices, or to connect peripherals to a mobile device that itself is designed to be a peripheral, without a personal computer intermediary.
  • address book contact exchange cannot be readily achieved by connecting two devices via USB, nor can a USB keyboard—a ubiquitous and inexpensive device—be connected to a mobile device: even though both the keyboard and the mobile device “have USB,” they are both slave devices.
  • Proprietary docking connectors are the most common approach to peripheral interconnection for mobile devices.
  • PDA, phone, smartphone and portable media player manufacturers have developed custom physical and electrical connections on their devices to build an ecosystem of peripherals that only work with their devices.
  • the Apple iPod® dock connector standard has enabled a large aftermarket ecosystem of automobile integration adapters, speakers, video playback devices, microphones, remote controls, pedometers, projectors and other peripherals. Similar approaches are used by mobile phone and portable media player manufacturers to create proprietary peripheral interfaces for remote controls, chargers and audio outputs.
  • the present invention provides a system and method for coupling a peripheral to a device such as a smartphone.
  • the invention includes a first circuit for converting a data signal output from the peripheral to analog (e.g., audio) signals; a connector for coupling the circuit to an input (e.g. audio) port of the device: and a second circuit disposed within the device for converting the analog signals to (e.g. digital) data signals.
  • the first circuit is a frequency shift key generator and the second circuit is a frequency shift key detector.
  • a host controller is coupled to the peripheral and a microcontroller coupled to the device.
  • a serial port is coupled between the microcontroller and the host controller.
  • a communication controller is coupled between the serial port and the frequency shift key generator.
  • the device further includes a converter that transforms frequency-shift-keyed data to binary data, a scan-code-to-character-set mapper and an arrangement for receiving and processing signals wirelessly via an infrared receiver.
  • FIG. 1 is a diagram of one embodiment of an apparatus for connecting a keyboard to a smart phone device through the microphone port of the smart phone device in accordance with the present teachings.
  • FIG. 2 is a diagram of one embodiment of the software running on the smart phone that processes the data sent to it by an apparatus such as the one in FIG. 1 .
  • FIG. 3 is a flowchart of one embodiment of a system for connecting a keyboard to a mobile device.
  • FIG. 4 shows an illustrative implementation of the microcontroller of FIG. 1 .
  • interface refers to the actions and processes of a mobile device or similar electronic device having processing circuitry and components that manipulate and transform data represented as physical (electronic) quantities within the system's registers and memories into other data similarly represented as physical quantities within the device system memories, registers or other such information storage, transmission or display devices.
  • the present invention also relates to an apparatus for performing the operations herein.
  • This apparatus may be specially constructed for the required purposes or it may comprise a general-purpose device selectively activated or reconfigured by a program stored in the device.
  • a program may be stored in a computer-readable storage medium, such as, but not limited to, any type of disk-including floppy disks, optical disks, CD-ROMs and magneto-optical disks-read-only memories (ROMs), random access memories (RAMs), EPROMs, EEPROMs, magnetic or optical cards or any type of media suitable for storing electronic instructions, each of which may be coupled to a computer system bus.
  • a machine or computer readable medium includes any mechanism for storing information in a form readable by a computer or similar machine.
  • a computer-readable medium includes read-only memory (“ROM”), random access memory (“RAM”), magnetic-disk storage media, optical storage media, flash memory devices or other types of machine-accessible storage media.
  • a technique for serial communication is implemented that utilizes the audio input and output facilities of a device. Modulating audio to achieve binary communication is called “modulation-demodulation,” and devices that implement this technique are called “modems.”
  • modulation-demodulation Modulating audio to achieve binary communication
  • modems devices that implement this technique are called “modems.”
  • V.21 One modulation scheme used, called “V.21,” used binary frequency-shift keying (BFSK, or “binary FSK”).
  • BFSK binary frequency-shift keying
  • two tones pitches
  • early personal computers used similar forms of modulation to store and retrieve programs on cassette tape. For instance, the Apple II computer loaded programs at about 180 bytes per second from cassettes by using alternating tones to represent binary digits.
  • the open-source LiRC software project includes support for infrared reception through the microphone port of a PC sound card.
  • a product developed by Griffin Technologies several years ago allowed Windows Mobile-based PDAs to transmit infrared codes to control televisions using the audio output facility of the PDA. Similar techniques have been demonstrated for the iPhone device, performing infrared transmission using the audio output facility.
  • tellart.com released a video demonstrating the ability to input a single changing value between 0 and 255 by having the iPhone measure the audio amplitude (volume) of a sound looped through a potentiometer, for the purpose of connecting the iPhone to physical sensor peripherals.
  • this technique though effective for real-time measurement of time-varying quantities, is ineffective for uni-directional or bidirectional data transfer.
  • FIG. 1 is a diagram of one embodiment of an apparatus for connecting a keyboard to a smartphone device through the microphone port of the smartphone device in accordance with the present teachings.
  • a conventional keyboard 001 is connected to a USB host controller 002 that connects to the serial port 003 of a microcontroller 004 programmed to buffer data from the serial port 003 .
  • Signals from the keyboard 001 are stored temporarily in a communication controller 005 .
  • the communication controller 005 may be implemented in software executed by a microprocessor (not separately shown) within the microcontroller 004 .
  • the signals from the keyboard are modulated as frequency-shift-keyed (FSK) audio signals by FSK Generator 006 .
  • FSK frequency-shift-keyed
  • the audio output of the FSK generator 006 is fed to an audio input or microphone port 007 of a mobile device 008 , where it is interpreted by a software application 009 .
  • USB host controller 002 any number of additional devices with different functions, without limitation-including computer mice, credit card readers, human interface devices, game controllers and printers-could also be connected to the USB host controller 002 .
  • FIG. 2 is a diagram relating to FIG. 1 and illustrating the functions of the software application 009 stored in the flash memory of portable device 008 .
  • the software performs the functions of detecting frequency-shift-keyed data ( 101 ) and converting this to binary data, assembling full bytes of this data to be compared to a scan code table ( 102 ) to determine what key was pressed or, for non-keyboard input, what symbol was sent.
  • the software then ( 103 ) displays the results or saves them to memory or fixed storage, as appropriate to the application.
  • FIG. 3 is a logic flow diagram for an embodiment of the invention showing the data flow as keyboard data is entered into a mobile device.
  • the user presses a key on the keyboard, which, in the illustrative embodiment, emits a multi-byte scan code.
  • the USB controller receives this data and sends it to the microcontroller 004 .
  • the microcontroller 004 buffers the data and adjusts bit rate as necessary for the device to which it is being sent. In the illustrative application, the data is slowed to fit the 1200-baud FSK rate available to the application software running on the smartphone.
  • the microcontroller 004 converts the data to FSK audio and plays it into the microphone port of the mobile device.
  • Application software running on the mobile device decodes the FSK audio into binary digits, assembles the binary digits into byte sequences and interprets sequences as keyboard scan codes, which are then either stored in fixed or temporary memory or displayed, as appropriate.
  • the microcontroller 004 of FIG. 1 is implemented with a hybrid analog/digital chip manufactured by Cypress 401 (PSoC: CY8C29466-24PXI) which converts bidirectional serial data to a form that can be received by a mobile device via the analog input and output port (e.g., a headphone/microphone jack) of the mobile device 008 . It also implements an infrared and wired input capability for connecting an infrared or direct-wired infrared keyboard 001 .
  • Cypress 401 PSoC: CY8C29466-24PXI
  • FIG. 4 shows an illustrative implementation of the microcontroller 004 of FIG. 1 . It allows for access to a UART (serial port) on one side and talks to one's device using binary audio FSK, a similar technique used on some of the first modems (300 baud).
  • Frequency-shift keying uses alternating analog signals to send information: for example, in binary FSK, a tone of 8,000 hertz might signify a digital “1”, and 4,000 hertz a digital ‘0’. Two frequencies are chosen for this project for the following reasons:
  • the USB host controller 002 of FIG. 1 is implemented with a Vinculum VNCIL USB Host Controller supplied by FTDI (http://www.vinculum.com).
  • FTDI http://www.vinculum.com
  • FSK generators and detectors are known in the art.
  • the following papers may be used:
  • the circuit 006 takes serial data from the computer and converts it to frequency-shift-keyed data. It takes a carrier signal, such as a sine wave, and modulates it, in the illustrative embodiment, toggling it between 4,000 Hz and 8,000 Hz.
  • a carrier signal such as a sine wave
  • the baud rate to the device is approximately 1266 (to provide a small buffer such that a 1200 baud device connected to the FSK circuit does not jam.)
  • the 1200 baud should be sufficient, inasmuch as the chip will should not send anything at a faster rate than 1200 baud.
  • the bytes are sent as little-endian ASCII (LSB/MSB). For example, “U” is sent as the following 9 bits:
  • Standby is at 8 kHz—if the chip is not sending data, it emits a constant 8 kHz tone.
  • the wired implementation uses the audio port, a method of communicating with a device or second-generation iPod touch.
  • the circuit is capable of communicating with a device with a microphone input, not just the device that is used as an example.
  • the internal microphone of an iPhone mobile device typically has a resistance of about 1 K ⁇ (1 kilo-ohms). This resistance is used by the device to detect whether a microphone is plugged in.
  • the sleeve on the plug bridges both the microphone and ground pins of the internal jack.
  • the iPhone senses zero ohms, it detects that only headphones are connected. If it senses 1K, it detects that a microphone is present.
  • Illustrative keyboards 001 that may be used include: a MicroInnovations IrDA Palm keyboard, which has an unusual binary protocol (scan codes) due to its unusual keyboard layout, and a Targus keyboard, whose scan codes match a standard PC keyboard. Both were designed in the PDA (e.g., PalmPilot, iPAQ) era, and use a form of infrared called IrDA to send key presses to a device.
  • PDA e.g., PalmPilot, iPAQ
  • the circuit discussed above can detect signals through ambient audio as-is. Adding an IrDA receiver to the circuit and placing the unmodified infrared keyboard in close line-of-sight proximity to the infrared receiver achieves the same functionality.
  • the “IrDA” signal from the keyboard provides a short to the audio input via a 5 k ⁇ pull-up resistor.
  • the standby voltage is 5 volts (in the illustrative embodiment) and the value goes to 0 volts when shorted for brief 5 microsecond pulses as the keyboard shorts the line.
  • a series of pulses indicates what data is being transmitted. In the illustrative embodiment, the pulses are sent at 9,600 baud. Therefore, to read the data sent by the keyboard, the system has to do the following:
  • this keyboard sends data at 9600 baud
  • the circuit buffers data to some extent, although one cannot typically type faster than 1200 baud. This is because some key presses generate two or three bytes: these are scan codes, not ASCII characters. Because scan codes vary from keyboard to keyboard, it is best to determine what the scan codes are, either by specification or by simply pressing keys. Note that both the press and release of a key generate a scan code, as do modifier keys like SHIFT. A single character typed can generate 2-6 bytes of data. With stop bits, the total could be up to 54 bits for a single key press. A 120-word-per-minute typist can type 10 characters per second. Yet even with overhead, 540 bits per second fits into the 1200 baud bandwidth budget.
  • the keyboard only uses the microphone input.
  • a simple ‘Y’ splitter and ensuring the software does not open the audio output one can listen to audio while typing in accordance with the present teachings.
  • a library that adds keyboard support can be integrated into any iPhone application by one of ordinary skill in the art.
  • a programmer of ordinary skill could create terminal programs, note-taking programs and even full-screen text editors with arrow controls.
  • an improved circuit can be produced with both mouse and keyboard support.
  • the present invention allows an iPhone mobile device to operate as a desktop personal computer with a keyboard by plugging the iPhone into a computer screen for display.
  • a simple circuit is wired that takes infrared pulses and converts them to sound.
  • Code is provided to recognize the signals from the IR (infrared) remote that comes bundled with most Macintosh computers.
  • the present invention has been illustrated by way of example, and not by way of limitation, with the Apple iPhone mobile device. However, the present teachings are not limited thereto. Those of ordinary skill in the art will appreciate that the present teachings can be utilized with other devices without departing from the scope thereof.
  • the present teachings can be applied without limitation to any device with audio input capability, such as smartphones, mobile cellular phones, personal computers, tablet PCs, portable media players (PMPs) with audio input, portable and mobile Internet devices (MIDs), ultra mobile PCs (UMPCs), personal navigation devices (PNDs), computing accessories, wearable computers, laptops, handhelds, personal digital assistants (PDAs), system-on-a-chip devices, portable video recorders, portable audio recorders, or any other computing device with an audio input port or microphone.
  • smartphones mobile cellular phones
  • personal computers tablet PCs
  • PMPs portable media players
  • MIDs portable and mobile Internet devices
  • UMPCs ultra mobile PCs
  • PNDs personal navigation devices
  • computing accessories wearable computers, laptops, handhelds, personal digital assistants (PDAs), system-on-a-chip devices, portable video recorders, portable audio recorders, or any other computing device with an audio input port or microphone.
  • PDAs personal digital assistants
  • this invention applies as well to any device that only has audio output capability but is used to communicate uni-directionally to a device with audio input capability as described in the invention.
  • Such devices could include, without limitation, keyboards with audio output, peripheral devices with audio output, mice, bar code scanners, portable media players, portable audio devices, portable video devices, credit card readers, digital storage devices, ambient audio transmitters such as public address (PA) systems, amplifiers, mixers, boom boxes, DJ systems, performance systems, flat-screen televisions, movie projection systems, surround sound systems, in-vehicle audio systems, satellite. HD or terrestrial radio transmission systems, mixing boards, computers, solid-state audio players. CD players, DVD and Blu-ray Disc players, digital media playback systems, or other fixed or portable electronic devices.
  • PA public address
  • the audio can be transmitted wirelessly—e.g., via RF or Bluetooth—and the same approaches can be used to modulate and transmit data.
  • a Bluetooth hands-free headset can be disassembled, the microphone and speaker wires of this Bluetooth hands-free headset can be connected to the audio input and output of our exemplary FSK circuit, and the FSK circuit can be connected to an external device, such as a keyboard or bidirectional communications device. If the headset is “paired” (in Bluetooth terminology, connected) to the mobile phone, and the software on the mobile phone is configured to receive and send audio through the Bluetooth hands-free headset, the data will transfer over the air.
  • the Bluetooth headset should be selected to use higher audio quality modes (such as A2DP if available), and the frequencies and speed of transmission can be lowered to decrease the error rate, since Bluetooth adds its own layers of modulation and digital compression to the audio signal. This allows the keyboard or other device to be connected and communicate wirelessly to the mobile device over Bluetooth.
  • higher audio quality modes such as A2DP if available
  • any one-way or bidirectional radio frequency-based (non-Bluetooth) analog audio transmitter can be used in the same way as Bluetooth.
  • the sending portion of the transmitter can be connected to the FSK circuit and then to the keyboard, and the receiver to the input of the mobile device. This allows the keyboard to be wirelessly connected to the mobile device via RF.
  • the present teachings enable device-to-device as well as device-to-peripheral connection. That is, the peripheral could be another mobile device within the scope and meaning of the present teachings.

Landscapes

  • Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephone Function (AREA)

Abstract

A system and method for coupling a peripheral to a device such as a smart phone. In a most general embodiment, the invention includes a first circuit for converting data signals output by the peripheral to analog signals; a connector for coupling the circuit to an input port of the device; and a second circuit disposed within the device for converting analog signals to data signals. In the illustrative embodiment, the first circuit is a frequency shift key generator and the second circuit is a frequency shift key detector. A host controller is coupled to the peripheral and a microcontroller coupled to the host controller. A serial port is coupled between the microcontroller and the host controller. A communication controller is coupled between the serial port and the frequency shift key generator. In a more specific embodiment, the device further includes a frequency shift key to binary data converter and a scan code to character set mapper and an arrangement for receiving and processing signals wirelessly via an infrared receiver.

Description

    REFERENCE TO RELATED APPLICATIONS
  • This is a U.S. continuation application which claims priority to U.S. nonprovisional application Ser. No. 12/660,995 filed Mar. 8, 2010 and entitled ELECTRONIC DEVICE INPUT/OUTPUT SYSTEM AND METHOD, which claims priority to U.S. provisional application No. 61/158,586 filed Mar. 9, 2009 and entitled ELECTRONIC DEVICE INPUT/OUTPUT TECHNIQUE, both of which are incorporated herein by reference.
  • BACKGROUND Field of the Invention
  • The present invention relates to systems and methods for establishing data communication between electronic devices. More specifically, the present invention includes systems and methods for establishing bi-directional data communication between electronic devices and for establishing uni-directional and bi-directional communication between devices and peripherals.
  • Description of the Related Art
  • In the field of computerized devices, there are many different interface ports used for communication. RS-232 serial communication, for inter-terminal communication over copper wires, was standardized in 1969. Since that time, many additional wired and wireless techniques have been developed for inter-device communication.
  • In recent times, there has been a proliferation of mobile devices. The 1990s saw the emergence of PDAs (personal digital assistants), and the last 10 years have seen the emergence of “smartphones”, phones with a general-purpose central processing unit capable of running multiple simultaneous programs, much like a computer. Similarly, portable media players (PMPs), such as the iPod have developed computer-like functionality. In the last several years, over a billion mobile phones have been sold each year, and an increasing number of these phones are being designed as “smartphones”, incorporating general-purpose computing technology coupled with an always-on Internet connection.
  • Because these devices are in essence portable computers, they are used for conventional computer functionality, including email, address book, calendaring, and document manipulation. There are various ways to get this sort of information onto portable devices and to connect peripherals to such devices. Unfortunately, all of the current methods have limitations with regards to nearby, immediate, low-latency connectivity.
  • Because these devices are in essence portable computers, the manufacturers have allowed a controlled level of third-party application development on their platforms. Examples of mobile platforms include the Microsoft® Windows® Mobile platform, the Symbian platform, the Palm® Palm OS™ and web OS™ platforms, the Google™ Android™ mobile application platform and the Apple® iPhone® OS platform. Each of these mobile device operating systems resembles in many respects a traditional desktop computer operating system. However, the internals of many of these operating systems are restricted in such a way that new device drivers—the software that allows for additional hardware devices to be connected or for additional network protocols to be implemented—are not permitted.
  • The smartphone type devices communicate to the Internet using the TCP/IP protocol and to other devices such as computers and printers through local-area and wide-area wireless networking. Hardware transmission standards that support this include Wi-Fi (802.11): cellular wireless networking such as CDMA. UMTS, HSDPA, GPRS and EDGE; and wide-area networking such as WiMAX (IEEE 802.16). However, device-to-device and device-to-peripheral communication is awkward with these standards. To have two devices communicate in this manner, they must either communicate through an intermediary server or website (the most common method), adding delay and complexity of setup. For instance, if one device is to send a single contact of an address book to another device—for example, in exchanging business contact information—there is no straightforward technique for sending the contact directly, and the most common alternative, sending the contact over email, is less direct and not instantaneous, and may not even be supported by one of the devices.
  • If devices are to communicate in a peer-to-peer manner (i.e., sending network packets directly from one device to another), it is necessary to have both devices communicate with the same network protocols and the same application-layer protocols, and to solve issues such as network peer discovery. In practice, due to concern about viruses inherent in any network protocol, devices are very restricted in what they are designed to do on a direct basis over a network, and direct exchange of data between devices is thus inhibited over a network.
  • In the case of connecting peripherals, the cost and complexity of adding wireless local-area networking to a simple peripheral device has prevented the attachment of keyboards, mice, joysticks and other peripherals to devices via wireless networking. In practice, there are no known Wi-Fi keyboard peripherals.
  • Another limitation of Wi-Fi and other wireless techniques is that they require both devices to be wireless network receivers and transmitters, and that they require constant connectivity for devices to work. This consumes much power, requiring portable peripherals and devices to carry larger batteries, and requiring frequent recharging or replacement of batteries.
  • The Bluetooth wireless networking standard was developed as a point-to-point wireless technique for device-to-device and device-to-peripheral connection. It is specifically designed to minimize power use. Although it overcomes some of the limitations of wireless networking approaches by specifically enabling point-to-point, device-to-device communication, it still requires larger batteries, bulkier devices and requires complex protocol support. Many devices that incorporate some Bluetooth features do not allow application-level developers to access the features. For instance, one device may support transmission of address book entries to another device, but the other device, even though it has the necessary hardware support, does not implement the correct software to accept the address book transmission. Because Bluetooth software support is implemented by the device manufacturer, the device manufacturer can decide, for any reason, not to support parts of the standard.
  • Additionally, unlike TCP/IP and networking standards, Bluetooth is not designed for ad-hoc creation of new communication protocols. Thus, an application developer who simply wanted to use Bluetooth to implement a proprietary or industry-standard communication scheme on top of Bluetooth would be limited to the protocols the manufacturer enabled on the device. In addition, in the case of peripherals, such as Bluetooth keyboards, if a mobile device is not designed to work with a Bluetooth keyboard by the manufacturer, it is effectively impossible for an application developer to implement support for it.
  • Infrared light transmission, a line-of-sight wireless communication technique, was popular for one-way and two-way inter-device communication in the 1990s and still sees some use today, but has been eclipsed by Bluetooth for peripheral interconnection. The Palm series of PDA devices traditionally could accomplish the task of sending an address book contact entry from one device to another using serial binary communication over infrared communication standards such as IrDA (a high-speed, infrared serial protocol).
  • However, most mobile phones, PDAs, smartphones and portable devices only use infrared today as a remote control input standard, and usually only implement support for a single remote. For instance, many Macintosh computers and devices such as iPod docking stations can use an Apple remote control. Even though they have infrared receiver hardware, there is no application-level ability to receive any other infrared protocols or support any other infrared devices than the Apple remote. Many other devices with infrared support have similar limitations. The existence of an infrared receiver or transmitter on a device provides little hope that any device or protocol not supported by the manufacturer will be supported. Even though the vast majority of television and other remotes in market use uni-directional infrared transmission, and even though universal remotes have shown the versatility of this technique for device interoperability, this interoperability has rarely been demonstrated in the area of computing devices. For several years, a number of infrared keyboards were developed, and a brief era of standardization was achieved wherein a dozen or so PDA devices supported perhaps a dozen in-market portable infrared keyboards. However, the current generation of mobile devices, lacking support for the IrDA or general infrared support, cannot use these keyboards.
  • The Universal Serial Bus (USB) is a wired hardware communication standard and is the most common interface on mobile devices, phones, PDAs, portable computers and smartphones for charging and data communication, but is not commonly used for peripheral interconnection. Most mobile devices can be connected in a master/slave relationship with a personal computer, such that the personal computer recognizes the mobile device as a peripheral. Mobile devices usually change to a “peripheral” mode, and specialized software running on the personal computer, usually provided by the manufacturer, allows custom communication with the device, such as synchronizing address books and contacts, music, calendars and other data Because of the master/slave design of USB, USB cannot be readily used to connect two devices, or to connect peripherals to a mobile device that itself is designed to be a peripheral, without a personal computer intermediary. Thus, address book contact exchange cannot be readily achieved by connecting two devices via USB, nor can a USB keyboard—a ubiquitous and inexpensive device—be connected to a mobile device: even though both the keyboard and the mobile device “have USB,” they are both slave devices.
  • Proprietary docking connectors are the most common approach to peripheral interconnection for mobile devices. PDA, phone, smartphone and portable media player manufacturers have developed custom physical and electrical connections on their devices to build an ecosystem of peripherals that only work with their devices. For instance, the Apple iPod® dock connector standard has enabled a large aftermarket ecosystem of automobile integration adapters, speakers, video playback devices, microphones, remote controls, pedometers, projectors and other peripherals. Similar approaches are used by mobile phone and portable media player manufacturers to create proprietary peripheral interfaces for remote controls, chargers and audio outputs.
  • Beyond physical and electrical limitations, manufacturers often develop custom protocols, inaccessible to application developers, so that even if a device exists and can be coupled to the proprietary electrical and mechanical interface, it is impossible for an application developer to support the device or access its functionality. For example, there are microphone input peripherals designed to enable audio input for iPod devices that lack a microphone. Even though they use the standard connector and have even been approved for use with some models of iPod, they cannot work with the latest iPods, merely because Apple has not provided the software support (device drivers) to allow access to them by application developers, and because there is no way for application developers to develop these device drivers or provide these device drivers to consumers.
  • None of the existing systems have been able to provide mobile device application developers with a reliable technique for accomplishing inter-device communication regardless of hardware design limitations and regardless of manufacturer.
  • SUMMARY
  • The need in the art is addressed by the present invention, which provides a system and method for coupling a peripheral to a device such as a smartphone. In a most general embodiment, the invention includes a first circuit for converting a data signal output from the peripheral to analog (e.g., audio) signals; a connector for coupling the circuit to an input (e.g. audio) port of the device: and a second circuit disposed within the device for converting the analog signals to (e.g. digital) data signals.
  • In the illustrative embodiment, the first circuit is a frequency shift key generator and the second circuit is a frequency shift key detector. A host controller is coupled to the peripheral and a microcontroller coupled to the device. A serial port is coupled between the microcontroller and the host controller. A communication controller is coupled between the serial port and the frequency shift key generator.
  • In a more specific embodiment, the device further includes a converter that transforms frequency-shift-keyed data to binary data, a scan-code-to-character-set mapper and an arrangement for receiving and processing signals wirelessly via an infrared receiver.
  • BRIEF DESCRIPTION OF THE DRAWINGS
  • FIG. 1 is a diagram of one embodiment of an apparatus for connecting a keyboard to a smart phone device through the microphone port of the smart phone device in accordance with the present teachings.
  • FIG. 2 is a diagram of one embodiment of the software running on the smart phone that processes the data sent to it by an apparatus such as the one in FIG. 1.
  • FIG. 3 is a flowchart of one embodiment of a system for connecting a keyboard to a mobile device.
  • FIG. 4 shows an illustrative implementation of the microcontroller of FIG. 1.
  • DETAILED DESCRIPTION
  • Illustrative embodiments and exemplary applications will now be described with reference to the accompanying drawings to disclose the advantageous teachings of the present invention.
  • While the present invention is described herein with reference to illustrative embodiments for particular applications, it should be understood that the invention is not limited thereto. Those having ordinary skill in the art and access to the teachings provided herein will recognize additional modifications, applications and embodiments within the scope thereof, and additional fields in which the present invention would be of significant utility.
  • Some portions of the detailed descriptions that follow are presented in terms of algorithms and symbolic representations of operations on data bits within a device memory. These algorithmic descriptions and representations are the means used by those skilled in the data processing arts to most effectively convey the substance of their work to others skilled in the art. An algorithm is here, and generally, conceived to be a self-consistent sequence of steps leading to a desired result. The steps are those requiring physical manipulations of physical quantities. Usually, though not necessarily, these quantities take the form of electrical or magnetic signals capable of being stored, transferred, combined, compared and otherwise manipulated. It has proved convenient at times, principally for reasons of common usage, to refer to these signals as bits, values, elements, symbols, characters, terms, numbers or the like.
  • It should be born in mind, however, that all of these and similar terms are to be associated with the appropriate physical quantities and are merely convenient labels applied to these quantities. Unless specifically stated otherwise as apparent from the following discussion, it is appreciated that throughout the description, discussions utilizing terms such as “processing,” “computing,” “calculating,” “determining,” “selecting,” “displaying,” “sending,” “receiving,” “updating,” “modifying,” “assigning,” “requesting,” “notifying,” “communicating”. “interfacing” or the like, refer to the actions and processes of a mobile device or similar electronic device having processing circuitry and components that manipulate and transform data represented as physical (electronic) quantities within the system's registers and memories into other data similarly represented as physical quantities within the device system memories, registers or other such information storage, transmission or display devices.
  • The present invention also relates to an apparatus for performing the operations herein. This apparatus may be specially constructed for the required purposes or it may comprise a general-purpose device selectively activated or reconfigured by a program stored in the device. Such a program may be stored in a computer-readable storage medium, such as, but not limited to, any type of disk-including floppy disks, optical disks, CD-ROMs and magneto-optical disks-read-only memories (ROMs), random access memories (RAMs), EPROMs, EEPROMs, magnetic or optical cards or any type of media suitable for storing electronic instructions, each of which may be coupled to a computer system bus.
  • The algorithms and displays presented herein can be implemented as a particular electronic device, component, computer or other apparatus. However, various general-purpose systems may also be used with the programs in accordance with the teachings herein, or it may prove convenient to construct more specialized apparatus to perform the required method steps. The required structure for a variety of these systems will become apparent from the description below. In addition, the present invention is not described with reference to any particular programming language. It will be appreciated that a variety of programming languages may be used to implement the teachings of the invention as described herein.
  • A machine or computer readable medium includes any mechanism for storing information in a form readable by a computer or similar machine. For example, a computer-readable medium includes read-only memory (“ROM”), random access memory (“RAM”), magnetic-disk storage media, optical storage media, flash memory devices or other types of machine-accessible storage media.
  • In accordance with the present teachings, a technique for serial communication is implemented that utilizes the audio input and output facilities of a device. Modulating audio to achieve binary communication is called “modulation-demodulation,” and devices that implement this technique are called “modems.” The first audio modems were implemented in the 1950s, and by the early 1960s, 300-bit-per-second (bps) communication was being achieved over phone lines. One modulation scheme used, called “V.21,” used binary frequency-shift keying (BFSK, or “binary FSK”). In this technique, two tones (pitches) were played alternately, one representing a binary “1” and one representing a binary “0”. In the late 1970s, early personal computers used similar forms of modulation to store and retrieve programs on cassette tape. For instance, the Apple II computer loaded programs at about 180 bytes per second from cassettes by using alternating tones to represent binary digits.
  • In the 1990s, digital signal processor chips were incorporated into personal computers, allowing them to implement the more complex, higher-bit-rate modem protocols that run at 28.8 kbps and 56 kbps, in software. As computer CPUs have increased in speed, they have gained the ability to implement various modulation schemes in software alone without additional DSP hardware.
  • Recently, there have been a number of uses of computer audio input and output ports for digital communication. For long-distance radio communication, many of the shortwave modulation schemes have been implemented as software for sound cards on PCs. Sound cards have been used to implement bidirectional communication over several kilometers of copper wire in open-source projects like AuDSL.
  • For short-distance, line-of-sight applications, the open-source LiRC software project includes support for infrared reception through the microphone port of a PC sound card. Similarly, a product developed by Griffin Technologies several years ago allowed Windows Mobile-based PDAs to transmit infrared codes to control televisions using the audio output facility of the PDA. Similar techniques have been demonstrated for the iPhone device, performing infrared transmission using the audio output facility. Very recently, on 28 Dec. 2008, tellart.com released a video demonstrating the ability to input a single changing value between 0 and 255 by having the iPhone measure the audio amplitude (volume) of a sound looped through a potentiometer, for the purpose of connecting the iPhone to physical sensor peripherals. However, this technique, though effective for real-time measurement of time-varying quantities, is ineffective for uni-directional or bidirectional data transfer.
  • FIG. 1 is a diagram of one embodiment of an apparatus for connecting a keyboard to a smartphone device through the microphone port of the smartphone device in accordance with the present teachings. As shown in FIG. 1, a conventional keyboard 001 is connected to a USB host controller 002 that connects to the serial port 003 of a microcontroller 004 programmed to buffer data from the serial port 003. Signals from the keyboard 001 are stored temporarily in a communication controller 005. The communication controller 005 may be implemented in software executed by a microprocessor (not separately shown) within the microcontroller 004.
  • In the illustrative embodiment, the signals from the keyboard are modulated as frequency-shift-keyed (FSK) audio signals by FSK Generator 006. In accordance with the present teachings, the audio output of the FSK generator 006 is fed to an audio input or microphone port 007 of a mobile device 008, where it is interpreted by a software application 009.
  • One skilled in the art would understand that any number of additional devices with different functions, without limitation-including computer mice, credit card readers, human interface devices, game controllers and printers-could also be connected to the USB host controller 002.
  • FIG. 2 is a diagram relating to FIG. 1 and illustrating the functions of the software application 009 stored in the flash memory of portable device 008. The software performs the functions of detecting frequency-shift-keyed data (101) and converting this to binary data, assembling full bytes of this data to be compared to a scan code table (102) to determine what key was pressed or, for non-keyboard input, what symbol was sent. The software then (103) displays the results or saves them to memory or fixed storage, as appropriate to the application.
  • FIG. 3 is a logic flow diagram for an embodiment of the invention showing the data flow as keyboard data is entered into a mobile device. The user presses a key on the keyboard, which, in the illustrative embodiment, emits a multi-byte scan code. The USB controller receives this data and sends it to the microcontroller 004. The microcontroller 004 buffers the data and adjusts bit rate as necessary for the device to which it is being sent. In the illustrative application, the data is slowed to fit the 1200-baud FSK rate available to the application software running on the smartphone.
  • The microcontroller 004 converts the data to FSK audio and plays it into the microphone port of the mobile device. Application software running on the mobile device decodes the FSK audio into binary digits, assembles the binary digits into byte sequences and interprets sequences as keyboard scan codes, which are then either stored in fixed or temporary memory or displayed, as appropriate.
  • In the illustrative embodiment, the microcontroller 004 of FIG. 1 is implemented with a hybrid analog/digital chip manufactured by Cypress 401 (PSoC: CY8C29466-24PXI) which converts bidirectional serial data to a form that can be received by a mobile device via the analog input and output port (e.g., a headphone/microphone jack) of the mobile device 008. It also implements an infrared and wired input capability for connecting an infrared or direct-wired infrared keyboard 001.
  • Although there are a number of ways to get data into and out of most smartphones and other devices—e.g., the Apple dock connector, Bluetooth, the camera and screen, and Wi-Fi-none of these are well suited for simple, low-speed bidirectional communication with inexpensive components. In addition, several of these inputs are simply inaccessible to independent developers, as in the Apple iPhone SDK. The audio port, however, is accessible from the iPhone SDK-both for playing audio and for recording it. Hence, in accordance with the present teachings, a device design is taught that interfaces with one's device (e.g., iPhone) via the microphone/audio jack and sends bidirectional 1,200-baud serial data.
  • Whereas the present invention is illustrated herein with respect to the iPhone mobile phone, it should be understood that the present invention is not limited to any particular device.
  • Wired External Device Connections
  • For a wired implementation, to provide the microcontroller 004 of FIG. 1, we start with a specialized microcontroller such as the Cypress PSoC (Programmable System on a Chip) 401 (PSoC: CY8C29466-24PXI). FIG. 4 shows an illustrative implementation of the microcontroller 004 of FIG. 1. It allows for access to a UART (serial port) on one side and talks to one's device using binary audio FSK, a similar technique used on some of the first modems (300 baud).
  • Frequency-shift keying uses alternating analog signals to send information: for example, in binary FSK, a tone of 8,000 hertz might signify a digital “1”, and 4,000 hertz a digital ‘0’. Two frequencies are chosen for this project for the following reasons:
      • 1. Sound must be easily played and recorded through the device audio circuitry.
      • 2. The use of harmonic frequencies (8,000 hertz=2*4,000 hertz) facilitates the use of a simple method to decode the signals.
  • To build the circuit, the following electronic components are recommended for the illustrative implementation:
      • Cypress PSoC CY8C29466-24PX1
      • Cypress PSoC MiniProg USB programmer CY3217
      • Breadboard (a solder less breadboard will work)
      • Three 1 kΩ resistors
      • One 220 kΩ resistor
      • One 0.1 μF ceramic capacitor
      • One 0.2 μF capacitor (or two 0.1 μF capacitors in parallel)
      • A pair of device headphones
      • 5-9V power source (such as a 9V battery)
      • LM7805 voltage regulator (unless using a steady 5V power source)
      • 5-pin male 0.100″ K.K. header
      • A 5V UART such as the FTDI TTL-232R cable
  • In the illustrative embodiment, the USB host controller 002 of FIG. 1, is implemented with a Vinculum VNCIL USB Host Controller supplied by FTDI (http://www.vinculum.com). As will be appreciated by those of ordinary skill in the art, the same basic circuit may be used for both the wired and wireless implementations disclosed herein, with appropriate firmware.
  • FSK generators and detectors are known in the art. For example, to build the FSK generator 006 and detector 101, the following papers may be used:
      • 1. FSK Generator 006—Cypress Application Note AN2098 describes how to transform digital bits into an FSK audio signal: http://www.psocdeveloper.com/docs/appnotes/an-mode/detail/an-pointer/an2098/an-file/122.html.
      • 2. FSK Detector 101—Cypress Application Note AN2336 describes how to decode an FSK audio signal into digital bits: http://www.psocdeveloper.com/docs/appnotes/an-mode/detail/an-pointer/an2336/an-file/124.html.
  • The circuit 006 takes serial data from the computer and converts it to frequency-shift-keyed data. It takes a carrier signal, such as a sine wave, and modulates it, in the illustrative embodiment, toggling it between 4,000 Hz and 8,000 Hz.
  • Illustrative FSK specifications are:
      • 1200 baud 8-N-1
      • Binary 1: 8 kHz
      • Binary 0: 4 kHz
  • In the illustrative embodiment, the baud rate to the device is approximately 1266 (to provide a small buffer such that a 1200 baud device connected to the FSK circuit does not jam.) The 1200 baud should be sufficient, inasmuch as the chip will should not send anything at a faster rate than 1200 baud.
  • The bytes are sent as little-endian ASCII (LSB/MSB). For example, “U” is sent as the following 9 bits:
  • Bit 0: 4 kHz start bit
  • Bit 1: 8 kHz
  • Bit 2: 4 kHz
  • Bit 3: 8 kHz
  • Bit 4: 4 kHz
  • Bit 5: 8 kHz
  • Bit 6: 4 kHz
  • Bit 7: 8 kHz
  • Bit 8: 4 kHz
  • Standby is at 8 kHz—if the chip is not sending data, it emits a constant 8 kHz tone.
  • The wired implementation uses the audio port, a method of communicating with a device or second-generation iPod touch. The circuit is capable of communicating with a device with a microphone input, not just the device that is used as an example. The internal microphone of an iPhone mobile device typically has a resistance of about 1 KΩ (1 kilo-ohms). This resistance is used by the device to detect whether a microphone is plugged in. When conventional headphones are plugged in, the sleeve on the plug bridges both the microphone and ground pins of the internal jack. Thus, when the iPhone senses zero ohms, it detects that only headphones are connected. If it senses 1K, it detects that a microphone is present.
  • Using a modified version of the iPhone modem Cypress firmware from the bidirectional serial implementation described above, one can attach an external portable keyboard to one's iPhone mobile device.
  • Illustrative keyboards 001 that may be used include: a MicroInnovations IrDA Palm keyboard, which has an unusual binary protocol (scan codes) due to its unusual keyboard layout, and a Targus keyboard, whose scan codes match a standard PC keyboard. Both were designed in the PDA (e.g., PalmPilot, iPAQ) era, and use a form of infrared called IrDA to send key presses to a device.
  • Wireless External Device Connections
  • The circuit discussed above can detect signals through ambient audio as-is. Adding an IrDA receiver to the circuit and placing the unmodified infrared keyboard in close line-of-sight proximity to the infrared receiver achieves the same functionality.
  • In operation, the “IrDA” signal from the keyboard provides a short to the audio input via a 5 kΩ pull-up resistor. Thus, the standby voltage is 5 volts (in the illustrative embodiment) and the value goes to 0 volts when shorted for brief 5 microsecond pulses as the keyboard shorts the line. A series of pulses (or lack thereof) indicates what data is being transmitted. In the illustrative embodiment, the pulses are sent at 9,600 baud. Therefore, to read the data sent by the keyboard, the system has to do the following:
      • 1. Using a DigInv block on the Cypress chip, use an interrupt to call a software function in the code each time a negative pulse (zero) arrives.
      • 2. Wait for a first pulse. This is the start bit, which signifies the start of a byte. The function will start a timer that goes for 3/2's of a 9600 baud period (150 microseconds).
      • 3. If subsequent pulses arrive during the timer period, the software function notes them. If no pulse occurs, the function is not called.
      • 4. When the timer is up, then the system checks to see if the interrupt function was called. If not, that would mean the last bit was a logic 1 (no pulse). If it was called, then the bit was logic 0. Next, reset the timer for a single 9600 baud period (100 microseconds).
      • 5. Repeat step (4) seven more times.
      • 6. On the last bit (the eighth), write the byte to the FSK system—which is identical to what was done above. Also turn off the timer, and have the interrupt function wait for another start bit.
      • 7. At this point, one will be in the middle of a stop bit, which is always logic 1, (no pulse), signifying the end of the byte.
  • Because this keyboard sends data at 9600 baud, the circuit buffers data to some extent, although one cannot typically type faster than 1200 baud. This is because some key presses generate two or three bytes: these are scan codes, not ASCII characters. Because scan codes vary from keyboard to keyboard, it is best to determine what the scan codes are, either by specification or by simply pressing keys. Note that both the press and release of a key generate a scan code, as do modifier keys like SHIFT. A single character typed can generate 2-6 bytes of data. With stop bits, the total could be up to 54 bits for a single key press. A 120-word-per-minute typist can type 10 characters per second. Yet even with overhead, 540 bits per second fits into the 1200 baud bandwidth budget.
  • It is also worth noting that, in accordance with the illustrative embodiment, the keyboard only uses the microphone input. Thus, by using a simple ‘Y’ splitter and ensuring the software does not open the audio output, one can listen to audio while typing in accordance with the present teachings. Inasmuch as kits with the keyboard preassembled are straightforward to produce, a library that adds keyboard support can be integrated into any iPhone application by one of ordinary skill in the art. Thus, a programmer of ordinary skill could create terminal programs, note-taking programs and even full-screen text editors with arrow controls. Given that some old serial mice originally ran at 1,200 baud, an improved circuit can be produced with both mouse and keyboard support. Thus, the present invention allows an iPhone mobile device to operate as a desktop personal computer with a keyboard by plugging the iPhone into a computer screen for display.
  • For the illustrative implementation, a simple circuit is wired that takes infrared pulses and converts them to sound. Code is provided to recognize the signals from the IR (infrared) remote that comes bundled with most Macintosh computers. These steps are well within the level of skill of a person of ordinary skill in the art. See, for example, iPhone Hacks: Pushing the iPhone and iPod touch Beyond Their Limits, written by Damien Stolarz et al. and published by O'Reilly Media, first edition (Apr. 16, 2009), ISBN-10: 0596516649, ISBN-13: 978-0596516642, the teachings of which are hereby incorporated herein by reference.
  • The present invention has been illustrated by way of example, and not by way of limitation, with the Apple iPhone mobile device. However, the present teachings are not limited thereto. Those of ordinary skill in the art will appreciate that the present teachings can be utilized with other devices without departing from the scope thereof. That is, it should be understood that the present teachings can be applied without limitation to any device with audio input capability, such as smartphones, mobile cellular phones, personal computers, tablet PCs, portable media players (PMPs) with audio input, portable and mobile Internet devices (MIDs), ultra mobile PCs (UMPCs), personal navigation devices (PNDs), computing accessories, wearable computers, laptops, handhelds, personal digital assistants (PDAs), system-on-a-chip devices, portable video recorders, portable audio recorders, or any other computing device with an audio input port or microphone.
  • It is further understood that this invention applies as well to any device that only has audio output capability but is used to communicate uni-directionally to a device with audio input capability as described in the invention. Such devices could include, without limitation, keyboards with audio output, peripheral devices with audio output, mice, bar code scanners, portable media players, portable audio devices, portable video devices, credit card readers, digital storage devices, ambient audio transmitters such as public address (PA) systems, amplifiers, mixers, boom boxes, DJ systems, performance systems, flat-screen televisions, movie projection systems, surround sound systems, in-vehicle audio systems, satellite. HD or terrestrial radio transmission systems, mixing boards, computers, solid-state audio players. CD players, DVD and Blu-ray Disc players, digital media playback systems, or other fixed or portable electronic devices.
  • In another embodiment, the audio can be transmitted wirelessly—e.g., via RF or Bluetooth—and the same approaches can be used to modulate and transmit data. For instance, a Bluetooth hands-free headset can be disassembled, the microphone and speaker wires of this Bluetooth hands-free headset can be connected to the audio input and output of our exemplary FSK circuit, and the FSK circuit can be connected to an external device, such as a keyboard or bidirectional communications device. If the headset is “paired” (in Bluetooth terminology, connected) to the mobile phone, and the software on the mobile phone is configured to receive and send audio through the Bluetooth hands-free headset, the data will transfer over the air. The Bluetooth headset should be selected to use higher audio quality modes (such as A2DP if available), and the frequencies and speed of transmission can be lowered to decrease the error rate, since Bluetooth adds its own layers of modulation and digital compression to the audio signal. This allows the keyboard or other device to be connected and communicate wirelessly to the mobile device over Bluetooth.
  • Similarly, any one-way or bidirectional radio frequency-based (non-Bluetooth) analog audio transmitter can be used in the same way as Bluetooth. The sending portion of the transmitter can be connected to the FSK circuit and then to the keyboard, and the receiver to the input of the mobile device. This allows the keyboard to be wirelessly connected to the mobile device via RF.
  • The teachings provided herein could be used in a variety of ways, for example:
      • a. A software vendor could provide a data-transfer software library or application which runs on a mobile device for the purpose of achieving data transfer over the audio input or output jacks.
      • b. An accessory maker, who does not create or sell the software, could use the inventive technique to send data to or from their attached device. For instance, a GPS receiver could play out its location data as an FSK or other modulated data stream, and not implement the audio receiver.
      • c. A mobile device manufacturer could create a phone or mobile device that can receive modulated data streams via audio. The hardware manufacturer might include firmware, software or hardware integrated into the device to implement reception of FSK or other modulated signals (there are many kinds of modulation) to send data to a device.
      • d. A vendor could produce an end-to-end tools solution that provides the external hardware that connects to the device, the software that runs on the device, and firmware to run on the external hardware.
      • e. A ‘cloud service’ could decode the signals. That is, the phone could be relatively “dumb,” and a device could be used to communicate to the ‘cloud’ through a mobile phone. A software vendor could implement a solution, whereby users transmit data from an accessory, through the audio input of their phone. The data would then be uploaded without significant change to a server, where it would be decoded.
  • It should also be noted that the present teachings enable device-to-device as well as device-to-peripheral connection. That is, the peripheral could be another mobile device within the scope and meaning of the present teachings.
  • Thus, a method, a system and an apparatus for connecting peripheral devices to mobile devices and for interconnecting mobile devices have been described. It is to be understood that the above description is intended to be illustrative and not restrictive. Many other embodiments will be apparent to those of skill in the art upon reading and understanding the above description. The scope of the invention should, therefore, be determined with reference to the appended claims, along with the full scope of equivalents to which such claims are entitled.
  • It is therefore intended that the appended claims cover any and all such applications, modifications and embodiments within the scope of the present invention.

Claims (21)

1. A system for coupling a peripheral to a mobile device, the system comprising:
a first circuit configured to convert data signals produced by said peripheral to analog signals;
an arrangement configured to couple said signals into said mobile device; and
a second circuit disposed within said mobile device and configured to convert said analog signals to data signals,
wherein said arrangement is configured to couple said analog signals into said mobile device via wireless transmission,
wherein said peripheral attaches via Bluetooth,
wherein said peripheral comprises a credit card reader, and
wherein said mobile device comprises an iPhone.
2. The system of claim 1, wherein the system comprises said peripheral.
3. The system of claim 2, wherein said second circuit comprises a portable, battery powered, pocket-sized apparatus.
4. The system of claim 1, wherein said arrangement is a wireless receiver.
5. The system of claim 4, wherein said arrangement includes a radio receiver.
6. The system of claim 4, wherein said arrangement includes an infrared receiver.
7. The system of claim 4, wherein said arrangement includes an optical receiver.
8. The system of claim 1, wherein the data signals carry data, and
wherein the system further comprises an iPhone software application configured to receive said data based on said analog signals coupled into said mobile device.
9. The system of claim 8, wherein said system comprises said iPhone.
10. The system of claim 1, comprising a host controller coupled to said peripheral.
11. The system of claim 10, comprising a microcontroller coupled to said host controller.
12. The system of claim 11, comprising a serial port disposed on said microcontroller and coupled to said host controller.
13. The system of claim 12, comprising a communication controller coupled to said serial port.
14-20. (canceled)
21. A method comprising:
by a credit card reader, obtaining data from a credit card;
modulating an analog signal according to the obtained data;
using Bluetooth, transmitting the analog signal to an iPhone;
responsive to said transmission of the analog signal to the iPhone using Bluetooth, by the iPhone, obtaining the data; and
by a software application installed on the iPhone, receiving the obtained data.
22. The method of claim 21, wherein said analog signal comprises an analog audio signal.
23. The method of claim 21, wherein said modulating the analog signal according to the obtained data comprises by a portable, battery powered, pocket-sized apparatus, modulating the analog signal according to the obtained data comprises.
24. The method of claim 21, wherein said credit card reader comprises an interface through which information flows,
wherein an apparatus comprises a connection to said interface,
wherein the apparatus is portable, battery powered, and pocket-sized, and
wherein said modulating the analog signal according to the obtained data comprises modulating the analog signal according to the obtained data using the apparatus.
25. A system comprising:
a serial port connected to a credit card reader to receive data provided by the credit card reader;
a transmitter configured to:
receive the data,
pair with an iPhone and create a Bluetooth connection with the iPhone, and
transmit to the iPhone over the Bluetooth connection an analog signal that conveys the data; and
a communication controller connected between the serial port and the transmitter to control communication between the serial port and the transmitter.
26. The system of claim 25, wherein the system is a portable, battery powered, pocket-sized apparatus comprising a microcontroller.
27. The system of claim 25, wherein a portable, battery powered, pocket-sized apparatus comprises the serial port, the transmitter, and the communication controller, and
wherein the system further comprises a software application that is configured to:
run on the iPhone; and
when running on the iPhone:
cause the iPhone to receive the analog signal;
obtain the data conveyed by the analog signal; and
cause the iPhone to transmit the data over the Internet.
US16/358,627 2009-03-09 2019-03-19 Electronic device input/output system and method Abandoned US20200053197A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US16/358,627 US20200053197A1 (en) 2009-03-09 2019-03-19 Electronic device input/output system and method

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
US15858609P 2009-03-09 2009-03-09
US12/660,995 US9800706B2 (en) 2009-03-09 2010-03-08 Electronic device input/output system and method
US15/791,283 US20180048755A1 (en) 2009-03-09 2017-10-23 Electronic device input/output system and method
US16/358,627 US20200053197A1 (en) 2009-03-09 2019-03-19 Electronic device input/output system and method

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
US15/791,283 Continuation US20180048755A1 (en) 2009-03-09 2017-10-23 Electronic device input/output system and method

Publications (1)

Publication Number Publication Date
US20200053197A1 true US20200053197A1 (en) 2020-02-13

Family

ID=42784936

Family Applications (3)

Application Number Title Priority Date Filing Date
US12/660,995 Active 2031-01-19 US9800706B2 (en) 2009-03-09 2010-03-08 Electronic device input/output system and method
US15/791,283 Abandoned US20180048755A1 (en) 2009-03-09 2017-10-23 Electronic device input/output system and method
US16/358,627 Abandoned US20200053197A1 (en) 2009-03-09 2019-03-19 Electronic device input/output system and method

Family Applications Before (2)

Application Number Title Priority Date Filing Date
US12/660,995 Active 2031-01-19 US9800706B2 (en) 2009-03-09 2010-03-08 Electronic device input/output system and method
US15/791,283 Abandoned US20180048755A1 (en) 2009-03-09 2017-10-23 Electronic device input/output system and method

Country Status (1)

Country Link
US (3) US9800706B2 (en)

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW201219006A (en) * 2010-11-05 2012-05-16 Univ Nat Cheng Kung A peripheral physiology inspection apparatus and a peripheral auxiliary device for smart phone
US20120302288A1 (en) * 2011-05-23 2012-11-29 Joe Born Cellular Telephone Docking Interface
WO2013051032A1 (en) * 2011-10-03 2013-04-11 Ezetap Mobile Solutions Private Limited A dongle device with rechargeable power supply for a secure electronic transaction
EP2807817A4 (en) * 2012-01-24 2015-12-09 Secure Couture Llc System utilizing a combination for including information within an outbound communication channel of a mobile telephony-capable computing device
US9632604B2 (en) * 2012-03-27 2017-04-25 Hewlett-Packard Development Company, L.P. Input components of a device
US9229903B2 (en) * 2012-08-31 2016-01-05 General Motors Llc Providing vehicle operating information using a wireless device
CN103916524A (en) * 2013-01-07 2014-07-09 凹凸电子(武汉)有限公司 Auxiliary operation device and method for controlling mobile terminal
KR101839396B1 (en) 2013-12-28 2018-03-16 인텔 코포레이션 System and method for device action and configuration based on user context detection from sensors in peripheral devices
CN105738373B (en) * 2016-04-19 2018-04-20 江西合力泰科技有限公司 For placing the carrier and hand-set lid appearance detecting method of hand-set lid
CN109308133A (en) * 2018-09-07 2019-02-05 深圳众赢时代科技有限公司 Intelligent interaction projects interaction technique
CN110280017A (en) * 2018-11-29 2019-09-27 广州小鸡快跑网络科技有限公司 Host receiver audio transmission device, method, electronic equipment and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5973756A (en) * 1996-02-06 1999-10-26 Fca Corporation IR Transmitter with integral magnetic-stripe ATM type credit card reader & method therefor
US6312175B1 (en) * 1998-03-31 2001-11-06 Logic Controls, Inc. Integrated keyboard input device
US20020097706A1 (en) * 1997-05-19 2002-07-25 Preston Dan A. In-band signaling for data communications over digital wireless telecommunications networks
US6522552B1 (en) * 2001-11-16 2003-02-18 Power Quotient International Co., Ltd. Wireless memory card reader
US20040259542A1 (en) * 2003-05-02 2004-12-23 Nokia Corporation Method for saving power in a wireless terminal and a terminal
US20080059375A1 (en) * 2006-09-06 2008-03-06 Basil Munir Abifaker Payment Card Terminal for Mobile Phones
US20090011794A1 (en) * 2007-07-06 2009-01-08 Samsung Electronics Co., Ltd Interface method and appparatus for a mobile terminal

Family Cites Families (22)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60130235A (en) * 1983-12-16 1985-07-11 Fujitsu Ltd Data and voice transmitter
US4791640A (en) * 1985-10-21 1988-12-13 American Telephone And Telegraph Company, At&T Bell Laboratories Call charging arrangement
US5305078A (en) * 1992-01-21 1994-04-19 Exfo Electro-Optical Engineering Inc. Measurement of attenuation of optical fibers using transmitted wavelength and power information
JPH0730474A (en) * 1993-07-12 1995-01-31 Tokimec Inc Data communication system for ship
US5706330A (en) * 1995-02-14 1998-01-06 Bufferd; Cary Method and apparatus for tracking and transmitting communication information for wireless communication systems
US6215854B1 (en) * 1997-06-30 2001-04-10 Harris Corporation Digital signal processor-based telephone test set analyzing and displayed multiple signal parameter data for terminal mode and line monitor mode operation
US6243079B1 (en) * 1998-07-07 2001-06-05 Primax Electronics, Ltd. Initialization method for one-way communications and apparatus for use therewith
US6512467B1 (en) * 1999-04-09 2003-01-28 Sun Microsystems, Inc. Method and apparatus for dynamically configuring device using device code
US6460143B1 (en) * 1999-05-13 2002-10-01 Apple Computer, Inc. Apparatus and method for awakening bus circuitry from a low power state
US6211790B1 (en) * 1999-05-19 2001-04-03 Elpas North America, Inc. Infant and parent matching and security system and method of matching infant and parent
JP2002320115A (en) * 2001-04-24 2002-10-31 Olympus Optical Co Ltd Digital camera and digital imaging system
US7113299B2 (en) * 2001-07-12 2006-09-26 Canon Development Americas, Inc. Printing with credit card as identification
US20040104268A1 (en) * 2002-07-30 2004-06-03 Bailey Kenneth Stephen Plug in credit card reader module for wireless cellular phone verifications
US20040093503A1 (en) * 2002-11-13 2004-05-13 Dombrowski James Douglas Acquisition and storage of human biometric data for self identification
US20060059293A1 (en) * 2004-09-14 2006-03-16 Henry Wurzburg Universal serial bus switching hub
US7929991B2 (en) * 2005-03-31 2011-04-19 Qualcomm Incorporated Mobile device interface for input devices
US7736320B2 (en) * 2005-05-25 2010-06-15 Sierra Medical Technology, Inc. Self-condensing pH sensor and catheter apparatus
US8090884B2 (en) * 2005-11-25 2012-01-03 Samsung Electronics Co., Ltd. Apparatus and method for interfacing between A/V system and portable device
US8744423B2 (en) * 2007-09-28 2014-06-03 Microsoft Corporation Device migration
US8117648B2 (en) * 2008-02-08 2012-02-14 Intersections, Inc. Secure information storage and delivery system and method
US8285746B2 (en) * 2008-06-16 2012-10-09 Canon U.S.A., Inc. Securing data from a shared device
US20100184479A1 (en) * 2009-01-20 2010-07-22 Griffin Jr Paul P System and Apparatus for Communicating Digital Data through Audio Input/Output Ports

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5973756A (en) * 1996-02-06 1999-10-26 Fca Corporation IR Transmitter with integral magnetic-stripe ATM type credit card reader & method therefor
US20020097706A1 (en) * 1997-05-19 2002-07-25 Preston Dan A. In-band signaling for data communications over digital wireless telecommunications networks
US6312175B1 (en) * 1998-03-31 2001-11-06 Logic Controls, Inc. Integrated keyboard input device
US6522552B1 (en) * 2001-11-16 2003-02-18 Power Quotient International Co., Ltd. Wireless memory card reader
US20040259542A1 (en) * 2003-05-02 2004-12-23 Nokia Corporation Method for saving power in a wireless terminal and a terminal
US20080059375A1 (en) * 2006-09-06 2008-03-06 Basil Munir Abifaker Payment Card Terminal for Mobile Phones
US20090011794A1 (en) * 2007-07-06 2009-01-08 Samsung Electronics Co., Ltd Interface method and appparatus for a mobile terminal

Also Published As

Publication number Publication date
US20180048755A1 (en) 2018-02-15
US20100248784A1 (en) 2010-09-30
US9800706B2 (en) 2017-10-24

Similar Documents

Publication Publication Date Title
US20200053197A1 (en) Electronic device input/output system and method
US10122184B2 (en) Application of modulated vibrations in docking scenarios
US9654293B2 (en) Accessory identification for mobile computing devices
US20140228074A1 (en) Embedded Accessory for Mobile Devices
US20120290761A1 (en) USB Converter and Related Method
EP2466480B1 (en) Dongle and method for operating external input means, and external input system with the dongle
US8320960B2 (en) Docking station and computer system using the docking station
US8880770B2 (en) Protocol translating adapter
US20080039007A1 (en) Multifunctional ultra wideband wireless transmission system
TW201411336A (en) Debug control system and method thereof
CN106941544A (en) A kind of mobile terminal Bluetooth audio frequency expansion module
CN111698668B (en) Wireless communication link establishment method and electronic device supporting same
EP1986406B1 (en) System and method for recognizing external device by portable terminal
CN101163304B (en) Method and system for processing files of peripheral equipment and a mobile terminal
TWI818356B (en) Electronic device and connecting device
CN216527162U (en) Screen transmission device
KR101727588B1 (en) USB interface module for vehicle and AVN system having the same
CN104952306A (en) Laser pointer with page turning function
KR100651204B1 (en) System and Method for interfacing with external device in portable terminal
KR20070109673A (en) Mobile terminal having function of plug and play and method thereof
KR101341406B1 (en) System for multiple wireless signal transmission of smart device and computer
CN102750239A (en) Connection device and drive method based on connection device
KR100655262B1 (en) Usb/uart common audio connector system
CN101547017A (en) Wireless transceiver device
JP2015136009A (en) Relay device

Legal Events

Date Code Title Description
AS Assignment

Owner name: ROBOTARMY CORP., CALIFORNIA

Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNORS:STOLARZ, DAMIEN PHELAN;DEAN, GEORGE, IV;GAINSFORTH, ZACK;SIGNING DATES FROM 20180914 TO 20180917;REEL/FRAME:049043/0640

Owner name: MOBILEPAY LLC, TEXAS

Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNOR:ROBOTARMY CORP.;REEL/FRAME:049039/0354

Effective date: 20180917

STPP Information on status: patent application and granting procedure in general

Free format text: NON FINAL ACTION MAILED

STPP Information on status: patent application and granting procedure in general

Free format text: RESPONSE TO NON-FINAL OFFICE ACTION ENTERED AND FORWARDED TO EXAMINER

STPP Information on status: patent application and granting procedure in general

Free format text: FINAL REJECTION MAILED

STCB Information on status: application discontinuation

Free format text: ABANDONED -- FAILURE TO RESPOND TO AN OFFICE ACTION