CN107682640A - A kind of Internet of Things Image collection experiments device - Google Patents
A kind of Internet of Things Image collection experiments device Download PDFInfo
- Publication number
- CN107682640A CN107682640A CN201711148203.5A CN201711148203A CN107682640A CN 107682640 A CN107682640 A CN 107682640A CN 201711148203 A CN201711148203 A CN 201711148203A CN 107682640 A CN107682640 A CN 107682640A
- Authority
- CN
- China
- Prior art keywords
- serial ports
- internet
- image collection
- chip
- things
- 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.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Stored Programmes (AREA)
Abstract
The present invention provides a kind of Internet of Things Image collection experiments device, including serial ports photographing module, U1 one-chip computer modules, U2 one-chip computer modules and the PC being sequentially connected, the serial ports photographing module includes camera and shooting serial ports, and the PC is connected by PC serial ports with U2 serial ports B.The beneficial effects of the invention are as follows:Equipment integrates modularization, easy to use.Experiment content can be divided into 3 parts:The reception of serial ports and transmission program are write and debugged, and the control program of C328 serial ports photographing modules is write and debugged, single-chip microcomputer U1, U2 two machine communication programming and debugging.Perceived using the single chip computer AT mega128 controls serial ports photographing module C328 Internet of Things taken pictures with identifying experimental provision, to reach the practice-training teaching of Image collection experiments in Internet of Things teaching.
Description
The present invention relates to a kind of experimental provision, and more specifically, it is related to a kind of Internet of Things Image collection experiments device.
Internet of Things rich connotation, it is related to many necks such as computer, automated communication, control, microelectronics, micro electronmechanical, network
Domain, almost enumerates the various aspects of information technology and association area, and by and the combination of concrete application background in, Internet of Things
Net is even more each corner for being deep into social production and life, and advantage penetrates into all trades and professions.Perceive and mark is Internet of Things
Net gos deep into the first step of physical world, is the source of magnanimity information in Internet of Things, and Internet of Things perception interdynamic layer is main
Technology.At present, China lacks autonomous property right in Sensor core technology, chip, standard etc., its high-end product and market
Being controlled always by overseas enterprise, miscellaneous sensor lacks unified standard in technique, form, performance, price etc.,
It is unfavorable for interconnecting between Internet of Things industry.Therefore in college teaching, perception and the mark experimental real-training of Internet of Things specialty
Major Difficulties be that high accuracy, low cost, low-power consumption, reliable and stable intelligent digital sensing device and Internet of Things Network Communication mark are set
Knowledge system, further fusion and appropriate compatible existing various sensors and identification method both at home and abroad, build the standardization of Internet of Things
Experiment device for teaching.
The purpose of the present invention is to overcome deficiency of the prior art, there is provided one kind can be controlled using single chip computer AT mega128
The Internet of Things Image collection experiments device that serial ports photographing module C328 processed is taken pictures.
The purpose of the present invention is achieved through the following technical solutions.This Internet of Things Image collection experiments device, including
Serial ports photographing module, U1 one-chip computer modules, U2 one-chip computer modules and the PC being sequentially connected, the serial ports photographing module include taking the photograph
As head and shooting serial ports, the PC is connected by PC serial ports with U2 serial ports B.
As preferred:The U1 one-chip computer modules include U1 serial ports A, U1 single-chip microcomputers and U1 serial ports B being sequentially connected;It is described
U2 one-chip computer modules include U2 serial ports A, serial port extended chip, U2 single-chip microcomputers and the U2 serial ports B being sequentially connected;The U1 serial ports B
Connected with U2 serial ports A.
As preferred:The shooting serial ports draws angle including shooting RX and shooting TX draws angle;The U1 serial ports A draws including U1TX
Angle and U1RX draw angle;Shooting RX draws angle connection U1RX and draws angle, and shooting TX draws angle connection U1TX and draws angle.
As preferred:The serial port extended chip model GM8123.
As preferred:U1 single-chip microcomputers and U2 single-chip microcomputer the model ATmega128.
As preferred:The serial ports photographing module is provided with connection power supply and ground connection GND and draws angle.
As preferred:The serial ports photographing module model C328.
The beneficial effects of the invention are as follows:Equipment integrates modularization, easy to use.Experiment content can be divided into 3 parts:Serial ports
Receive and transmission program is write and debugged, the control program of C328 serial ports photographing modules is write and debugged, and single-chip microcomputer U1, U2's is double
Machine signal procedure is write and debugged.The Internet of Things taken pictures using single chip computer AT mega128 controls serial ports photographing module C328
Perceive with identifying experimental provision, to reach the practice-training teaching of Image collection experiments in Internet of Things teaching.
Fig. 1 is circuit theory diagrams of the present invention;
Description of reference numerals:Serial ports photographing module 1, camera 2, VDD draw angle 3, GND draws angle 4, shooting RX draws angle 5, shooting
TX draws angle 6, U1 single-chip microcomputers 7, U1 one-chip computer modules 8, U1TX draws angle 9, U1RX draws angle 10, U1 serial ports B11, U2 one-chip computer modules
12;U2 serial ports A13, U2 serial ports B14, serial port extended chip 15, PC serial ports 16, PC 17, U1 serial ports A18, shooting serial ports 19,
U2 single-chip microcomputers 20.
The present invention is described further with reference to the accompanying drawings and examples.Although the present invention will enter with reference to preferred embodiment
Row description, it should be understood that being not offered as limiting the invention in the embodiment.It can be included on the contrary, the present invention will cover
Alternative, modified and the equivalent in the scope of the present invention that appended claims limits.
As shown in figure 1, first, definition serial ports 1 is serial ports A, serial ports 0 is serial ports B.
The present invention principle be:ATmega128 (height matches somebody with somebody 8 series monolithics) realizes the program of a serial ports shooting, dress
Two single-chip microcomputer U1 single-chip microcomputers 7, U2 single-chip microcomputers 20 are used in putting, U1 single-chip microcomputers 7 realize following functions:U1 single-chip microcomputers 7 are logical
Cross U1 serial ports A18 and send commands to serial ports photographing module 1, serial ports photographing module 1 is beamed back photo data by imaging serial ports 19
To U1 single-chip microcomputers 7, U1 single-chip microcomputers 7 issue data by its U1 serial ports B11 the U2 serial ports A13 of U2 single-chip microcomputers 20 serial ports again
The model GM8123 of extended chip 15, last U2 single-chip microcomputers 20 transmit data to PC 17 by U2 serial ports B14, on PC 17
Open COM Debug Assistant, it is possible to obtain the data of photograph.
(1) reception of serial ports and transmission program write debugging
In the present apparatus, the U1 serial ports A18 process that sends and receives all employ buffering area, i.e., first the number to be sent
According to being saved in buffering area, if idle in the string of U1 single-chip microcomputers 7, data will be directly transmitted;If serial ports is
Send or receive data, then data are saved in the buffer, are transmitted it out again when the serial ports free time.Here U1 serial ports
Sending and receiving for A18 is all to use implement of interruption function.U1 serial ports A18 transmission program is first saved in the data to be sent slow
Area is rushed, serial ports is then opened and interrupts.U1 serial ports A18 interruption sends the transmission that processing function is mainly responsible for data.U1 serial ports A18
Reception program in first determine whether receive buffering area whether have data.The data that single-chip microcomputer receives can occur in reception processing
It is disconnected, the interruption reception processing function of serial ports 1 is triggered, is sent to transmission buffering area data are received, and the mobile buffering that sends refers to
Pin.
(2) control program of serial ports photographing module 1 writes debugging
The model C 328 of serial ports photographing module 1 supports standard serial port output JEPG view data.The module has 4 pins:VDD
Draw angle 3, GND draws angle 4, shooting RX draw angle 5, shooting TX draw angle 6, wherein shooting RX draw angle 5, shooting TX draw angle 6 respectively with U1TX
Draw angle 9, U1RX draw angle 10 be connected, other two pins are grounded respectively and power supply.U1 single-chip microcomputers 7 are by U1 serial ports A18 to serial ports
Photographing module 1 sends order, and after serial ports photographing module 1 receives order, response is sent to U1 single-chip microcomputers 7.The control string of U1 single-chip microcomputers 7
Mouth photographing module 1, use following several programs:Synchronization program;Initialization program;Data package size program is set;Send photo
Operation sequence;Send and obtain the big small routine of sheet data of having taken a picture;Obtain photo data program.
(3) single-chip microcomputer U1 and U2 two machine communication programming debugging
The model GM8123 of serial port extended chip 15 of the U1 serial ports B11 and U2 single-chip microcomputers 20 of U1 single-chip microcomputers 7 phase of extension mouth 3
Even, if so U1 single-chip microcomputers 7 will send data, it is necessary to allow serial port extended chip 15 to be operated in serial ports 3 to U2 single-chip microcomputers 20
Under monotype.So U2 single-chip microcomputers 20 can receive data from serial port extended chip 15, then be sent to PC by U2 serial ports B14
On machine 17, the data of correlation are can be obtained by by COM Debug Assistant.
The experimental procedure of this experimental provision:(1) two files are established, one is U1, and one is U2, uses WinAVR points
The code of correlation is not write, including:Synchronization program;Initialization program;Data package size program is set;Send photo operation sequence;
Send and obtain the big small routine of sheet data of having taken a picture;Photo data program is obtained, and compiles and obtains .hex files.(2) AVR is used
Studio is respectively by .hex file downloads to single-chip microcomputer U1 and U2.(3) single-chip microcomputer U2 serial ports is connected with PC, opens serial ports and adjust
Assistant, baud rate 9600bit/s, check bit NONE, data bit 8, stop position 1 are tried, and is shown with hexadecimal.Press again
The reset key of single-chip microcomputer, cross 5s, it is possible to data are received on COM Debug Assistant, this data is saved, are named, most
Operation convert.exe can be obtained by .GIF image files afterwards.
Claims (7)
- A kind of 1. Internet of Things Image collection experiments device, it is characterised in that:Including serial ports photographing module (1), the U1 being sequentially connected One-chip computer module (8), U2 one-chip computer modules (12) and PC (17), the serial ports photographing module (1) include camera (2) and taken the photograph As serial ports (19), the PC (17) passes through PC serial ports (16) and U2 serial ports B (14) connections.
- 2. Internet of Things Image collection experiments device according to claim 1, it is characterised in that:The U1 one-chip computer modules (8) U1 serial ports A (18), U1 single-chip microcomputers (7) and the U1 serial ports B (11) being sequentially connected are included;U2 one-chip computer modules (12) bag Include the U2 serial ports A (13) being sequentially connected, serial port extended chip (15), U2 single-chip microcomputers (20) and U2 serial ports B (14);The U1 serial ports B (11) and U2 serial ports A (13) connections.
- 3. the Internet of Things Image collection experiments device stated according to claim 1, it is characterised in that:The shooting serial ports (19) includes Shooting RX draws angle (5) and shooting TX draws angle (6);The U1 serial ports A (18) draws angle (9) including U1TX and U1RX draws angle (10);Take the photograph Draw angle (10) as RX draws angle (5) connection U1RX, shooting TX draws angle (6) connection U1TX and draws angle (9).
- 4. Internet of Things Image collection experiments device according to claim 2, it is characterised in that:The serial port extended chip (15) model GM8123.
- 5. Internet of Things Image collection experiments device according to claim 2, it is characterised in that:The U1 single-chip microcomputers (7) and U2 single-chip microcomputers (20) model ATmega128.
- 6. Internet of Things Image collection experiments device according to claim 1, it is characterised in that:The serial ports photographing module (1) (3) of connection power supply are provided with and the GND of ground connection draws angle (4).
- 7. Internet of Things Image collection experiments device according to claim 1, it is characterised in that:The serial ports photographing module (1) model C328.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711148203.5A CN107682640A (en) | 2017-11-17 | 2017-11-17 | A kind of Internet of Things Image collection experiments device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711148203.5A CN107682640A (en) | 2017-11-17 | 2017-11-17 | A kind of Internet of Things Image collection experiments device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107682640A true CN107682640A (en) | 2018-02-09 |
Family
ID=61150129
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711148203.5A Pending CN107682640A (en) | 2017-11-17 | 2017-11-17 | A kind of Internet of Things Image collection experiments device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107682640A (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN203192285U (en) * | 2012-12-28 | 2013-09-11 | 浙江广厦建设职业技术学院 | Internet of things image collection experiment apparatus |
CN203788348U (en) * | 2014-04-24 | 2014-08-20 | 国家电网公司 | Remote computer shutdown device based on short message module |
CN205283729U (en) * | 2015-12-31 | 2016-06-01 | 云南电网有限责任公司电力科学研究院 | Wireless video image gathers emitter |
-
2017
- 2017-11-17 CN CN201711148203.5A patent/CN107682640A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN203192285U (en) * | 2012-12-28 | 2013-09-11 | 浙江广厦建设职业技术学院 | Internet of things image collection experiment apparatus |
CN203788348U (en) * | 2014-04-24 | 2014-08-20 | 国家电网公司 | Remote computer shutdown device based on short message module |
CN205283729U (en) * | 2015-12-31 | 2016-06-01 | 云南电网有限责任公司电力科学研究院 | Wireless video image gathers emitter |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105703883A (en) | Apparatus, method and system to exchange error information in a unified protocol communication | |
CN103957198B (en) | A kind of sensing data receives conversion method and system | |
CN105335155A (en) | Method for realizing different IoT (Internet of Things) applications by only needing to configure cloud-end script | |
CN103019939A (en) | Method and system for testing driver | |
CN108206829A (en) | Method for realizing network communication by GigE Vision protocol based on FPGA | |
CN105335316A (en) | Motor assembling line serial port server based on cloud computation | |
US20190068285A1 (en) | Optical Module, Optical Module System and Monitor Method Using the Same | |
CN112291523B (en) | Image data receiving system and method of chip mounter equipment | |
CN205666906U (en) | Take real -time video attitude data's unmanned aerial vehicle video transmission system | |
CN107493377A (en) | A kind of thermal parameter harvester and method based on mobile terminal application | |
CN107682640A (en) | A kind of Internet of Things Image collection experiments device | |
CN204029206U (en) | Intelligent networking gateway teaching simulation system | |
JP2006225108A5 (en) | ||
CN203179279U (en) | Remote transparent data acquisition and transmission system based on optical fiber | |
CN203192285U (en) | Internet of things image collection experiment apparatus | |
CN101325712A (en) | Portable terminal for real time acquiring and displaying image based on ARM | |
CN107545719A (en) | A kind of infrared remote control decoding method for display | |
CN206294385U (en) | A kind of LED landscape lamp control system based on FPGA | |
CN209345272U (en) | A kind of smart camera | |
CA2525974A1 (en) | Flow meter monitoring and data logging system | |
CN208673355U (en) | A kind of fingerprint acquisition device | |
CN104200136B (en) | A kind of adaptive communications method of encryption lock | |
CN201487546U (en) | Gas filling machine with USB storage and transmission module | |
CN109922247A (en) | A kind of smart camera and a kind of image processing method | |
CN207504984U (en) | A kind of web camera circuit of easy extension sensor |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20180209 |
|
WD01 | Invention patent application deemed withdrawn after publication |