【Arduino】108种传感器模块系列实验(48)-三轴ADXL345模块-Arduino爱好者 - Powered by Discuz!

Arduino爱好者

 找回密码
 立即注册

QQ登录

只需一步,快速开始

查看: 53902|回复: 134

[经验] 【Arduino】108种传感器模块系列实验(48)---三轴ADXL345模块

[复制链接]
发表于 2019-7-3 09:44 | 显示全部楼层 |阅读模式
本帖最后由 eagler8 于 2019-8-30 08:18 编辑

37款传感器与模块的提法,在网络上广泛流传,其实Arduino能够兼容的传感器模块肯定是不止37种的。鉴于本人手头积累了一些传感器和模块,依照实践出真知(一定要动手做)的理念,以学习和交流为目的,这里准备逐一动手试试做实验,不管成功与否,都会记录下来---小小的进步或是搞不定的问题,希望能够抛砖引玉。

【Arduino】108种传感器模块系列实验(资料+代码+图形+仿真)

实验四十八:GY-291 数字三轴重力加速度倾斜度模块 (IIC/SPI传输)

ADXL345
ADXL345是一款小而薄的低功耗3轴加速度计,分辨率高(13位),测量范围达±16g。数字输出数据为16位二进制补码格式,可通过SPI(3线或4线)或I2C数字接口访问。ADXL345非常适合移动设备应用。它可以在倾斜检测应用中测量静态重力加速度,还可以测量运动或冲击导致的动态加速度。其高分辨率(4 mg/LSB),能够测量不到1.0°的倾斜角度变化。该器件提供多种特殊检测功能。活动和非活动检测功能检测有无运动发生,以及任意轴上的加速度是否超过用户设置的限值。敲击检测功能可以检测单击和双击动作。自由落体检测功能可以检测器件是否正在掉落。这些功能可以映射到两个中断输出引脚中的一个。正在申请专利的32级先进先出(FIFO)缓冲器可用于存储数据,最大程度地减少主机处理器的干预。低功耗模式支持基于运动的智能电源管理,从而以极低的功耗进行阈值感测和运动加速度测量。

ADXL345采用3 mm × 5 mm × 1 mm、14引脚小型超薄塑料封装。
0-.jpg

 楼主| 发表于 2019-7-5 06:25 | 显示全部楼层
本帖最后由 eagler8 于 2019-7-12 05:59 编辑

Arduino 系列传感器和模块实验目录清单:

一块扩展板完成Arduino的9类18项实验(代码+图形+仿真)
https://www.arduino.cn/thread-88696-1-1.html
实验一:干簧管传感器模块
https://www.arduino.cn/thread-86350-1-1.html
实验二:光敏电阻传感器模块
https://www.arduino.cn/thread-86393-1-1.html
实验三:微波雷达感应开关模块
https://www.arduino.cn/thread-86397-1-1.html
实验四:振动传感器模块
https://www.arduino.cn/thread-86512-1-1.html
实验五:热敏电阻温度传感器模块
https://www.arduino.cn/thread-86520-1-1.html
实验六:KY-038高感度声音传感器模块
https://www.arduino.cn/thread-86576-1-1.html
实验七:旋转电位器模块
https://www.arduino.cn/thread-86866-1-1.html
实验八:湿度传感器模块
https://www.arduino.cn/thread-87993-1-1.html
实验九:火焰(红外线)传感器模块
https://www.arduino.cn/thread-88283-1-1.html
实验十:敲击传感器模块KY-031
https://www.arduino.cn/thread-88401-1-1.html
实验十一:金属触摸传感器模块KY-36
https://www.arduino.cn/thread-88422-1-1.html
实验十二:开关霍尔磁力传感器模块
https://www.arduino.cn/thread-88461-1-1.html
实验十三:触摸传感器模块
https://www.arduino.cn/thread-88523-1-1.html
实验十四:倾斜传感器模块(角度开关)
https://www.arduino.cn/thread-88530-1-1.html
实验十五:手指侦测心跳传感器模块KY-039
https://www.arduino.cn/thread-88557-1-1.html
实验十六:电容式数字触摸传感器模块(TTP223 )
https://www.arduino.cn/thread-88567-1-1.html
实验十七:HC-SR312微型热释电传感器模块
https://www.arduino.cn/thread-88578-1-1.html
实验十八:0.25W太阳能滴胶板传感器模块(45X45毫米)
https://www.arduino.cn/thread-88669-1-1.html
实验十九:常闭型SW-420震动开关传感器模块
https://www.arduino.cn/thread-88672-1-1.html
实验二十:水银开关传感器模块(KY-017)
https://www.arduino.cn/thread-88787-1-1.html
实验二十一:激光头传感器模块(KY-008)
https://www.arduino.cn/thread-88842-1-1.html
实验二十二:MAX7219点阵显示模块(8X8 LED共阴)
https://www.arduino.cn/thread-88851-1-1.html
实验二十三:NE555频率可调脉冲发生器模块(方波简版)
https://www.arduino.cn/thread-88867-1-1.html
实验二十四:水位水滴传感器模块(Water Sensor)
https://www.arduino.cn/thread-88886-1-1.html
实验二十五:MQ-2气敏式烟雾传感器模块(甲烷等)
https://www.arduino.cn/thread-88906-1-1.html
实验二十六:4X4矩阵键盘模块(轻触式按键)
https://www.arduino.cn/thread-88966-1-1.html
实验二十七:GY-BMP280-3.3 高精度大气压强传感器模块
https://www.arduino.cn/thread-89010-1-1.html
实验二十八:三色5050 RGB全彩LED模块 KY-009
https://www.arduino.cn/thread-89022-1-1.html
实验二十九:DS1302实时时钟模块(带电池  掉电走时)
https://www.arduino.cn/thread-89070-1-1.html
实验三十:光敏二极管传感器模块(英语photodiode )
https://www.arduino.cn/thread-89129-1-1.html
实验三十一:ISD1820录音语音模块(8-20秒)
https://www.arduino.cn/thread-89154-1-1.html
实验三十二:雨滴传感器模块(雨水/雨量/叶面湿度)
https://www.arduino.cn/thread-89184-1-1.html
实验三十三:ESP8266串口WIFI收发无线模块 (ESP-01S)
https://www.arduino.cn/thread-89245-1-1.html
实验三十四:三色LED交通灯模块(红绿黄灯)
https://www.arduino.cn/thread-89273-1-1.html
实验三十五:模拟量声音传感器模块(4线制)
https://www.arduino.cn/thread-89289-1-1.html
实验三十六:WS2812B智能外控集成LED四位彩灯模块
https://www.arduino.cn/thread-89297-1-1.html
实验三十七:MQ-3酒精乙醇传感器模块
https://www.arduino.cn/thread-89300-1-1.html
实验三十八:joystick双轴XY按键摇杆模块(游戏控制杆)
https://www.arduino.cn/thread-89365-1-1.html
实验三十九:DS18B20单总线数字温度传感器模块
https://www.arduino.cn/thread-89368-1-1.html
实验四十:360度旋转增量编码器模块(KY-040)
https://www.arduino.cn/thread-89427-1-1.html
实验四十一:IS0203激光接收管传感器模块
https://www.arduino.cn/thread-89428-1-1.html
实验四十二:DSM501A韩国PM2.5灰尘粉尘传感器模块
https://www.arduino.cn/thread-89441-1-1.html
实验四十三:5V低电平触发单路继电器模块
https://www.arduino.cn/thread-89445-1-1.html
实验四十四:类比霍尔磁性传感器 KY-035(模拟量)
https://www.arduino.cn/thread-89464-1-1.html
实验四十五:红外避障传感器模块(光电接近开关)
https://www.arduino.cn/thread-89473-1-1.html
实验四十六:350Ω高精度电阻式应变片传感器 (BF350)
https://www.arduino.cn/thread-89474-1-1.html
实验四十七:七段LED数码管模块(共阴/共阳)
https://www.arduino.cn/thread-89475-1-1.html
实验四十八:GY-291三轴重力加速度模块 (IIC/SPI传输)
https://www.arduino.cn/thread-89567-1-2.html
实验四十九:有源蜂鸣器报警器发声模块(低电平触发)
https://www.arduino.cn/thread-89568-1-2.html
实验五十:W25Q64 FLASH外扩存储模块 (SPI接口 )
https://www.arduino.cn/thread-89570-1-2.html
实验五十一:自锁点动触摸按键传感器模块(TTP223芯片)
https://www.arduino.cn/thread-89721-1-1.html
实验五十二:SPI接口Micro SD卡模块(带电平转换芯片)
https://www.arduino.cn/thread-89729-1-1.html
实验五十三: 土壤湿度水分传感器模块(电阻式)
https://www.arduino.cn/thread-89734-1-1.html
实验五十四: 大按键点动轻触开关模块(高电平输出)
https://www.arduino.cn/thread-89785-1-1.html
实验五十五:DHT11 温湿度传感器(数字型单总线通信)
https://www.arduino.cn/thread-89786-1-1.html
实验五十六: 8路LED流水的灯跑马灯模块SUNLEPHANT
https://www.arduino.cn/thread-89832-1-1.html
实验五十七: 四档频率占空比可调矩形波信号发生器(NE555)
https://www.arduino.cn/thread-89868-1-1.html
实验五十八: HC-SR04超声波测距传感器模块(5针宽电压)
https://www.arduino.cn/thread-89869-1-1.html
实验五十九: RS232转TTL2代串口模块刷机板(MAX3232)
https://www.arduino.cn/thread-89895-1-1.html
实验六十:ATTINY85 Digispark kickstarter 微型usb开发板
https://www.arduino.cn/thread-89898-1-1.html
 楼主| 发表于 2019-7-5 11:33 | 显示全部楼层
