Peripheral device control method, microcontroller, upper computer and system

A technology of peripheral equipment and control method, applied in the field of communication, can solve the problems of long development cycle, high cost, inability to modify, etc., to achieve the effect of easy development and use, improve use efficiency, and improve user experience

Active Publication Date: 2015-06-10
GUANGZHOU SHIYUAN ELECTRONICS CO LTD
View PDF6 Cites 16 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Due to the large number of peripheral devices attached to today's microcontrollers, the device configuration is often more complicated, resulting in the lack of framework for the programming of these devices, poor versatility, long development cycle, low code reuse, and cannot be used in microcontrollers. Go to the

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
  • Peripheral device control method, microcontroller, upper computer and system
  • Peripheral device control method, microcontroller, upper computer and system
  • Peripheral device control method, microcontroller, upper computer and system

Examples

Experimental program
Comparison scheme
Effect test

Example Embodiment

[0071] The invention provides a peripheral equipment control method, which is used for flexibly controlling peripheral equipment, has reusability and real-time editability, and improves use efficiency.

[0072] See figure 1 , The embodiment of the peripheral device control method provided by the present invention specifically includes:

[0073] 101. Establish communication with the host computer;

[0074] In this embodiment, the microcontroller first needs to establish communication with the upper computer. The microcontroller is set to online mode through the toggle switch. At this time, it can be connected to the upper computer, and after the connection, it receives the handshake command from the upper computer and completes the handshake. Specific communication methods include but are not limited to USB, CAN bus, RS485, RS232, etc.

[0075] 102. Receive control information edited by the host computer according to predetermined rules;

[0076] In this embodiment, after the microcont...

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 discloses a peripheral device control method, a microcontroller, an upper computer and a system. The peripheral device control method is used for flexibly controlling a peripheral device and has reusability and real-time editability, and using efficiency is improved. The peripheral device control method specifically comprises the steps of establishing communication with the upper computer, receiving control information edited by the upper computer according to a predetermined rule, explaining the control information to obtain a control instruction, executing the control instruction, and controlling the peripheral device. In the scheme, control code development on the microcontroller is not needed, only control information editing on the upper computer is needed, the control information is explained and executed by the microcontroller, and further the peripheral device is controlled. The control information has reusability and real-time editability, and using efficiency is improved.

Description

technical field [0001] The invention relates to the communication field, in particular to a method for controlling peripheral equipment, a microcontroller, a host computer and a system. Background technique [0002] Microcontroller (MCU, Micro controller Unit), also known as single chip microcomputer (Single Chip Microcomputer) or single chip microcomputer, refers to with the emergence and development of large-scale integrated circuits, the computer's CPU, RAM, ROM, timing counter and A variety of I / O interfaces are integrated on a chip to form a chip-level computer, which can be controlled in different combinations for different applications. [0003] For the setting and control of microcontroller peripherals, the prior art generally involves writing codes, compiling, and linking to generate executable files, and then using a burning tool or entering a burning mode to burn. Microcontrollers are mainly developed in a pure code development environment, which often requires d...

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
IPC IPC(8): G05B19/042
CPCG05B19/0426G05B2219/23005
Inventor 杨跃斌
Owner GUANGZHOU SHIYUAN ELECTRONICS CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products