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

CaN-driver

  • 基于单片机的数字化B超键盘设计

    针对目前使用的RS232接口数字化B超键盘存在PC主机启动时不能设置BIOS,提出一种PS2键盘的设计方法。基于W78E052D单片机,采用8通道串行A/D转换器设计了8个TGC电位器信息采集电路,电位器位置信息以键盘扫描码序列形式发送,正交编码器信号通过XC9536XL转换为单片机可接收的中断信号,软件接收到中断信息后等效处理成按键。结果表明,在满足开机可设置BIOS同时,又可实现超声特有功能,不需要专门设计驱动程序,接口简单,成本低。 Abstract:  Aiming at the problem of the digital ultrasonic diagnostic imaging system keyboard with RS232 interface currently used couldn?蒺t set the BIOS when the PC boot, this paper proposed a design method of PS2 keyboards. Based on W78E052D microcontroller,designed eight TGC potentiometers information acquisition circuit with 8-channel serial A/D converter, potentiometer position information sent out with keyboard scan code sequentially.The control circuit based on XC9536 CPLD is used for converting the mechanical actions of the encoders into the signals that can be identified by the MCU, software received interrupt information and equivalently treatmented as key. The results show that the BIOS can be set to meet the boot, ultrasound specific functionality can be achieved at the same time, it does not require specially designed driver,the interface is simple and low cost.    

    标签: 单片机 B超 数字化 键盘设计

    上传时间: 2013-10-10

    上传用户:asdfasdfd

  • 基于C8051F040的以太网-CAN转换电路设计

    以太网和CAN总线应用广泛,但由于其通信协议不同,两种总线器件间无法进行数据通信,因此,设计了基于CP2200与C8051F040的以太网总线与CAN总线接口转换电路,并给出部分相关硬件电路与软件设计分析。在保证数据完整和协议可靠的前提下,通过握手协议和简化的以太网协议,不仅实现了以太网数据与CAN数据的转发,同时还顺利的解决了以太网的高速性与CAN的低速率冲突,以及两者数据包之间的大小不同的矛盾。 Abstract:  In the development of actual application, Ethernet and CAN bus are used very extensively. Owing to its various communication protocols, the communicating between two kinds of bus device can’t be carried out. Therefore, in order to solve this problem, the Ethernet-CAN bus interface circuit based on CP2200 and C8051F040 was designed in this paper, and part of the related hardware circuit and software design analysis were given. On the condition of data’s integrity and protocols’reliability, through the handshaking protocols and the simplified the Ethernet protocol, not only the data switching between CAN and Ethernet was realized, but also the differ in velocity and packet size was solved.

    标签: C8051F040 CAN 以太网 转换

    上传时间: 2013-10-15

    上传用户:Ants

  • 基于MC9S12HZ256的总线式汽车数字仪表设计

    首先研究CAN总线和SAE J1939协议,提出一种基于MC9S12HZ256微控制器的总线式汽车数字仪表解决方案。详细介绍SAE J1939协议的报文帧格式及应用层协议中发动机相关参数的定义,以及步进电机及其驱动和车速信号的处理方法。该数字仪表系统硬件平台由微处理器和信号采集和信息处理及显示等模块组成。软件设计部分编程实现了对CAN总线和各传感器数据的读取、处理。该系统能够实时反映车辆工况。 Abstract:  In this paper,CAN bus and SAE J1939protocol are researched,and a vehicle digital instrument solution based on MC9S12HZ256MCU is proposed.The message frame format and some engine-related parameters’definition in SAE J1939application layer protocol are introduced in detail.Stepper motor and its driver,the methods of speed signal process-ing are also introduced.The hardware platform of vehicle digital instrument is composed by MCU,signal acquisition mod-ule,and signal processing and displaying module.Data receiving and processing from CAN bus and sensors are accom-plished by programming,and vehicle condition can be reflected in real-time.

    标签: 256 MC9 S12 MC

    上传时间: 2013-10-20

    上传用户:huannan88

  • 基于CAN总线的综自通讯规约设计

    介绍一种基于CAN总线的牵引变电站自动化系统通讯规约的设计,CAN通讯规约采用标准帧,报文采用主动发送和发送查询两种处理形式。该设计在城市轻轨与地铁牵引变电站中的应用表明:可实现间隔层和通讯处理层的数据快速、可靠的交换,提高牵引变电站的安全性和稳定性 。 Abstract:  This paper firstly presents a kind of design dealing with communicational protocol to the traction substation automation system based on CAN bus,and then comes up with the ideas that all frames of CAN communicational protocol should adopt the standard frame,and that messages be processed by two ways:sending initiatively and sending quiries.Subway and light rail application shows that the use of the CAN bus is possible to exchange data quickly and reliably between the layers of the middle and the communicational processing,hence to improve the safety and stability of traction substations.

    标签: CAN 总线 通讯规约

    上传时间: 2013-11-07

    上传用户:bs2005

  • 基于CAN总线的数字式自动找平控制系统设计

    对于沥青混凝土摊铺机自动找平控制系统来说,数字式控制系统的研制是目前的一个方向。介绍了一种基于CAN总线的数字式自动找平控制系统。该系统以CAN总线作为通信方式,PWM控制信号通过C8051F040单片机内部PCA可编程计数器阵列产生,并具有结构简单、信号稳定、实时性强、易扩展的特点。通过硬件实现和系统运行达到了比较理想的控制效果,验证了系统的可行性。 Abstract:  A digital auto-leveling control system based on CAN Bus is introduced.It uses CAN Bus as the method of communication and creates PWM signals by programmable counter array in C8051F040 microcontroller. The system is simple, stable, real-time and expansive.

    标签: CAN 总线 数字式 控制系统设计

    上传时间: 2013-10-09

    上传用户:ligi201200

  • PCF8578 LCD图形点阵液晶驱动器芯片简介及封装库

    The PCF8578 is a low power CMOS1 LCD row and column driver, designed to drive dotmatrix graphic displays at multiplex rates of 1:8, 1:16, 1:24 or 1:32. The device has40 outputs, of which 24 are programmable and configurable for the following ratios ofrows/columns: 32¤8, 24¤16, 16¤24 or 8¤32. The PCF8578 can function as a stand-alone LCDcontroller and driver for use in small systems. For larger systems it can be used inconjunction with up to 32 PCF8579s for which it has been optimized. Together these twodevices form a general purpose LCD dot matrix driver chip set, capable of driving displaysof up to 40960 dots. The PCF8578 is compatible with most microcontrollers andcommunicates via a two-line bidirectional bus (I2C-bus). Communication overhead isminimized by a display RAM with auto-incremented addressing and display bankswitching.

    标签: 8578 PCF LCD 图形点阵

    上传时间: 2013-10-23

    上传用户:顶得柱

  • SN65LBC170,SN75LBC170,pdf(TRIP

    The SN65LBC170 and SN75LBC170 aremonolithic integrated circuits designed forbidirectional data communication on multipointbus-transmission lines. Potential applicationsinclude serial or parallel data transmission, cabledperipheral buses with twin axial, ribbon, ortwisted-pair cabling. These devices are suitablefor FAST-20 SCSI and can transmit or receivedata pulses as short as 25 ns, with skew lessthan 3 ns.These devices combine three 3-state differentialline drivers and three differential input linereceivers, all of which operate from a single 5-Vpower supply.The driver differential outputs and the receiverdifferential inputs are connected internally to formthree differential input/output (I/O) bus ports thatare designed to offer minimum loading to the buswhenever the driver is disabled or VCC = 0. Theseports feature a wide common-mode voltage rangemaking the device suitable for party-lineapplications over long cable runs.

    标签: 170 LBC SN TRIP

    上传时间: 2013-10-13

    上传用户:ytulpx

  • 瑞萨MCU在汽车仪表及CAN/LIN应用中的解决方案

    议程1.瑞萨汽车业务概述2.仪表盘MCU解决方案3.CAN/LIN(车身)MCU解决方案

    标签: MCU CAN LIN 瑞萨

    上传时间: 2013-10-20

    上传用户:王成林。

  • 采用TMS320F2812的CAN系统解决方案

    选择了芯片后,就可以围绕该芯片确定相应的开发工具。开发工具的好坏往往是决定一个系统成败的关键,下面是对CAN-BUS开发系统组成的一些建议:

    标签: F2812 2812 320F TMS

    上传时间: 2013-11-02

    上传用户:yueguizhilin

  • 基于Infineon单片机的CAN网关研究

    采用Infineon XC2000系列单片机实现CAN网关模块,利用MFC编写PC端网关配置软件。该系列单片机MultiCAN模块可实现不同速率的独立CAN网络之间的数据接收、存储、转发;能够过滤不需要的CAN消息,降低子网的负荷。该网关模块可以实现改变CAN网络拓扑结构、延长网络通信距离、增加节点数目等功能。

    标签: Infineon CAN 单片机 网关

    上传时间: 2014-12-27

    上传用户:风为裳的风