以倉庫智能改造為背景,主要介紹單片機和上位機之間通信網絡和通信協議的選擇,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.
上傳時間: 2022-03-26
上傳用戶:
基于藥物治療在臨床治療中的重要性,分析目前服藥提醒裝置存在的不足,以STM32F103VET6單片機為控制核心,設計了一種多功能電子藥箱。該系統包括顯示模塊、語音模塊和數據存儲模塊。顯示模塊通過觸摸屏電路和LED指示燈電路,與語音模塊相配合,實現了服藥提醒及指導的功能;數據存儲模塊通過EEPROM存儲電路,能夠實現掉電時服藥信息不丟失的功能。并且為了實現電子藥箱的智能化控制,開發了手機APP,兩者之間可通過WIFI進行數據通信。經測試,該藥箱能夠有效地幫助慢性病患者按時、定量、正確服用藥物,適合在家庭中推廣使用,具有較高的應用價值和實踐意義。Based on the importance of drug therapy in clinical treatment, this paper analyzes the shortcomings of current drug reminder devices, and designs a multi-function electronic medicine box with STM32 F103 VET6 microcontroller as the control core. The system includes a display module, a voice module, and a data storage module. The display module cooperates with the voice module through the touch screen circuit and the LED indicator circuit to realize the function of reminding and guiding the medicine;the data storage module can realize the function of not losing the medication information when the power is off through the EEPROM storage circuit.After testing, the medicine box can effectively help chronic diseases patients to take drugs on time, in a quantitative and correct manner,and is suitable for popularization in the family, and has high application value and practical significance.
標簽: 電子藥箱
上傳時間: 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
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
本文首次設計并驗證了基于macom三合一芯片設計的光模塊電路,該電路旨在提供一種滿足SFF-8472中規定的數字診斷功能的低成本SFP+模塊。電路采用激光器驅動、限幅放大器、控制器以及時鐘恢復單元集成的單芯片,在保證高精度數字診斷功能基礎上,實現了低成本高可靠的特點。該電路在光接收接口組件與激光器驅動和限幅放大器單元的限幅放大器部分之間接入濾波器來提高模塊的靈敏度及信號質量。在控制器單元的數字電位器的引腳上采用外加電阻的方式避免出現上電不發光的故障問題。該研究結果為下一代SFP-DD光模塊設計與開發工作,奠定了一定的理論與實踐基礎。This paper designs and validates the optical module circuit based on the MACOM Trinity chip for the first time.This circuit aims to provide a low-cost SFP module which meets the digital diagnosis function specified in SFF-8472.The circuit uses a single chip integrated with laser driver,limiting amplifier,controller and clock recovery unit.On the basis of ensuring high precision digital diagnosis function,it achieves the characteristics of low cost and high reliability.The circuit connects a filter between the optical receiving interface module and the limiting amplifier part of the laser driver and limiting amplifier unit to improve the sensitivity and signal quality of the module.The pin of the digital potentiometer in the controller unit is equipped with an external resistance to avoid the problem of power failure.The research results lay a theoretical and practical foundation for optical module design in high-speed data center.
上傳時間: 2022-04-03
上傳用戶:
The GL823K integrates a high speed 8051 microprocessor and a high efficiency hardware engine for the best data transfer performance between USB and flash card interfaces. Its pin assignment design fits to card sockets to provide easier PCB layout. Inside the chip, it integrates 5V to 3.3V regulator, 3.3V to 1.8V regulator and power MOSFETs and it enables the function of on-chip clock source (OCCS) which means no external 12MHz XTAL is needed and that effectively reduces the total BOM cost.
上傳時間: 2022-04-27
上傳用戶:qdxqdxqdxqdx
超聲波換能器作為一種實用的檢測手段,能實現聲波所攜帶的信息和電能之間轉換。它的性能優良,價格低廉,操作方便,易于調試,因此在工農業生產中發揮著重要的作用。但目前換能器驅動電路的發射頻率多為40 kHz,本文針對1 MHz的超聲波換能器電路進行了設計,主要介紹了它的發射驅動電路和接收驅動電路的設計方案,并對它們的功能進行了詳細地說明。最后搭建實驗平臺,并對電路的輸入、輸出模塊進行了測試。實驗結果表明,換能器電路運行良好,可以為超聲波高精度測量領域的應用提供參考。As a practical means of detection, ultrasonic transducer can realize the conversion between theinformation carried by sound wave and electric energy.It has the advantages of excellent performance,low cost, convenient operation and debugging, so plays an important role in industrial and agriculturalproduction.However, the transmitting frequency of the driving circuit for most transducer is 40 kHz.Thecircuit of 1 MHz ultrasonic transducer is designed In this paper. It mainly introduces the emissive drivingcircuit and the receiving circuit design and the detailed function of them. Finally, the experimentalplatform is built, and the circuit of input and output were tested. Experiments show that the transducer' s...
上傳時間: 2022-04-28
上傳用戶:
The JW? 7805 is a low noise low-dropout (LDO) voltage regulator with enable function that operates from 1.8V to 5.5V. It provides up to 300mA of output current and offers low-power operation in miniaturized packaging. JW7805 supports fixed output voltage 0.9V, 1.0V, 1.05V, 1.1V,1.2V, 1.3V, 1.35V, 1.5V, 1.8V, 1.85V, 2.1V, 2.2V, 2.3V, 2.5V, 2.6V, 2.7V, 2.8V, 2.85V, 2.9V, 3.0V,3.1V, 3.3V, 3.6V, 4.2V, 4.4V and 5.0V. The features of low quiescent current as low as 6uA and almost zero disable current are ideal for powering the battery equipment. JW7805’s low output noise and high PSRR are also friendly to RF systems.
標簽: JW7805
上傳時間: 2022-05-06
上傳用戶:slq1234567890
基于DSP28035的高速永磁無刷直流電機驅動系統,包括論文和軟硬設計資料。摘要參賽作品為基于DSP28035的高速永磁無刷直流電機驅動系統。該系統以一臺額定轉速60 krpm的高速永磁無刷直流電機、交錯并聯的Buck電路以及全橋電路為硬件平臺,以DSP28035為控制核心,實現了調壓調速功能和基于坐標變換的無位置傳感器新技術。為實現該系統要求,本作品充分利用了DSP28035的資源例如:CLA模塊,模擬比較器、HPWM模塊以及AD轉換模塊等。AbstractThis work is the drive system for a high speed permanent magnet burshless dc motor based on DSP28035. The hardware platform consists of a BLDC motor(rated speed is 60000rpm), a Buck circuit and an inverter. Under the control of DSP28035, this system can achieve the goal of adjusting the motor’s speed with voltage and the function of sensorless control based on the coordinate transformation. By making full use of resources of the core, such as CLA, analog comparator, HPWM and AD converters, the whole system can meet the requirements.1 引言高速永磁無刷直流電機驅動系統由于基波頻率較高(一般在1kHZ以上),利用逆變橋斬波進行調速的控制方式通常會受到開關管開關頻率的限制,因此該系統多采用三相全橋前級加Buck電路進承擔調壓調速的功能,而三相全橋主要承擔邏輯換相的功能。然而,傳統Buck電路所需電感的體積較大,增加了系統的體積,降低了系統的功率密度。
上傳時間: 2022-05-08
上傳用戶:bluedrops
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
上傳用戶: