Peripheral equipment control method, microcontroller, upper computer and system

A peripheral device and microcontroller technology, applied in the field of communication, can solve problems such as long development cycle, high cost, and inability to modify, and achieve the effects of easy development and use, improved use efficiency, and improved user experience

Active Publication Date: 2017-10-31
GUANGZHOU SHIYUAN ELECTRONICS CO LTD
View PDF6 Cites 0 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 running state and modify it directly
PLC (Programmable Logic Controller, Programmable Logic Controller), PXI (PCI extensions for Instrumentation, PCI extensions for instrument systems) and other high-end controllers or control systems are generally accompanied by a graphical development system, but the cost is relatively high

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

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

[0072] see figure 1 , the peripheral device control method embodiment 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 host computer. The microcontroller is set to the online mode through the toggle switch. At this time, it can be connected to the host computer. After the connection, it receives the handshake command from the host computer and completes the handshake. The 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 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 the emergence and development of large-scale integrated circuits, the computer's CPU, RAM, ROM, timing counters and multiple Various I / O interfaces are integrated on a chip to form a chip-level computer, which can be used for different combination controls 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 require...

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 Patents(China)
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