Datasheet 搜索 > 线束转接线 > Maxim Integrated(美信) > DS1402D-DR8+ 数据手册 > DS1402D-DR8+ 开发手册 1/8 页

¥ 216.325
DS1402D-DR8+ 开发手册 - Maxim Integrated(美信)
制造商:
Maxim Integrated(美信)
分类:
线束转接线
描述:
MAXIM INTEGRATED PRODUCTS DS1402D-DR8+ 芯片, 特殊功能
Pictures:
3D模型
符号图
焊盘图
引脚图
产品图
页面导航:
功能描述在P5P7
导航目录
DS1402D-DR8+数据手册
Page:
of 8 Go
若手册格式错乱,请下载阅览PDF原文件

Keywords: USB on-the-go (OTG), Android, 1-Wire
APPLICATION NOTE 5705
INTERFACE 1-WIRE USB ADAPTER WITH
ANDROID
By: Wilson Tang, Member of Technical Staff
Abstract: This application note details how to interface the DS9490R, temperature logger iButton devices,
and Android over USB On-the-Go (OTG). The communication protocol between each section is reviewed.
We review the data sheet information and how to apply it in the end system. A sample Android application
illustrating the example code is also available for download.
A similar version of this article appeared December 1, 2013 on Electronic Products.
Associated software is available for download.
Introduction
Look around. Smartphones are ubiquitous. Far more than a mere telephone, a smartphone is a powerful
computer that fits in your pocket. Since the computing power and sensors available in a smartphone
continue to increase, it is now practical to use that phone as the interface to other devices. This article
shows how to use the USB port on an Android smartphone to communicate with slave devices without a
computer system. This example here uses the 1-Wire bus for communication by USB from the Android
to a Thermochrom iButton temperature logger.
System Layout
Crucial to this application is the USB port on the smartphone. When the smartphone uses a USB on-the-go
(OTG) transceiver, then USB host functionality is possible with other slave devices, such as mice, flash
drives, keyboards, or the Thermochron here. Recent versions of the Android application programming
interface (API) support USB host mode at the application level. This functionality lets end users install
applications that "talk" with USB peripherals without rooting or installing special drivers on the user's
smartphone.
The system block diagram is in Figure 1. The Android smartphone must use a USB OTG transceiver.
Normally, the phone is connected to a computer and acts as a USB slave, but the USB OTG transceiver
allows the phone to be transformed into a USB master. This role reversal requires a special OTG cable to
provide the USB type A port and to signal that a USB slave is connected to the smartphone.
This application is a master–slave system with the Android smartphone as the master and the
Thermochron data logger as the slave. The system uses a USB to 1-Wire/iButton (DS9490R) adapter to
bridge the smartphone with the data logger. A network cable/socket, the DS1402D-DR8, is used as the 1-
Wire bus, which only requires one data line. The data logger is the iButton Thermochron (DS1921G).
®
®
®
®
Page 1 of 8
器件 Datasheet 文档搜索
AiEMA 数据库涵盖高达 72,405,303 个元件的数据手册,每天更新 5,000 多个 PDF 文件