虫虫首页| 资源下载| 资源专辑| 精品软件
登录| 注册

serial-communication

  • 串口通讯驱动

    串口通讯驱动, rs232 serial communication

    标签: 串口通讯 驱动

    上传时间: 2016-11-15

    上传用户:csgcd001

  • MSP430G2553

    DESCRIPTION The Texas Instruments MSP430 family of ultra-low-power microcontrollers consists of several devices featuring different sets of peripherals targeted for various applications. The architecture, combined with five low-power modes, is optimized to achieve extended battery life in portable measurement applications. The device features a powerful 16-bit RISC CPU, 16-bit registers, and constant generators that contribute to maximum code efficiency. The digitally controlled oscillator (DCO) allows wake-up from low-power modes to active mode in less than 1 μs. The MSP430G2x13 and MSP430G2x53 series are ultra-low-power mixed signal microcontrollers with built-in 16- bit timers, up to 24 I/O capacitive-touch enabled pins, a versatile analog comparator, and built-in communication capability using the universal serial communication interface. In addition the MSP430G2x53 family members have a 10-bit analog-to-digital (A/D) converter. For configuration details see Table 1. Typical applications include low-cost sensor systems that capture analog signals, convert them to digital values, and then process the data for display or for transmission to a host system.

    标签: G2553 2553 430G MSP 430

    上传时间: 2018-12-25

    上传用户:ygyh

  • 用IAP技术在线升级STM32单片机固件

    针对嵌入式产品程序更新问题,提出了一种基于IAP技术的STM32单片机在线固件升级方案,设计了STM32单片机最小系统硬件电路和USB转串口通信电路,并给出了Bootloader程序、APP程序、PC上机程序的实现流程.实验结果表明,该方案具有简单实用、稳定性高、维护成本低和设备使用效率高的特点,适用于嵌入式产品升级.For the problem of updating embedded products program,an online firmware upgrade scheme of STM32 single chip microcomputer based on IAP technology is proposed.This scheme not only elaborates the principle of IAP technology in detail but also provides the design of the minimum system hardware circuit of STM32 MCU,the design of USB for serial communication circuit,and the implementation flow of Bootloader program,APP program and PC program.The experiment results show that the scheme is simple,practical and highly stable.In addition,it can be used to actual embedded product upgrading,significantly reducing maintenance costs and improving the efficiency of equipment.

    标签: iap stm32 单片机

    上传时间: 2022-03-25

    上传用户:

  • 基于AT89C52的农业温湿度智能控制系统设计

    设计了农业温湿度智能控制系统,该系统采用DHT11温湿度传感器作为温湿度采集模块,单片机选用AT89C52代替并调用Virtual terminal模拟串口通信,LCD1604液晶显示器实时显示温湿度,实现了温湿度的测量、显示,可自动控制加热、降温、加湿、通风,实现温湿度控制以及超限报警处理,并利用Proteus与Keil进行实际电路的仿真。试验表明,该系统实现了可靠的温湿度监控。We described the design of an intelligent control system of agriculture temperature and humidity.The system uses DHT11 temperature and humidity sensor as the temperature and humidity acquisition module.The SCM adopts AT89C52 to replace and call the virtual terminal for simulating serial communication.LCD1604 displays temperature and humidity in real time,which implements the measurement and display of temperature and humidity.The system is able to automatically control heating,cooling,humidification and ventilation,to achieve temperature and humidity control and over-limit alarm processing.The system also uses Proteus and Keil for actual circuit simulation.The experiment shows that the system is capable of reliable temperature and humidity monitoring.

    标签: at89c52 温湿度智能控制系统

    上传时间: 2022-03-26

    上传用户:aben

  • 基于RS-485总线的MODBUS通信协议在单片机上的实现

    以仓库智能改造为背景,主要介绍单片机和上位机之间通信网络和通信协议的选择,MODBUS协议通信指令和功能码使用,重点阐述了基于RS-485总线的MODBUS通信协议在上位机和单片机之间的串行通信,实现上位机对单片机设备的远程控制和信息采集的功能。Based on the intelligent warehouse transformation as the background,mainly introduces between MCU and PC communication network and the choice of communication protocol,instruction and the function code using the MODBUS protocol communication,expounds the MODBUS communication protocol based on RS-485 bus serial communication between PC and single chip microcomputer,PC remote control of single chip computer equipment and the function of information collection.

    标签: RS-485总线 modbus 单片机

    上传时间: 2022-03-26

    上传用户:

  • 基于LabVIEW和单片机的自动控制系统综合实验

    设计了自动控制系统综合实验案例“基于LabVIEW和单片机的温度控制系统设计”。实验系统硬件部分由单片机、温度传感器、D/A转换模块、调压模块和电烤箱组成,设计了单片机与各个模块之间的接口电路。软件部分采用LabVIEW软件实现控制算法,并设计监控界面实现参数设定、温度数据实时监控等功能。设计了单片机与LabVIEW软件之间的串口通信程序,实现了输入、输出数据的传输。通过综合实验系统设计,使学生得到控制系统设计和实验调试等综合能力的训练。A comprehensive experimental case of the automatic control system is presented,which is the design of the temperature control system based on LabVIEW and SCM.The hardware part of the experimental system is composed of the SCM,temperature sensor,D/A conversion module,voltage regulating module and electric oven.The interface circuit between the SCM and each module is designed.In the software part,LabVIEW software is used to realize the control algorithm,and the monitoring interface is designed to realize the functions of parameter setting,temperature data real-time monitoring,etc.The serial communication program between the SCM and LabVIEW software is designed to realize the transmission of input and output data.Through the design of this comprehensive experimental system,students can get the comprehensive ability training for the control system design,experiment debugging,etc.

    标签: labview 单片机 自动控制系统

    上传时间: 2022-03-27

    上传用户:qdxqdxqdxqdx

  • 基于STM32的无刷直流电机控制器硬件电路设计及实验研究

    以STM32F103C8T6为核心,设计了无刷直流电机控制器硬件电路。电路主要包括IR2310构成的PWM驱动电路、IRF3808构成的逆变电路、增量式旋转编码构成的速度反馈电路。控制器具有CAN和RS232通信接口,可与计算机或PLC构成速度或位置伺服系统。利用由xPC目标搭建的半实物仿真平台对PI参数进行整定。测试了控制器的速度伺服响应性能,给定速度为2400rpm时,控制器响应时间为0.32s。实验结果表明,系统工作可靠,稳定性好,响应速度快,可以满足上肢康复机器人的机械臂速度控制性能要求。The hardware circuit of Brushless DC motor controller is designed by taking STM32F103C8T6 as the core,which mainly includes PWM driving circuits made up of IR2310,inverter circuit formed by IRF3808,speed feedback circuit composed of incremental rotary encoder and so on.Speed servo control system or position servo control system can be composed of BLDM controller with computer or PLC through CAN communication interface or RS232 serial communication interface.By using the hardware in the loop simulation platform built by xPC target,the PI parameters are set up.The Speed servo response performance of the controller is tested.When the speed is 2 400 rpm,the response time of the controller is 0...

    标签: stm32 无刷直流电机

    上传时间: 2022-05-07

    上传用户:

  • CC2541蓝牙模块与单片机的串口通信

    说明:  基于CC2541蓝牙模块与单片机的串口通信,ble蓝牙透传 ,安卓手机app与源码,串口调试助手(Based on CC2541 Bluetooth module and MCU serial communication, ble Bluetooth transparent transmission, Android mobile app and source code, serial debugging assistant)

    标签: cc2541 蓝牙 单片机 串口通信

    上传时间: 2022-05-16

    上传用户:

  • 基于stm32f103c8t6单片机的串口通信源码

    说明:  基于stm32f103c8t6单片机的串口通信源码,固件库为3.5版本(Based stm32f103c8t6 microcontroller serial communication source code, firmware library version 3.5)

    标签: stm32 单片机 串口通信

    上传时间: 2022-05-16

    上传用户:wangshoupeng199

  • Linux下串口和Socket通讯及应用

    1、实习题目Linux下串口和Socket通信及其应用串口通信(Serial Communication),串口按位(bit)发送和接收字节。串口通信最重要的参数是波特率、数据位、停止位和奇偶校验。串口通信是指外设和计算机间,通过数据信号线、地线、控制线等,按位进行传输数据的一种通讯方式。套接口(Socket)通信为目前Linux上最为广泛使用的一种的进程间通信机制,与其他的Linux通信机制不同之处在于除了它可用于单机内的进程间通信以外,还可用于不同机器之间的进程间通信。简单应用设计为温度仪协议转换软件设计和模拟打印机。对于温度仪协议转换软件一共有三个设备,Server端为PC机,Client端为Linux机(或嵌入式系统机),末端为串口的温度仪。温度仪协议转换软件位于Client端的Linux机(或嵌入式系统机)上,该软件不断通过串口轮询温度仪数据,获得温度仪的数据后主动通过Socket发送到远程的PC机上,PC机上安装数据演示软件,显示温度仪的数据。

    标签: linux 串口 socket 通讯

    上传时间: 2022-06-22

    上传用户: