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

Get-next

  • 基于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

  • linux内核编程指南

    因此,您想编写一个内核模块。您知道C,您已经编写了一些可以作为进程运行的常规程序,现在您想知道真正的动作在哪里,一个通配指针可以擦掉文件系统,核心转储意味着重新启动。内核模块到底是什么?模块是可以根据需要加载和卸载的代码段。它们扩展了内核的功能,而无需重新引导系统。例如。模块驱动程序的一种类型是设备驱动程序,它允许内核访问没有模块的系统硬件,我们将不得不构建单片内核并将新功能直接添加到内核映像中,除了具有更大的内核之外,这还具有缺点每次我们想要新功能时都要求我们重建并重新启动内核的过程So, you want to write a kernel module. You know C, you, ve written a few normal programs to run as processes, and now you want to get to where the real action is, to where a single wild pointer can wipe out your file system and a core dump means a reboot.What exactly is a kernel module? Modules are pieces of code that can be loaded and unloaded into th upon demand. They extend the functionality of the kernel without the need to reboot the system. For example.one type of module is the device driver, which allows the kernel to access hardware connected to the syste without modules, we would have to build monolithic kernels and add new functionality directly into the em ernel image, Besides having larger kernels

    标签: linux

    上传时间: 2022-03-30

    上传用户:

  • Springer模拟电路设计丛书

    Springer模拟电路设计丛书,《清华版双语教学用书·模拟集成电路设计精粹》作者首先对MOST和BJT两种器件模型进行了分析和比较,然后以此为两条线索,分别介绍了相应的基本单元电路和各类放大器的详细分析,随后的章节分别研究噪声、失真、滤波器、ADC/DAC和振荡器电路,每一章都结合MOST和BJT两种类型电路进行分析比较。《清华版双语教学用书·模拟集成电路设计精粹》一方面侧重于基础知识,对模拟和混合信号集成电路中的许多重要概念以直观形象的语言进行了描述。另一方面又侧重介绍与现代集成电路工艺相关的最新电路的研究方向和热点。Next-Generation ADCs, High-Performance Power Management, and Technology Considerations for Advanced Integrated Circuits

    标签: springer 模拟电路 ADC

    上传时间: 2022-04-19

    上传用户:

  • Vivado设计流程指导手册-含安装流程与仿真

    Vivado设计分为Project Mode和Non-project Mode两种模式,一般简单设计中,我们常用的是Project Mode。在本手册中,我们将以一个简单的实验案例,一步一步的完成Vivado的整个设计流程一、新建工程1、打开Vivado 2013.4开发工具,可通过桌面快捷方式或开始菜单中xilinx DesignTools-Vivado 2013.4下的Vivado 2013.4打开软件,开启后,软件如下所示:2、单击上述界面中Create New Project图标,弹出新建工程向导,点击Next.3、输入工程名称、选择工程存储路径,并勾选Create project subdirectory选项,为工程在指定存储路径下建立独立的文件夹。设置完成后,点击Next注意:工程名称和存储路径中不能出现中文和空格,建议工程名称以字母、数字、下划线来组成。4、选择RTL Project一项,并勾选Do not specifty sources at this time,勾选该选项是为了跳过在新建工程的过程中添加设计源文件。点击Next.IA5、根据使用的FPGA开发平台,选择对应的FPGA目标器件。(在本手册中,以xilinx官方开发板KC705为例,Nexys4开发板请选择Artix-7 XC7A100TCSG324-2的器件,即Family和Subfamily均为Artix-7,封装形式(Package)为cSG324,速度等级(Speed grade)为-1,温度等级(Temp Grade)为C)。点击Next6、确认相关信息与设计所用的的FPGA器件信息是否一致,一致请点击Finish,不一致,请返回上一步修改。二、设计文件输入1、如下图所示,点击Flow Navigator下的Project Manager->Add Sources或中间Sources中的对话框打开设计文件导入添加对话框。2、选择第二项Add or Create Design Sources,用来添加或新建Verilog或VHDL源文件,点击Next

    标签: vivado

    上传时间: 2022-05-28

    上传用户:默默

  • FreeModbus 英文资料

    If register should be written or read.This value is passed to the calback functions which support either reading or writing register values. Writing means that the application registers should be updated and reading means that the modbus protocol stack needs to know the current register values.See also: eMBRegHoldingCB(), eMBRegCoilsCB(), eMBRegDiscreteCB() and eMBReglnputCB().Enumeration values: MB_REG_READ Read register values and pass to protocol stack.MB_REG_WRITE Update register values.Note: Note all ports implement this function.A port which wants to get an callback must define the macro MB_PORT_HAS_CLOSE to 1.Returns: If the resources where released it return eMBErrorCode:: MB_ENOERR. If the protocol stack is not in the disabled state it returns eMBErrorCode:: MB_EILLSTATE.Examples: LINUX/demo.c, MCF5235TCP/demo.c, STR71XTCP/demo.c, WIN32/demo. cpp, and WIN32TCP/demo. cpp.his function disables processing of Modbus frames.Returns: If the protocol stack has been disabled

    标签: FreeModbus

    上传时间: 2022-05-31

    上传用户:

  • USB HID学习手册

    HID 型概述第一个被windows支持的usb外围设备类是人机接口设备。hid是human interface device人机接口设备的英文缩写。是指直接和人进行互动的设备。如鼠标、键盘等。运行在WINDOWS98或其他更高的版本的操作系统的PC机,系统除了提供通用的USB设备的底层驱动以外,还单独提供了一些HID设备的完整驱动,应用程序可以很容易的与操作系统内部的hid通讯。这样使得符合hid类的USB设备很容易开发与运行。也就是说,我们如果想实现一个USB的HID类设备,是不需要在Windows下开发自己的驱动程序,HID不一定要是标准的外设类型,唯一的要求是交换的数据存储在报文的结构内,设备固件必须支持报文的格式。任何工作在该限制之内的设备都可以成为一个hid,例如温度计,电压计,读卡机等。hid类设备只能使用控制传输与中断传输两种方式。HID的交换的数据格式称为报文。报文形式灵活,能处理任何类型的数据。HID特有的请求,Set Report和Get Report为主机和设备之间的任何类型数据块传输提供了一种方法。主机发出Get Report请求,设备响应向主机传送数据块;主机发出Set Report请求,设备响应准备接收主机发出的数据块。对于一个全速设备,中断传输方式下每笔事务能够传送的最大数据量是64字节,全速设备每毫秒不能有超过一笔事务,所以每秒最多传送64000字节。高速设备,每笔事务能够传送的最大数据量是1024字节。对于不能一次传输完毕的数据,接收和发送报文可以采用多笔事务。下表列举出了与HID类设备通信过程中使用到的大量函数,这些函数的用法在DDK的帮助文档中均有详细地解释。这些函数包含在Hid.dll,Setupapi.dl、Kernel32.dll三个动态链接库中,分别起到与HID设备通讯,寻找与识别设备,交换数据的作用。

    标签: usb hid

    上传时间: 2022-05-31

    上传用户:

  • Xilinx与iMPACT的用法

    关于Xilinx IS(14.2)简单使用方法介绍安装ISE软件基本上是一路点击鼠标就是,但必须安装注册表文件,可在网上查找,可能是一个生成注册表文件或注册表文件(license),功能仿真是在设计输入后进行;时序仿真是在逻辑综合后或布局布线后进行。(系统差不多占20GB硬盘)1创建工程文件(New Projiect)File New Projiect。如输入文件名:Two20ne.在上图点击Next键,弹出如下窗口,设置一些参数,如下图所示:创建资源文件(New Source)ProjectNew Source。如输入文件名:One2Two.选择模型,如Verilog Module,输入HDL语言,或输入原理图。或Project>Add Source,,增加已存在的资源文件(*v)。实例:二选一电路。点击Next键,弹出如下窗口,

    标签: xilinx impact

    上传时间: 2022-06-18

    上传用户:shjgzh

  • LWIP的底层结构

    Lwip协议栈的实现目的,无非是要上层用来实现app的socket编程。好,我们就从socket开始。为了兼容性,lwip的socket应该也是提供标准的socket接口函数,恩,没错,在src\inc lude\lwip\socket.h文件中可以看到下面的宏定义:#if LWIP COMPAT SOCKETS#define accept(a,b,c)Iwip accept(a,b,c)#define bind(a,b,c)Iwip bind(a,b,c)#define shutdown(a,b)Iwip shutdown(a,b)#define closesocket(s)Iwip close(s)好,这个结构先不管它,接着看下get socket函数的实现【也是在src\api\socket.c文件中】,在这里我们看到这样一条语句sock =&sockets[s];很明显,返回值也是这个sock它是根据传进来的序列号在sockets数组中找到对应的元素并返回该元素的地址。好了,那么这个sockets数组是在哪里被赋值了这些元素的呢?进行到这里似乎应该从标准的socket编程的开始,也就是socket函数讲起,那我们就顺便看一下。它对应的实际实现是下面这个函数Int Iwip socket(int domain,int type,int protocol)【src\api\socket.c】这个函数根据不同的协议类型,也就是函数中的type参数,创建了一个netconn结构体的指针,接着就是用这个指针作为参数调用了alloc socket函数,下面具体看下这个函数的实现

    标签: lwip 底层结构

    上传时间: 2022-06-19

    上传用户:aben

  • STM32CubeMX使用说明.

    安装软件到ST的网站上下载最新版本的STM32CubeMX 软件:编写这份文档的时候最新版本是V4.17.0 将下载后的压缩包解压,双击里面的SetupSTM32CubeMX-4.17.0.exe 文件来安装软件, 出现下图的界面的时候按Next 按钮继续:在下面的窗口中选择“ I accept the terms of this license agreement ”然后继续按Next 按钮。2下一个出现的窗口是选择软件安装的路径, 默认安装路径是C:\Program Files(x86)\STMicroelectronics\STM32Cube\STM32CubeMX ,可以根据实际需要选择别的路径,本次安装在D 盘相同的路径上。按Next 按钮后弹出一个确认窗口,按确定键确定。接着弹出下图的配置窗口,按原来默认的配置,按Next 键继续。3安装完后,按Next 键继续。按Done 键关闭下面的窗口,完成所有的安装。4安装固件包点击桌面上的STM32CubeMX 图标运行软件。先修改软件包的安装路径,点击help 菜单选“ Updater Settings”选项。软件包默认安装在C:/Users/XIN/STM32Cube/Repository/ 目录下,STM32Cube 软件包比较大可以点击Browse 按键修改安装的路径。修改完软件包的安装路径后开始安装 STM32Cube软件包,点击 help 菜单选 “Insta lnl ewsoftware and/or firmware packages ”选项。

    标签: stm32cubemx

    上传时间: 2022-06-19

    上传用户:jason_vip1

  • spi协议英文详解

    In this presentation, we will look at what the Serial Peripheral Interface, otherwise known as the SPI, is. and how it is used to communicate data to and from the PICmicro microcontroller.SPl is frequently used when few 1/O lines are available, but communication between two or more devices must be fast and easy to implement.In this presentation, we will discuss the following topics: We will first cover an Overview of SPI This section of the tutorial will introduce you to SPI and its concepts.Next, we will examine the use of SPI on the PICmicro MCU.The details of how SPI is implemented on a PICmicro device will be examined.Then, a Code Walkthrough will be given.The walkthough will explore code for both an SPI Master and SPI Slave. The example will have the Master generate data for sending to the slave.Finally, there will be a few resources given at the end of the presentation. These resources will allow you to explore in more detail the SPI interface

    标签: spi协议

    上传时间: 2022-06-20

    上传用户: