Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

USB (universal serial bus) port reading and writing device and method of 1-wire bus

A read-write device, single-bus technology, applied in instruments, electrical digital data processing, etc., can solve the problems of inconvenient verification and testing of 1-Wire bus, no convenient reading and writing tools, etc., and achieve the effect of improving operability

Inactive Publication Date: 2012-03-21
HONG FU JIN PRECISION IND (SHENZHEN) CO LTD +1
View PDF5 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] However, in the current product design, because there is no convenient reading and writing tool, it is very inconvenient to verify and test the 1-Wire bus

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • USB (universal serial bus) port reading and writing device and method of 1-wire bus
  • USB (universal serial bus) port reading and writing device and method of 1-wire bus
  • USB (universal serial bus) port reading and writing device and method of 1-wire bus

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0017] Such as figure 1 Shown is a block diagram of the hardware structure of a preferred embodiment of a single-wire (1-Wire) USB port read-write device (hereinafter referred to as "read-write device 1") of the present invention. The read-write device 1 is mainly composed of an IC chip and its peripheral circuits. The IC chip is a single-chip microcomputer 10 , and its peripheral circuits refer to a power supply 11 , a voltage regulator 12 , a connector 13 , an electrostatic protection circuit 14 and a USB connector 15 .

[0018] Such as image 3 As shown, besides the pins of the above-mentioned connecting power supply 11, voltage regulator 12, connector 13, electrostatic protection circuit 14 and USB connector 15, the single-chip microcomputer 10 also has a plurality of other pins, which are designed in this embodiment into a pin 16 having a DIO (data input / output) function (hereinafter referred to as "DIO pin 16"). The plurality of DIO pins 16 can be used to expand the f...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention relates to a USB (universal serial bus) port reading and writing device of a 1-wire bus, which comprises a USB module and a 1-wire bus host, wherein the USB module comprises a single chip microcomputer with a USB cache, and a USB connector connected with the single chip microcomputer, and the USB connector is connected with a host computer; the host computer sends commands to the USB module, and the commands are converted into 1-wire bus commands by the USB module; and the 1-wire bus host comprises DIO (data input output) pins and a connector which is connected with the single chip microcomputer, and is used for simulating the 1-wire bus through the DIO pins, sending commands to a 1-wire bus slave device in different time sequences according to the 1-wire bus commands, reading the data returned by the 1-wire bus slave device according to the commands, temporarily storing the read data in the USB cache, and returning the data to the host computer through a USB. The invention also provides a USB port reading and writing method of the 1-wire bus. The invention is utilized to realize the reading and writing operation of the 1-wire bus device.

Description

technical field [0001] The invention relates to a single-bus USB port reading and writing device and method. Background technique [0002] Currently commonly used serial buses for data transmission include I2C bus, SPI bus and SCI bus. The I2C bus communicates in a synchronous serial 2-wire mode (a clock line, a data line), the SPI bus communicates in a synchronous serial 3-wire mode (a clock line, a data input line, and a data output line), and the SCI bus Communication is done asynchronously (one line for data in, one line for data out). The single bus (1-Wire Bus) adopts a special interface protocol, solves control, communication and power supply through a single connection line, reduces system cost and simplifies design. Among them, the single signal line adopted by the 1-Wire bus transmits both clock and data, and the data transmission is bidirectional. It has many advantages such as saving I / O port line resources, simple structure, low cost, and convenient for bus e...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F13/38
CPCG06F13/38G06F13/387G06F2213/0042
Inventor 李圣义
Owner HONG FU JIN PRECISION IND (SHENZHEN) CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products