登录
首页 » Others » 基于STM32F103ZET6的HCSR04的超声波测距并用LCD显示

基于STM32F103ZET6的HCSR04的超声波测距并用LCD显示

于 2020-11-28 发布
0 259
下载积分: 1 下载次数: 1

代码说明:

利用STM32单片机驱动HCSR04超声波测距模块,并增加蜂鸣器报警装置和LCD显示装置。LCD实时显示测距仪和被测物之间的距离信息并用点阵表示。距离过近则蜂鸣器报警。

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • multisim仿真,降压式开关稳压电源电路
    multisim仿真,降压式开关稳压电源电路,还不错,可以用!
    2020-12-11下载
    积分:1
  • adrc_simulink仿真.rar
    该压缩包为学习自抗扰技术所做的仿真,内部包含ADRCsimulink仿真实现。
    2020-12-09下载
    积分:1
  • 51单片机实现用ADS1115采集0~5V电压
    实现用ADS1115采集0~5V电压,超出此范围时,LCD1602液晶提示报警。电压数值显示精确到小数点后3位。四个按键分别控制采集进度。VB语言软件编程实现数据实时接收,显示,保存。
    2020-12-06下载
    积分:1
  • 遗传算法序优化pid参数
    采用遗传算法实现pid参数的优化,
    2020-12-02下载
    积分:1
  • 房价数据集(包含波士顿房价数据集).zip
    【实例简介】内部包括波士顿房价数据集以及另外两个房价文件,特征数量够用,都在10个以上。除此之外附带一份应用数据分析课程报告和一份多元线性回归预测代码,亲测可用。代码在报告中。
    2021-11-25 00:31:29下载
    积分:1
  • WebGIS从基础到开发实践书和源码
    WebGIS从基础到开发实践配套的源代码,60个应用实例,HTML5与CSS3的全面介绍与深入应用。配套源代码,很实用的;WebGIS从基础到开发实践的内部案例文档,里面包含WebGIS从基础到开发实践的基础案例,适合新手。
    2021-05-07下载
    积分:1
  • 4qam, 16qam星座图,眼图,信噪比对比qam.zip
    4qam, 16qam星座图,眼图,信噪比对比
    2020-12-09下载
    积分:1
  • 最新最全1.8寸tft液晶屏st7735资料及其代码(安卓、C51、stm32)
    最新最全的1.8寸tft液晶屏文档及三份代码(安卓、C51、stm32),只需要改引脚就可使用,很简单也很齐全的资料。
    2020-11-30下载
    积分:1
  • TOPSIS评价模型方法
    用于数据处理与建立数学模型,TOPSIS方法的详细步骤及举例,
    2020-12-08下载
    积分:1
  • 索尼 imx274 datesheet
    imx274 datesheet,可以对接Hi3519V101,4K,分享一下SONYIMX274LQC-CAbsolute Maximum RatingsItemSymbolRatingsUnitSupply voltage(Analog)1ADD0.3to+3.3VSupply voltage(Digital 1)-0.5to+2.0Supply voltage(Digital 2)DDD20.5to+3.3VInput voltage(Digital)0.3toV。Dp+0.3VOutput voltage(Digital)-0.3toVD2+0.3Guaranteed operating temperature TOPR-30to+75°CStorage guarantee temperatureTSTG30to+80CPerformance guarantee temperature TsPEC10to+60Recommended Operating ConditionsItemSymbolRatingSupply voltage(Analog)VADD2.8±0.1Supply voltage(Digital 1)1.2±0.1VSupply voltage(Digital 2)1.8±0.1Input voltage(Digital)-0.1 to Vopp2+0.11 VADD: VDDSUB, VoDHCM, VoDHPX, VDDHDA, VDDHCP (2.8V power supplyVDDD1: VDDLCN, VDDLSC1 to 2, VDDLPA, VDDLPL1, VoDLPL2 to 3. VDDLIF (1.2V power supply)VDDD2: VDDMIO, VDDMIF (1.8V power supply)SONYIMX274LQC-CUSE RESTRICTION NOTICEThis USE RESTRIC TION NOTICE (Notice )is for customers who are considering or currently using theimage sensor products("Products")set forth in this specifications book. Sony Corporation Sony")mayat any time, modify this Notice which will be available to you in the latest specifications book for theProducts. You should abide by the latest version of this Notice. If a Sony subsidiary or distributor has itsown use restriction notice on the Products, such a use restriction notice will additionally apply betweerou and the subsidiary or distributor. You should consult a sales representative of the subsidiary ordistributor of sony on such a use restriction notice when you consider using the ProductsUse restrictionsThe Products are intended for incorporation into such general electronic equipment as office productscommunication products, measurement products, and home electronics products in accordance withthe terms and conditions set forth in this specifications book and otherwise notified by sony from timeYou should not use the Products for critical applications which may pose a life-or injury-threateningrisk or are highly likely to cause significant property damage in the event of failure of the products. Youshould consult your sales representative beforehand when you consider using the products for suchcritical applications. In addition, you should not use the products in weapon or military equipmentSony disclaims and does not assume any liability and damages arising out of misuse improper usemodification, use of the Products for the above-mentioned critical applications, weapon and militaryequipment, or any deviation from the requirements set forth in this specifications booklesign for SafetySony is making continuous efforts to further improve the quality and reliability of the products howeverfailure of a certain percentage of the products is inevitable. Therefore, you should take sufficient careto ensure the sate design of your products such as component redundancy, anti-contlagration featuresand features to prevent mIs-operation in order to avoid accidents resulting in injury or death fire orother social damage as a result of such failureExport ControlIf the Products are controlled items under the export control laws or regulations of various countriesapproval may be required for the export of the products under the said laws or regulationsYou should be responsible for compliance with the said laws or regulationsNo License Impliedo The technical information shown in this specifications book is for your reference purposes only. theavailability of this specifications book shall not be construed as giving any indication that sony and itscensors will license any intellectual property rights in such information by any implication or otherwiseSony will not assume responsibility for any problems in connection with your use of such information orfor any infringement of third-party rights due to the same. It is therefore your sole legal and financialresponsibility to resolve any such problems and infringementGoverning lawThis notice shall be governed by and construed in accordance with the laws of Japan, without referenceto principles of conflict of laws or choice of laws. All controversies and disputes arising out of or relatingto this Notice shall be submitted to the exclusive jurisdiction of the Tokyo district Court in Japan as thecourt of first instanceOther Applicable Terms and ConditionsThe terms and conditions in the Sony additional specifications, which will be made available to you whenyou order the Products, shall also be applicable to your use of the Products as well as to thisspecifications book. You should review those terms and conditions when you consider purchasingand/or using the ProductsGeneral-0.0. 8SONYIMX274LQC-CContentsDescription---FeaturesDevice structureOptical Black Array and Readout Scan Direction---Absolute Maximum Ratings2233Recommended Operating Conditions---------------USE RESTRICTION NOTICEContentsOptical CePin Configuration------------------Pin description-------------------------458899hen using csl-2When using Sub-LVDS1210 Equivalent Circuit Diagram15Peripheral Circuit19System OutlineWhen using CSl-2When using Sub-LVDSElectrical Characteristics when using cs1-2--------------------------m---------------------------------21. DC Characteristics(CS1-2)a.8..4Current Consumption and Gain Variable Range(CSl-2Supply Voltage and l/O Voltage(CS1-2)2. AC Characteristics(CS1-222INCK, XCLR(CSl-2)22XHS, XVS(Output)(CSI-2)22IC Communication (CSI-2)23DMCKP/DMCKN, DMO(CSl-2Electrical Characteristics When Using Sub-LVDs-------------------m--------------------------1. DC Characteristics(Sub-LVDs)……Current Consumption and gain Variable Range sub-LVDS24Supply Voltage and l/o Voltage(Sub-LVDSLVDS Output DC Characteristics(Sub-LVDS2. AC Characteristics ( Sub-LVDS).........25INCK, XCLR, XVS(input), XHS (input)(Sub-LVDS25Serial Communication(Sub-LVDS)Sub-LVDS Output(Sub-LVDS)26Spectral Sensitivity Characteristics(CS1-2 and Sub-LVDS27Image Sensor Characteristics(CSl-2 and Sub-LVDS)-281. Zone Definition of Image Sensor Characteristics28mage Sensor Characteristics Measurement Method(CSl-2 and Sub-LVDS)1. Measurement conditions2. Color Coding of this Image Sensor and Readout..293. Definition of Standard Imaging Conditions29Setting Registers Using I"C Communication(When Using CSl-2Description of Setting Registers When Using I C communication31Pin Connection of Serial Communication Operation Specifications When Using I"C CommunicationRegister Communication Timing When Using I-C Communication12C Communication Protocol32Register Write and Read33Single Read from Random Location33Single read from current location; iidaiaii:;aaaa“Sequential Read Starting from Random LocationSequential Read Starting from Current Location34Single Write to Random Location35Sequential Write Starting from Random Location35Register Value Reflection Timing to Output Data(CSl-2)36SONYIMX274LQC-CSetting Registers Using Serial Communication (When Using Sub-LVDS)----------------37Setting Registers Using Serial Communication(Sub-LVDS).37Register Value Reflection Timing to Output Data( Sub-LVDS38Register Map…391. Description of Register2. Register Setting for Each Readout Drive Modeeadout Drive Modes( csl-2 and Sub-LVDS)---------------------551. Readout drive modes552. Relationship between Arithmetic Processing and the Number of Output bits in Each Readout Drive ModeImage Data Output Format When Using CSI-2--------------------------58Frame Format (CSI-2)58Frame Structure(CSl-258Embedded Data Line(CSl-2)59CSl-2 serial Output Setting(CSl-2)MIPI Transmitter(CSl-2)62Detailed Specification of Each Mode(CSl-2)---------------631. Horizontal/ Vertical Operation Period in Each Readout Drive Mode(CSl-22. Frame Rate Adjustment(CSl-23. Image Data Output Format CSl-265Vertical Arbitrary Cropping Function(CSl-2)-69Horizontal Arbitrary Cropping Function(CSl-272Electronic Shutter Timing When Using CSI-2------741. SHR, SVR, SMD Setting When Using CSl-2741-1. SHR, SVR Setting(CSl-2)741-2. Electronic Shutter Drive Mode(Csl-2)752. Integration Time in Each Readout Drive Mode and Mode Changes When Using CSl-2762-1. Integration Time in Each Readout Drive Mode(CSl-2762-2. Operation when Changing the Readout Drive Mode(CSl-2772-3. Low Power Consumption Drive in Integration Time When Using Roll ing Shutter Operation(CSl-2)78Image Data Output Format When Using Sub-LVDS--791. Sync Signals and Data Output Timing(Sub-LVDS)““792. Output Range of LVDS Output Data(Sub-LVDS)Detailed Specification of Each Mode(Sub-LVDS)删mHorizontal/Vertical Operation Period in Each Readout Drive Mode(sub-LVDs)..........2. Frame Rate Adjus咖ment(Sub-LVDS)……3. Image Data Output Format ( Sub-LVDS)Vertical Arbitrary Cropping(Sub-LVDS)Horizontal arbitrary cropping function(Sub-LVDS)----m94Electronic Shutter Timing When Using Sub-LVDS961. SHR, SVR Setting(Sub-LVDS)...962. SVR Operation (Sub-LVDS3. Electronic Shutter Drive Mode( Sub-LVDS)974. Integration Time in Each Readout Drive Mode and mode changes When Using Sub-LVDS984-1. Integration Time in Each Readout Drive Mode(Sub-LVDS984-2. Operation when Changing the Readout Drive Mode(Sub-LVDS994-3. Recommended Global Reset Shutter Operation Sequence(Sub-LVDS)1004-4. Interruptive Mode Change(Sub-LVDS4-5. Low Power Consumption Drive in Exposure Time (Sub-LVDS)…102Power-on/off Sequence when using CSI-2---1031. Power-on Sequence(CS2)……1032. Slew Rate Limitation of Power-on Sequence( CSI-21033. Power-off Sequence(CSl-2104Standby cancel sequence when using csl-2--------------------------105Power-on/off Sequence when using Sub-LVDS1161. Power-on Sequence(Sub-LVDS)1062. Slew Rate Limitation of Power-on Sequence(Sub-LVDS).........1063. Power-off Sequence(Sub-LVDS)107Standby Cancel Sequence(Sub-LVDs)------------108SONYIMX274LQC-CSpot Pixel specifications--109Spot Pixel Zone Definition109Notice on White Pixels SpecificationsMeasurement Method for Spot Pixels1111. Black or white pixels at high light1112. White pixels in the dark.3. Black pixels at signal saturated111Spot Pixel Pattern Specifications----------------m---------------------------------------------------112Stain Specifications---113Stain Zone definition113Stain Measurement method.113Relation between Image height and target Cra-----Marking---------mm---------------115Notes on Handling116Package outline ---118List of Trademark Logos and Definition Statements-------------119SONYIMX274LQC-COptical Center(Top View)Package outline10.70±0.1mmPKG lpinM1A1Optical centerM1010See page TBD Package Outl ine" for detailsOptical CenterPin ConfigurationBottom View)lpin index6666δ画δ尚画○●Bottom viewQ§③¤¤意○○○○○○○○10○o⑦A b CE F GMPin configurationSONYIMX274LQC-CPin DescriptionWhen using CS1-2Pin descriptionState inSymbolOADRemarks(CS|-2Standby modeLeave openA2TEST4ATest(No connectionA3VDDHDa Power a Analog power supply (2.8V)A4VDD SUB PowerAnalog power supply(2.8VA5VDDLSC1PowerD Digital power supply(1.2v)A6VssLSC1GNDDDigital GND(1.2V)A7VDDLPL3 Power D Digital power supply (1.2 V)A8VDDLIFowerDigital power supply(1.2v)Leave openB1TEST5ATest(No connectionB2ssHDA GND A Analog GND (2.8V)B3BIASRESResister connectionB4/BGRCapacitor connectionB5GNDD Digital GND (1B6XCLRReset pulse inputB7VssLPL3GNDDigital GND (1.2VB8 VsSLIF1 GND D Digital GND (1.2V)B9DMO4NDigital MiPl outputLow LevelData lane 4connectionB10DMO4P。DDigital MIPl outputLow LevelData lane 4connectionC1TESt3TestLeave open(No connectionC2XCECannect to 1.8 V power supplyLeave openC3TEST1D(No connectionC4TEST2estLeave open(No connectionC5VDDLPAPowerDDigital power supply(1.2v)C6 VDDLPL2 Power D Digital power supply (1.2V)C7 VssLPL2 GND D Digital GND(1.2V)c9DMO2NDigital MIPl outputLow LevelData lane 2connectionData lane 2C10DMO2PDigital MIPl outputLow LevelconnectionD1XHSDDDDHorizontal sync signal outputIf unused xHsleave openD2SDOlest outputLow Leve/ Leave openNo connectionVertical sync signal outpuf unusedⅩVSDleave openD9DMCKND Digital MIPl outputLow LevelClock laneconnectionD10DMCKPDigital MIPl outputLow levelClock LaneconnectionE1SCLDDDc communication clock inputC communication dataE2SDAOinput/outputSONYIMX274LQC-CPinPin descriptionSymbolADState inRemarksNoCS-2Stand by modeE3VSSLCBGNDDigital GND(1.2 V)E8VssLlF2GNDDigital GND(1.2 V)E9DMO1NE10DMO1POFVDDLSC2 PowerF2VssLSC3 PowerDDDDDDADData lane 1Digital MIPl outputLow LevelconnectionData lane 1Digital MIPI outputLow LevelconnectionDigital power supply (1.2 V)Digital power supply (1.2 v)F3VopHCMPowerAnalog power supply(2.8 V)F8INCKInput clockDMO3NDigital MIPl outputData lane 3Low LevelconnectionF10 DMO3PData lane 3Digital MIPI outputLow LevelconnectionG3VssHCPGNDAAnalog GND (2.8V)G8VssLSC2 GND D Digital GND(1.2V)G9VssMIF2 GNDD Digital GND (1.8VG10VoDMIFPowerDDigital power supply (1.8V)H1VDDLCN GND D Digital GND(1.2V)VsSLCNGNDDigital GND (1.2 VH3VopHCPPowerAnalog power supply(2.8VDLO2P( Pin for Sub-LVDS)Leave open(No connectionH9DLO2M000(Pin for Sub-LVDS)Leave open(No connectiH10DLOOP(Pin for Sub-LVDS)Leave open(No connection)VssHPX3 GND AAnalog GND(2.8 V)J3VoDHPXPowerDLO3PADDDAADDAnalog power supply(2.8 V)(Pin for Sub-LVDS)Leave open(No connectionDLO3MO00(Pin for Sub-LVDS)Leave open(No connection)J10DLOOMD(Pin for Sub-LVDS)eave open(No connection)K2VssLPL 1GNDDDigital GND(1.2V)K3 VDDLPL1 Power D Digital power supply(1.2V)K4VoDMIO Power D Digital power supply(1.8V)K5DLO1M(Pin for Sub-LVDS)Leave open(No connectionDLCKM0b「(Pin for Sub-LVDS)Leave open(No connection)Leave openK7DLCKPD(Pin for Sub-LVDS(No connectionLeave openK8DLO9PD(Pin for Sub-LVDS)(No connectionLeave openK9DLO9M(Pin for Sub-LVDS)(No connectionK10DLO5P(Pin for Sub-LVDS)Leave openNo connection
    2020-12-11下载
    积分:1
  • 696518资源总数
  • 106148会员总数
  • 10今日下载