Utility model content
In view of this, the utility model provides a kind of sensor module, is applicable to host computer widely.Described sensor module comprises: at least one sensor; Micro-control unit, described micro-control unit connects at least one sensor described; And first USB interface, for connecting described micro-control unit and host computer.
Preferably, at least one sensor described is connected by the one in I2C bus, AD bus, spi bus with described micro-control unit.
Preferably, described sensor module also comprises secondary USB interface, is that at least one sensor described and micro-control unit are powered for connecting external power source.
Preferably, described first USB interface is Type-AUSB interface.
Preferably, described secondary USB interface is MicroUSB interface.
Preferably, described sensor module also comprises shell, and described shell surrounds at least one sensor described and micro-control unit.
Preferably, described first USB interface and secondary USB interface are arranged at outside described shell, and described first USB interface is connected described micro-control unit respectively by the first data line with the second data line with secondary USB interface.
Preferably, described shell comprises the first hole, and described first data line and the second data line are through described first hole.
Preferably, at least one sensor described comprises Temperature Humidity Sensor.
Sensor module of the present utility model has applicability general-purpose interface widely, plug and play, and access is convenient, can according to demand, the function of upgrading host computer fast, and with low cost.
Embodiment
Based on embodiment, the utility model is described below, but the utility model is not restricted to these embodiments.In hereafter details of the present utility model being described, detailedly describe some specific detail sections.Do not have the description of these detail sections can understand the utility model completely for a person skilled in the art yet.In order to avoid obscuring essence of the present utility model, known method, process, flow process, element and circuit do not describe in detail.
In addition, it should be understood by one skilled in the art that the accompanying drawing provided at this is all for illustrative purposes, and accompanying drawing is not necessarily drawn in proportion.
Meanwhile, should be appreciated that in the following description, " circuit " refers to the galvanic circle connected and composed by electrical connection or electromagnetism by least one element or electronic circuit.When " being connected to " another element when claiming element or circuit or claiming element/circuit " to be connected to " between two nodes, it can be directly couple or be connected to another element or can there is intermediary element, the connection between element can be physically, in logic or its combine.On the contrary, " be directly coupled to " when claiming element or " being directly connected to " another element time, mean that both do not exist intermediary element.
Unless the context clearly requires otherwise, similar words such as " comprising ", " comprising " otherwise in whole instructions and claims should be interpreted as the implication that comprises instead of exclusive or exhaustive implication; That is, be the implication of " including but not limited to ".In description of the present utility model, it is to be appreciated that term " first ", " second " etc. are only for describing object, and instruction or hint relative importance can not be interpreted as.In addition, in description of the present utility model, except as otherwise noted, the implication of " multiple " is two or more.
At present no matter desktop computer, notebook computer, various PDA (PersonalDigitalAssistant) all has USB (universal serial bus) (UniversalSerialBus, USB) interface.Sensor module of the present utility model comprises at least one sensor, micro-control unit (MicrocontrollerUnit, MCU) and at least one USB interface.Sensor is connected by bus with micro-control unit, and the output signal of sensor sends host computer to by micro-control unit and USB interface.Wherein, sensor is such as temperature sensor, pressure transducer, Temperature Humidity Sensor and PM2.5 sensor, and micro-control unit is used for providing general line system.
First embodiment
With reference to Fig. 1, sensor module comprises: sensor 12, micro-control unit 11, first usb 13 and secondary USB interface 14.
Sensor 12 is PM2.5 sensor, is less than the concentration of the particle of 2.5 microns for the diameter detected in surrounding environment.
Micro-control unit 11 is also known as single-chip microcomputer, and micro-control unit 11 passes through bus connecting sensor 12, the output signal of receiving sensor 12, and micro-control unit 11 connects host computer by the first USB interface.Bus wherein between micro-control unit 11 and sensor 12 can be I2C bus, AD bus, spi bus etc.Micro-control unit 11 is for providing general line system.
Secondary USB interface 14 connects external power source, and for powering for micro-control unit 11 and sensor 12, preferably, external power source is 5V.
In a preferred embodiment, the first usb 13 is Type-AUSB interface, and Type-AUSB interface is current most widely used USB interface.Secondary USB interface 14 is MicroUSB interface, has higher life-span and intensity.
The sensor module of the present embodiment has applicability general-purpose interface widely, plug and play, and access is convenient, can according to demand, the function of upgrading host computer fast, and with low cost.
Second embodiment
With reference to Fig. 2, sensor module comprises: sensor 22, micro-control unit 21, shell 25, first USB interface 23 and secondary USB interface 24.
Sensor 22 is Temperature Humidity Sensor, and for the temperature and humidity of measurement environment, in another embodiment, this Temperature Humidity Sensor can according to the temperature value correction humidity value obtained.
Micro-control unit 21 is also known as single-chip microcomputer, and micro-control unit 21 passes through bus connecting sensor 22, the output signal of receiving sensor 22, and micro-control unit 21 connects host computer by the first USB interface 23.Bus wherein between micro-control unit 21 and sensor 22 can be I2C bus, AD bus, spi bus etc.Micro-control unit 21 is for providing general line system.
Secondary USB interface 24 connects external power source, and for powering for micro-control unit 21 and sensor 22, preferably, external power source is 5V.
In a preferred embodiment, the first USB interface 23 is Type-AUSB interface, and Type-AUSB interface is current most widely used USB interface.Secondary USB interface 24 is MicroUSB interface, has higher life-span and intensity.
Shell 25 surrounds micro-control unit 21 and sensor 22, for providing protection.Such as collision free causes micro-control unit 21 and sensor 22 to damage, and prevents liquid comes into contact to micro-control unit 21 and sensor 22.
First USB interface 23 is connected micro-control unit 21 respectively by the first data line with the second data line with secondary USB interface 24.Shell 25 is formed with the first hole and the second hole, the first data line and the second data line pass from the first hole and the second hole respectively.
The sensor module of the present embodiment has applicability general-purpose interface widely, plug and play, and access is convenient, can according to demand, the function of upgrading host computer fast, and with low cost.
3rd embodiment
With reference to Fig. 3, sensor module comprises: sensor 32, sensor 36, micro-control unit 31, shell 35, first USB interface 33 and secondary USB interface 34.
Sensor 32 is Temperature Humidity Sensor, for the temperature and humidity of measurement environment.Sensor 36 is volatile organic compounds (volatileorganiccompounds, VOC) sensor, such as, for detecting the aerial content of formaldehyde.
Sensor 32 is connected micro controller unit 31 with sensor 36 respectively by I2C bus.
Micro-control unit 31 is also known as single-chip microcomputer, and micro-control unit 31 connects host computer by the first USB interface 33, and micro-control unit 31 is for providing general line system.
In a preferred embodiment, the first USB interface 23 is Type-AUSB interface, and Type-AUSB interface is current most widely used USB interface.Secondary USB interface 24 is MicroUSB interface, has higher life-span and intensity.
Secondary USB interface 34 connects external power source, for powering for micro-control unit 31 and sensor 32.
Shell 35 surrounds micro-control unit 31 and sensor 32, for providing protection.Such as collision free causes micro-control unit 31 and sensor 32 to damage, and prevents liquid comes into contact to micro-control unit 31 and sensor 32.
First USB interface 33 is connected micro-control unit 31 respectively by the first data line with the second data line with secondary USB interface 34.Shell 35 is formed with the first hole, the first data line and the second data line all pass from the first hole.
In a preferred embodiment, the first USB interface 33 and secondary USB interface 34 can be same USB interface, and this USB interface has the function transmitting data and supplying channels simultaneously.
The sensor module of the present embodiment has applicability general-purpose interface widely, plug and play, and access is convenient, can according to demand, the function of upgrading host computer fast, and with low cost.
The foregoing is only preferred embodiment of the present utility model, be not limited to the utility model, to those skilled in the art, the utility model can have various change and change.All do within spirit of the present utility model and principle any amendment, equivalent replacement, improvement etc., all should be included within protection domain of the present utility model.