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

cross-device

  • J-LINK下载器

    首先下载软件,解压软件,安装在程序中找到SEGGER,选里面的J-FLASH,进入界面,刚开始的那个界面可以忽略,不用建project也可以;单击菜单栏的“Options---Project settings”打开设置,进行jlink配置;正在General选项,选择“USB”,一般都是默认配置,确认一下即可;然后在CPU选项,选择芯片型号,先选择“Device”才能选择芯片型号,芯片型号,要根据你使用的芯片进行选择;在Target interface选项 里面选择SWD模式;首先Target里面选“Connection”连接目标芯片,然后 Target--Auto进行程序烧写;首先Target里面选择“Connection”连接目标芯片,然后 Target--Auto进行程序烧写.SEGGER J-Links are the most widely used line of debug probes available today. They've proven their value for more than 10 years in embedded development. This popularity stems from the unparalleled performance, extensive feature set, large number of supported CPUs, and compatibility with all popular development environments.

    标签: JLINK

    上传时间: 2022-03-22

    上传用户:

  • 直流电动机测速装置

    本系统采用电动机电枢供电回路串接采样电阻的方式来实现对小型直流有刷电动机的转速测量。该系统主要由二阶低通滤波电路,小信号放大电路、单片机测量显示电路、开关稳压电源电路等组成。同时自制电机测速装置,用高频磁环作为载体,用线圈绕制磁环,利用电磁感应原理检测电机运行时的漏磁,将变化的磁场信号转化为磁环上的感应电流。用信号处理单元电路将微弱电信号转化为脉冲信号,送由单片机检测,从而达到准确测量电机的速度的要求。In this system, the sampling resistance of armature power supply circuit is connected in series to measure the speed of small DC brush motor. The system is mainly composed of second-order low-pass filter circuit, small signal amplifier circuit, single-chip measurement and display circuit, switching regulated power supply circuit and so on. At the same time, the self-made motor speed measuring device uses high frequency magnetic ring as the carrier, coil winding magnetic ring, and electromagnetic induction principle to detect the leakage of magnetic field during the operation of the motor, which converts the changed magnetic field signal into the induced current on the magnetic ring. The weak electric signal is transformed into pulse signal by signal processing unit circuit, which is sent to single chip computer for detection, so as to meet the requirement of accurate measurement of motor speed.

    标签: 直流电动机

    上传时间: 2022-03-26

    上传用户:

  • B型剩余电流保护器设计

    随着光伏发电系统快速发展,以及电动汽车充电桩的普及,传统的剩余电流保护器无法满足实际需求。介绍了一款B型剩余电流保护器,采用磁调制剩余电流互感器和零序电流互感器采集剩余电流。根据GB/T 22794—2017标准要求,可识别1 kHz及以下的正弦交流、带和不带直流分量的脉动直流、平滑直流等剩余电流信号。经信号调理电路将电压信号送到单片机进行采集和判断。通过试验测试,该样机在测试精度和速度上均符合国家标准的相关要求。The rapid development of photovoltaic power generation systems and the popularity of electric vehicle charging piles make the traditional residual current protective devices unable to meet the actual demand.This paper proposed a type B residual current protective device,which uses the magnetically modulated residual current transformer and the zero sequence current transformer to acquire the residual current.According to the requirements of GB/T 22794—2017,the type B residual current protective device can detect sinusoidal AC residual current of 1kHz and below 1kHz,pulsating DC residual current with and without DC component,smooth DC residual current and so on.The signal processing circuit sends the voltage signal to the MCU for acquisition and judgment.Through experimental tests,the device meets the relevant requirements of national standards in terms of test accuracy and speed.

    标签: 电流保护器

    上传时间: 2022-03-27

    上传用户:

  • 一种车载充电器的设计

    以AT89S52单片机为控制核心,采用电容降压技术,Buck电路拓扑,PWM驱动模块和功率器件散热设计,通过高速的数据采集、主功率输入输出模块和控制模块,设计一种新型智能车载充电器.在充电过程中,通过负脉冲瞬间放电实现对铅酸蓄电池的再生修复,提高电池的有效容量,延长使用寿命.该充电器体积小、速度快、效率高、可靠性好.With AT89S52 single chip computer as the control core,a new type of intelligent car-carried charger was designed by using capacitance step-down technology,Buck circuit topology,PWM driving module and power device heat dissipation design,through high-speed data acquisition,main power input and output module and control module.In the charging process,the regeneration and repair of lead-acid batteries are realized by instantaneous discharge of negative pulse,which improves the effective capacity of batteries and prolongs their service life.The charger has the advantages of small size,fast speed,high efficiency and good reliability.

    标签: 车载充电器

    上传时间: 2022-03-27

    上传用户:

  • 基于单片机的红外测温装置设计

    温度控制如今已成为当代社会研究的热点之一,而温度检测在现代设备参数检测中也是一项极其重要的技术,应用十分广泛。与传统的测温方法相比,红外测温方法具有时间短、精度高、使用简单方便等优点。本文以环境温度为被测对象,设计了以STC89C52单片机为控制中心的红外测温装置,能够实现对目标温度的实时采集、处理、显示和报警等功能。本设计主要是由STC89C52单片机、红外测温传感器、LCD1602液晶显示器、按键和蜂鸣器等部分组成,采用非接触的方式对目标温度进行实时检测。Temperature control has become one of the hotspots in contemporary social research,and temperature detection is an extremely important technology in modern equipment parameter detection.Compared with traditional method,the infrared temperature measuring method has advantages of short time,high precision and convenient operation,etc.This paper consider environment temperature as research objects and designs an infrared temperature measuring device which employs the STC89C52singlechipas-control center,and it can realize timely collection,processing,display and alarm function of the target temperature.The design is mainly composed of STC89C52 singlechip,infrared temperature sensor,LCD1602monitor,keys and buzzer,etc.This design detects the target temperature by non-contact method.

    标签: 单片机 红外测温

    上传时间: 2022-03-27

    上传用户:jiabin

  • 基于STM32单片机设计的非接触式电流检测控制系统

    本系统基于STM32单片机设计的非接触式电流检测控制系统,通过OPA548片将所给任意信号放大,由100Ω电阻和INA128芯片进行电流电压转换放大后,利用STM32单片机对获取的电压信号以0.488μs频率采样,利用STM32单片机的FFT库,获得信号的谐波信息。测量电流信号精准,该设计可广泛应用在以STM32单片机为核心控制器件的新型仪表中,性能精准且抗干扰能力强。This system is a non-contact current detection and control system based on STM32 single chip microcomputer. It amplifiesany signal through OPA548 chip, converts and amplifies the current and voltage by 100 Ω resistance and INA128 chip. The obtainedvoltage signal is sampled at the frequency of 0.488 μs by STM 32 single chip microcomputer, and the harmonic information of the signalis obtained by the FFT library of STM 32 single chip microcomputer. The measurement of current signal is accurate. This design can bewidely used in a new instrument with STM 32 single chip microcomputer as its core control device, with accurate performance and stronganti-interference capability.

    标签: stm32 单片机

    上传时间: 2022-03-27

    上传用户:

  • 基于单片机和人体红外线传感器自动关门锁门的装置

    入室抢劫事件屡见不鲜,针对此现象进行分析不难发现,造成失窃事件的极大原因是人们慵懒和意识差等不良性格造成习惯性不锁门.本文以STC89C52单片机为基础,设计了一种基于人体红外传感器的自动关门锁门装置,来解决此类问题.The incidents of burglary are so common. It is not difficult to find that the main reason for the burglary is the habit of unlocking of doors caused by people's laziness and poor consciousness. Based on the single chip microcomputer of STC89C52, a device used with infrared sensor of human body is introduced in this paper, which can achieve the effect of automatic closing and locking doors.

    标签: 单片机 人体红外线传感器

    上传时间: 2022-03-27

    上传用户:canderile

  • 基于MSP430单片机及FPGA的简易数字示波器

    数字示波器功能强大,使用方便,但是价格相对昂贵。本文以Ti的MSP430F5529为主控器,以Altera公司的EP2C5T144C8 FPGA器件为逻辑控制部件设计数字示波器。模拟信号经程控放大、整形电路后形成方波信号送至FPGA测频,根据频率值选择采用片上及片外高速AD分段采样。FPGA控制片外AD采样并将数据输入到FIFO模块中缓存,由单片机进行频谱分析。测试表明:简易示波器可以实现自动选档、多采样率采样、高精度测频及频谱分析等功能。Digital oscilloscope is powerful and easy to use, but also expensive. The research group designed a low-cost digital oscilloscope, the chip of MSP430F5529 of TI is chosen as the main controller and the device of EP2C5T144C8 of Altera company is used as the logic control unit. Analog signal enter the programmable amplifier circuit, shaping circuit and other pre-processing circuit. The shaped rectangular wave signal is sent to FPGA for measure the frequency. According to the frequency value to select AD on-chip or off-chip high-speed AD for sampling. FPGA controls the off-chip AD sampling and buffers AD data by FIFO module. The single chip microcomputer receives the data, and do FFT for spectrum analysis. The test shows that the simple oscilloscope can realize automatic gain selection, sampling at different sampling rates, high precision frequency measurement and spectrum analysis.

    标签: msp430 单片机 fpga 数字示波器

    上传时间: 2022-03-27

    上传用户:

  • 基于STC12C5A60S2单片机的LED线阵显示装置

    LED 线阵显示装置, 分为 LED 线性旋转显示主机和图文录入器两部分。主机用直流电机带动由红绿 LED 组成的线阵旋转, 同时线阵按照时序依次切换显示状态, 在固定区域利用视觉暂留效果形成 16×16 点阵, 用以显示图文;图文录入器用 HMI 触控屏作为人机交互界面, 实现图文录入和回放功能。主机与图文录入器通过无线通信方式进行信息交互,可由图文录入器控制主机切换不同工作任务, 以及改变线阵显示内容。The LED linear array display device is divided into two parts:the one is the main unit used to display content,and the other one is used to input the contents.The main unit is driven by a DC motor to rotate the linear array composed by red and green light emitting diodes.At the same time,the 16×16 dot matrix that switching the display state according to the time sequence on the main unit displays pictures and texts in the fixed area,by using the visual temporary effect.The HMI touch screen is used as human machine interface to realize the function that input and playback pictures and texts.The two parts of the device communicate with each other through wireless communication.The image and text input controller can control the main unit to switch different tasks and change the content of linear array displayed.

    标签: stc12c5a60s2 单片机 led

    上传时间: 2022-03-28

    上传用户:jiabin

  • 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

    上传用户: