登录
首页 » Others » 基于stm32和hx711的压力传感器代码

基于stm32和hx711的压力传感器代码

于 2020-06-17 发布
0 186
下载积分: 1 下载次数: 4

代码说明:

单片机是STM32F103ZET6,结合HX711读取压力传感器传输进来的压力值,利用串口送到PC显示

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

发表评论


0 个回复

  • SPH光滑粒子流体动力学中英文都有
    【实例简介】SPH光滑粒子流体动力学中英文都有,中文版本以及英文版的都有,拿去参考吧。光滑粒子流体动力学-一种无网格粒子法 第1章 绪论 1.1 数值模拟 1.1.1 数值模拟的作用 1.1.2 一般数值模拟的求解过程 1.2 基于网格的方法 1.2.1 拉格朗日网格 1.2.2 欧拉网格 1.2.3 拉格朗日网格和欧拉网格的结合 1.2.4 基于网格的数值方法的局限性 1.3 无网格法 1.4 无网格粒子法(MPMS) 1.5 MPMs的求解策略 1.5.1 粒子描述法 1.5.2 粒子近似 1.5.3 MPMS的求解过程 1.6 光滑粒子流体动力学(SPH) 1.6.1 SPH方法 1.6.2 SPH方法简史 1.6.3 本书中的SPH方法 第2章 SPH的概念和基本方程 2.1 SPH的基本思想 2.2 SPH的基本方程 2.2.1 函数的积分表示法 2.2.2 函数的导数积分表示法 2.2.3 粒子近似法 2.2.4 推导SPH公式的一些技巧 2.3 其他基本概念 2.3.1 支持域和影响域 2.3.2 物理影响域 2.3.3 particle—in-cell(PIC)方法 2.4 结论 第3章 光滑函数的构造 3.1 引言 3.2 构造光滑函数的条件 3.2.1 场函数的近似 3.2.2 场函数导数的近似 3.2.3 核近似的连续性 3.2.4 粒子近似的连续性 3.3 构造光滑函数 3.3.1 构造多项式光滑函数 3.3.2 一些相关的问题 3.3.3 光滑函数构造举例 3.4 数值测试 3.5 结论 第4章 SPH方法在广义流体动力学问题中的应用 4.1 引言 4.2 拉格朗日型的Navier—Stokes方程 4.2.1 有限控制体与无穷小流体单元 4.2.2 连续性方程 4.2.3 动量方程 4.2.4 能量方程 4.2.5 Navier-Stokes方程 4.3 用SPH公式解Navier-Stokes方程组 4.3.1 密度的粒子近似法 4.3.2 动量方程的粒子近似法 4.3.3 能量方程的粒子近似法 4.4 流体动力学的SPH数值相关计算 4.4.1 人工粘度 4.4.2 人工热量 4.4.3 物理粘度 4.4.4 可变光滑长度 4.4.5 粒子间相互作用的对称化 4.4.6 零能模式 4.4.7 人工压缩率 4.4.8 边界处理 4.4.9 时间积分 4.5 粒子的相互作用 4.5.1 最近相邻粒子搜索法(NNPS) 4.5.2 粒子对的相互作用 4.6 数值算例 4.6.1 在不可压缩流的应用 4.6.2 在自由表面流的应用 4.6.3 SPH对可压缩流的应用 4.7结论 第5章 非连续的SPH(DSPH) 5.1 引言 5.2修正光滑粒子法 5.2.1一维情况 5.2.2 多维情况 5.3 模拟非连续现象的DSPH公式 5.3.1 DSPH公式 5.3.2 非连续的确定 5.4 数值性能研究 5.5 冲击波的模拟 5.6 结论 第6章 SPH在爆炸模拟中的应用 6.1 引言 6.2 HE爆炸和控制方程 6.2.1 爆炸过程 6.2.2 HE的稳态爆轰 6.2.3 控制方程 6.3 SPH公式 6.4 光滑长度 6.4.1 粒子的初始分布 6.4.2 光滑长度的更新 6.4.3 优化和松弛过程 6.5 数值算例 6.6 应用SPH方法模拟锥孔炸药 6.7 结论 第7章 SPH在水下爆炸冲击模拟中的应用 7.1 引言 7.2 水下爆炸和控制方程 7.2.1 水下爆炸冲击的物理特性 7.2.2 控制方程 7.3 SPH公式 7.4 交界面处理 7.5 数值算例 7.6 真实爆炸模型与人工爆炸模型的比较研究 7.7 水介质缓冲模拟 7.7.1 背景 7.7.2 模拟设置 7.7.3 模拟结果 7.7.4 小结 7.8 结论 第8章 SPH方法在具有材料强度的动力学中的应用 8.1 引言 8.2 具有材料强度的动力学 8.2.1 控制方程 8.2.2 本构模型 8.2.3 状态方程 8.2.4 温度 8.2.5 声速 8.3 具有材料强度的动力学SPH公式 8.4 张力不稳定问题 8.5 自适应光滑粒子流体动力学(ASPH) 8.5.1 为什么需要ASPH方法 8.5.2 ASPH的主要思想 8.6 对具有材料强度的动力学的应用 8.7 结论 第9章 与分子动力学耦合的多尺度模拟 9.1 引言 9.2 分子动力学 9.2.1 分子动力学的基本原理 9.2.2 经典分子动力学 9.2.3 经典MD模拟 9.2.4 Poiseuille流的MD模拟 9.3 MD与FEM和FDM的耦合 9.4 MD与SPH的耦合 9.4.1 模型I:双重功能(具有重叠区域的模型) 9.4.2 模型Ⅱ:力桥(没有重叠区域的模型) 9.4.3
    2021-11-18 00:46:04下载
    积分:1
  • GPS惯性导航组合
    GPS惯性导航组合,随书的程序代码,可以验证相关理论
    2020-12-11下载
    积分:1
  • 灵敏度分析使用MATLAB写完成
    灵敏度分析matlab代码编写,运筹学中的灵敏度分析的求解均可用此方法
    2020-12-06下载
    积分:1
  • 基于超声波的汽车防撞报警系统的设计.rar
    【实例简介】基于超声波的汽车防撞报警系统的设计:包括了硬件和软件的设计,用了protel,proteus,keil等软件编写。用的单片机实现的。
    2021-12-01 00:39:09下载
    积分:1
  • SVT谷歌街景数据集
    svt有112M,这里分成两部分上传。这是第1部分。
    2021-05-07下载
    积分:1
  • 《网络安全开发包详解》+ 源代码
    《网络安全开发包详解》是电子工业出版社出版的 刘文涛编著 包含了书中的源代码基于socket的网络编程已成为当今不可替代的编程方法,它将网络通讯当作文件描述符进行处理,把对这个“网络文件”(即socket套接字)的操作抽象成一种类似于文件操作的方式进行。从实现细节上,这种工作方式根据TCP/IP的网络通讯模型,封装了一系列的实现,使得我们只需要使用一个指定的参数,就可以实现在基于所需协议的数据的发送和接收。
    2020-12-10下载
    积分:1
  • 平面变压器3D仿真资料
    采用COMSOL软件,对平面变压器的仿真过程进行叙述,让大家了解平面变压器的仿真流程,是个很好的指导教材Solved with COMSOL Multiphysics 5.0Results and discussionThe magnetostatic analysis yields an inductance of 0. 1l mH and a dc resistance of0. 29 mQ2. Figure 2 shows the magnetic flux density norm and the electric potentialdistributionvolume: Coil potentiaL()Volume: Magnetic flux density norm (t▲0.07▲2.88×10-42.51.50.03050.01V656×107v0igure 2: Magnetic flux density norm and electric potential distribution for themagnetostatic analysisIn the static (DC) limit, the potential drop along the winding is purely resistive andcould in principle be computed separately and before the magnetic flux density iscomputed. When increasing the frequency, inductive effects start to limit the currentand skin effect makes it increasingly difficult to resolve the current distribution in thewinding. At sufficiently high frequency, the current is mainly flowing in a thin layernear the conductor surface. When increasing the frequency further. capacitive effectscome into play and current is flowing across the winding as displacement currentdensity. When going through the resonance frequency, the device goes from behavingas an inductor to become predominantly capacitive. At the self resonance, the resistivelosses peak due to the large internal currents Figure 4 shows the surface current3 MODELING OF A 3D INDUCTORSolved with COMSOL Multiphysics 5.0distribution atl MHz. Typical for high frequency the currents are displaced towardsthe edges of the conductor.freq(1)=1.0000E6_Surfaee: Surface-current density norm (A/)▲18618Q16010¥1.02Figure 3: Surface current density at I MHz (below the resonance frequency)Figure 4 shows how the resistive part of the coil impedance peaks at the resonancefrequency near 6MHz whereas Figure 5 shows how the reactive part of the coiimpedance changes sign and goes from inductive to capacitive when passing throughthe resonance4 MODELING OFA3DINDUCTORSolved with COMSOL Multiphysics 5.0Global: Lumped port impedance(Q2)d port impedance7.5G6.583275655545352510.10.20.30.40.509igure 4: Real part of the electric potential distribution5 MODELING OF A INDUCTORSolved with COMSOL Multiphysics 5.0Global: Lumped port impedance(Q2)35000Lumped port impedance200001000050000500010000-1500020000250000.10.20.30.40.50.60.70.809Figure 5: The reactive part of the coil impedance changes sign hen passing through theresonance frequency, going from inductive to capacitiveModel library path: ACDC_Module/Inductive_ Devices_and_coils/inductor 3dFrom the file menu. choose newNEWI In the new window click model wizardMODEL WIZARDI In the model wizard window click 3D2 In the Select physics tree, select AC/DC> Magnetic Fields(mf)3 Click Add4 Click StudyMODELING OF A3D NDUCTORSolved with COMSOL Multiphysics 5.05 In the Select study tree, select Preset Studies>StationaryGEOMETRYThe main geometry is imported from file. Air domains are typically not part of a CaDgeometry so they usually have to be added later. For convenience three additionaldomains have been defined in the CAd file. These are used to define a narrow feed gapwhere an excitation can be appliedport l(impl)I On the model toolbar, click Import2 In the Settings window for Import, locate the Import section3 Click Browse4 Browse to the models model library folder and double-click the filenductor 3d. mphbinSphere /(sphl)I On the Geometry toolbar, click Sphere2 In the Settings window for Sphere, locate the Size section3 In the Radius text field, type 0.2ick to expand the Layers section. In the table, enter the following settingsLayer nameThickness(m)ayer0.055 Click the Build All Objects buttonForm Union(fin)i On the Geometry toolbar, click Build AllClick the Zoom Extents button on the Graphics toolbar7 MODELING OF A 3D INDUCTORSolved with COMSOL Multiphysics 5.03 Click the Wireframe Rendering button on the Graphics toolbarThe geometry should now look as in the figure below0.1-0.10.20.0.0.1y0.0.2Next, define selections to be used when setting up materials and physics Start bdefining the domain group for the inductor winding and continue by adding otheruseful selectionsDEFINITIONSExplicitI On the Definitions toolbar, click Explicit2 In the Settings window for Explicit, in the Label text field, type Winding3 Select Domains 7,8 and 14 onlyI On the Definitions toolbar, click Explicit2 In the Settings window for Explicit, in the Label text field, type Gap3 Select domain 9 onlI On the Definitions toolbar, click Explicit8 MODELING OF A3DINDUCTORSolved with COMSOL Multiphysics 5.02 In the Settings window for Explicit, in the Label text field, type core3 Select Domain 6 onlyExplicit 4I On the Definitions toolbar, click Explicit2 In the Settings window for Explicit, in the Label text field, type InfiniteElements3 Select Domains 1-4 and 10-13 onlyExplicit 5I On the Definitions toolbar, click Explicit2 In the Settings window for Explicit, in the Label text field, type Non-conducting3 Select Domains 1-6 and 9-13 onlyI On the Definitions toolbar, click Explicit2 In the Settings window for Explicit, in the Label text field, type Non-conductingwithout Ie3 Select Domains 5, 6, and 9 only.Infinite Element Domain /(iel)Use infinite elements to emulate an infinite open space surrounding the inductorI On the definitions toolbar click Infinite element domain2 In the Settings window for Infinite Element Domain, locate the Domain Selectionsection3 From the Selection list. choose Infinite Elements4 Locate the Geometry section From the Type list, choose SphericalNext define the material settingsADD MATERIALI On the Model toolbar, click Add Material to open the add Material window2 Go to the Add material window3 In the tree, select AC/DC>Copper.4 Click Add to Component in the window toolbar9 MODELING OF A 3D INDUCTORSolved with COMSOL Multiphysics 5.0MATERIALSCopper(mat/)I In the Model Builder window, under Component I(comp l)>Materials click Copper(matD)2 In the Settings window for Material, locate the Geometric Entity Selection section3 From the Selection list, choose windingADD MATERIALI Go to the Add Material window2 In the tree. select built-In>Air3 Click Add to Component in the window toolbarMATERIALSAir(mat2I In the Model Builder window, under Component I(comp l)>Materials click Air(mat2)2 In the Settings window for Material, locate the Geometric Entity Selection section3 From the Selection list, choose Non-conductingThe core material is not part of the material library so it is entered as a user-definedmateriaMaterial 3(mat3)I In the Model Builder window, right-click Materials and choose Blank Material2 In the Settings window for Material, in the Label text field, type Core3 Locate the geometric Entity Selection section4 From the selection list choose Core5 Locate the Material Contents section. In the table, enter the following settingsPropertName Value Unit Property groupElectrical conductivity sigma0S/IBasicRelative permittivity epsilonrBasicRelative permeability mur1e3Basic6 On the model toolbar. click Add Material to close the Add Material windowMAGNETIC FIELDS (MF)Select Domains 1-8 and 10-14 only0MODELING OF A 3D INDUCTOR
    2020-12-10下载
    积分:1
  • Altium Designer 14.2.3
    http://www.baoit.com/Altium/np_view.asp?id=5&dhs=d02Altium Designer 14着重关注PCB核心设计技术,提供以客户为中心的全新平台,进一步夯实了Altium在原生3D PCB设计系统领域的领先地位。Altium Designer现已支持软性和软硬复合设计,将原理图捕获、3D PCB布线、分析及可编程设计等功能集成到单一的一体化解决方案中。图2:Altium Designer 14支持软性和软硬复合设计Altium Designer 14独特的原生3D视觉支持技术,可以在更小、更流动的空间内加速处理和通信过程,从而实现
    2020-12-08下载
    积分:1
  • 文字转语音神器
    文字转语音神器 文字转语音神器文字转语音神器文字转语音神器文字转语音神器
    2020-12-07下载
    积分:1
  • 图像复原 逆滤波复原法 维纳滤波复原法 去除由匀速运动引起的模糊
    图像复原 逆滤波复原法 维纳滤波复原法 去除由匀速运动引起的模糊
    2020-11-05下载
    积分:1
  • 696518资源总数
  • 105151会员总数
  • 4今日下载