0.jpg
 楼主| 发表于 2019-7-5 12:28 | 显示全部楼层
0-.jpg
 楼主| 发表于 2019-7-5 12:36 | 显示全部楼层
01- (1).jpg
 楼主| 发表于 2019-7-5 13:15 | 显示全部楼层
主要特性
超低功耗:V S = 2.5 V 时(典型值),测量模式下低至23ì A ,
待机模式下为0.1μA
功耗随带宽自动按比例变化
用户可选的分辨率
10 位固定分辨率
全分辨率,分辨率随g范围提高而提高,± 16g 时高达13 位
(在所有g范围内保持4 mg/L S B 的比例系数)
正在申请专利的嵌入式存储器管理系统采用FI FO 技术,可将
主机处理器负荷降至最低
单振/双振检测
活动/非活动监控
自由落体检测
电源电压范围:2.0 V 至3.6 V
I / O电压范围:1.7 V 至V S
S PI (3线和4线)和I 2 C数字接口
灵活的中断模式,可映射到任一中断引脚
通过串行命令可选测量范围
通过串行命令可选带宽
宽温度范围(- 40° C 至+ 85 ℃)
抗冲击能力:10, 000 g
无铅/符合Ro HS标准
01--.jpg

 楼主| 发表于 2019-7-5 13:50 | 显示全部楼层
本帖最后由 eagler8 于 2019-12-20 07:51 编辑

工作原理
ADXL345是一款完整的3轴加速度测量系统,可选择的测量范围有±2 g,±4 g,±8 g或±16 g。既能测量运动或冲击导致的动态加速度,也能测量静止加速度,例如重力加速度,使得器件可作为倾斜传感器使用。该传感器为多晶硅表面微加工结构,置于晶圆顶部。由于应用加速度,多晶硅弹簧悬挂于晶圆表面的结构之上,提供力量阻力。差分电容由独立固定板和活动质量连接板组成,能对结构偏转进行测量。加速度使惯性质量偏转、差分电容失衡,从而传感器输出的幅度与加速度成正比。相敏解调用于确定加速度的幅度和极性。
02- (1).jpg


 楼主| 发表于 2019-7-5 14:04 | 显示全部楼层
02.jpg
 楼主| 发表于 2019-7-5 14:15 | 显示全部楼层
03.jpg
 楼主| 发表于 2019-7-5 14:24 | 显示全部楼层
ADXL345三轴加速度模块
采用ADXL345芯片,具有体积小,功耗低的特点,13位数字精度分辨能够测量超过±16g的加速度变换。信号输出为16位数字输出,可以通过SPI与I2C接口实现信号采集。ADXL345适用于倾斜角度测量,能够进行静态重力加速度检测。同时也适用于运动状态的追踪,测量运动或冲击过程造成的瞬时加速度。其高分辨率(4mg/LSB)使之能够感应变化小于1°的倾斜角度。ADXL345三轴加速度计还内置一款LDO模块让你的加速度计能够工作于3.3~6v的工作电压之下。同时传感器提供了几个特殊的功能。能够在静态或动态情况下检测是否有运动或停止出现,另外能够感知单轴的加速度值是否超出用户的设定值。检测单击/双击。如果该设备正在下降,能进行自由落体感应检测。这些功能能够被映射到两个中断输出引脚上。在低功耗模式是用户能够基于ADXL345动作感应,进行电源管理,同时只损耗极低的功耗。

05 (1).jpg

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

小黑屋|Archiver|手机版|好玩手机游戏盒子|196体育|Arduino爱好者

GMT+8, 2023-9-27 00:22 , Processed in 0.095118 second(s), 18 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表