矿石收音机论坛

 找回密码
 加入会员

QQ登录

只需一步,快速开始

搜索
查看: 2811|回复: 9

100个常用Arduino传感器库

[复制链接]
     
发表于 2023-9-25 21:56:21 | 显示全部楼层 |阅读模式
本帖最后由 radio988931 于 2023-9-25 22:00 编辑

单片机 arduino 需要库文件,库文件大家可能都有收藏,网络下载也很方便。
转载部分常用传感器库文件链接,以作备用方便查找下载。需要的朋友收藏点赞


100个常用Arduino传感器库
DHT11温湿度传感器库:https://github.com/adafruit/DHT-sensor-library
MQ-2气体传感器库:https://github.com/GeorgK/MQ2
DS18B20温度传感器库:https://github.com/milesburton/A ... ure-Control-Library
BMP180气压传感器库:https://github.com/adafruit/Adafruit-BMP085-Library
HC-SR04超声波传感器库:https://github.com/JRodrigoTech/Ultrasonic-HC-SR04
MPU6050加速度计/陀螺仪库:https://github.com/jrowberg/i2cdevlib/tree/master/Arduino/MPU6050
ADXL345加速度计库:https://github.com/adafruit/Adafruit_ADXL345
TCS3200颜色传感器库:https://github.com/adafruit/Adafruit_TCS3200
MAX30102心率传感器库:https://github.com/sparkfun/SparkFun_MAX3010x_Sensor_Library
MLX90614红外温度传感器库:https://github.com/adafruit/Adafruit-MLX90614-Library
BH1750光强度传感器库:https://github.com/claws/BH1750
INA219电流/电压传感器库:https://github.com/adafruit/Adafruit_INA219
TSL2561光强度传感器库:https://github.com/adafruit/TSL2561-Arduino-Library
HMC5883L磁力计库:https://github.com/jarzebski/Arduino-HMC5883L
L3G4200D陀螺仪库:https://github.com/pololu/l3g-arduino
MCP3008模数转换器库:https://github.com/nodesign/MCP3008
PCF8574 IO扩展器库:https://github.com/RobTillaart/A ... r/libraries/PCF8574
74HC595移位寄存器库:https://github.com/arduino-libraries/ShiftRegister74HC595
LM35温度传感器库:https://github.com/RobTillaart/LM35
MQ-3酒精传感器库:https://github.com/GeorgK/MQ3
MQ-7一氧化碳传感器库:https://github.com/GeorgK/MQ7
MQ-135空气质量传感器库:https://github.com/GeorgK/MQ135
TTP229触摸按键库:https://github.com/avishorp/TTP229-Arduino-Library
BME280温湿度气压传感器库:https://github.com/adafruit/Adafruit_BME280_Library
TCS34725颜色传感器库:https://github.com/adafruit/Adafruit_TCS34725
DS3231实时时钟库:https://github.com/adafruit/RTClib
MCP23017 IO扩展器库:https://github.com/adafruit/Adafruit-MCP23017-Arduino-Library
MAX7219 LED驱动库:https://github.com/wayoda/LedControl
INA219电流/电压传感器库:https://github.com/adafruit/Adafruit_INA219
MCP4725 DAC库:https://github.com/adafruit/Adafruit_MCP4725
ADS1115 ADC库:https://github.com/adafruit/Adafruit_ADS1X15
PCF8591 ADC/DAC库:https://github.com/adafruit/Adafruit-PCF8591-Library
HX711称重传感器库:https://github.com/bogde/HX711
TCS3200颜色传感器库:https://github.com/adafruit/Adafruit_TCS3200
ADS1015 ADC库:https://github.com/adafruit/Adafruit_ADS1X15
DS1307实时时钟库:https://github.com/PaulStoffregen/DS1307RTC
TPA81红外热像仪库:https://github.com/adafruit/TPA81
GY-521加速度计/陀螺仪库:https://github.com/jrowberg/i2cdevlib/tree/master/Arduino/MPU6050
MCP3428 ADC库:https://github.com/adafruit/Adafruit_MCP3428
L298N电机驱动库:https://github.com/adafruit/Adafruit_Motor_Shield_V2_Library
TB6612FNG电机驱动库:https://github.com/pololu/dual-vnh5019-motor-shield
PCA9685 PWM驱动库:https://github.com/adafruit/Adafruit-PWM-Servo-Driver-Library
SSD1306 OLED显示屏库:https://github.com/adafruit/Adafruit_SSD1306
SH1106 OLED显示屏库:https://github.com/olikraus/u8g2
ST7735 TFT显示屏库:https://github.com/adafruit/Adafruit-ST7735-Library
ILI9341 TFT显示屏库:https://github.com/adafruit/Adafruit_ILI9341
WS2812B RGB LED库:https://github.com/FastLED/FastLED
PCA9685 RGB LED库:https://github.com/adafruit/Adafruit-PWM-Servo-Driver-Library
MAX7219 LED点阵库:https://github.com/wayoda/LedControl
TM1637 7段数码管库:https://github.com/avishorp/TM1637
DS1302实时时钟库:https://github.com/msparks/arduino-ds1302
LDR光敏电阻库:https://github.com/adafruit/Adafruit-Photoresistor
TSL2561光强度传感器库:https://github.com/adafruit/TSL2561-Arduino-Library
BH1750光强度传感器库:https://github.com/claws/BH1750
MQ-9可燃气体传感器库:https://github.com/GeorgK/MQ9
MQ-5可燃气体传感器库:https://github.com/GeorgK/MQ5
MQ-8可燃气体传感器库:https://github.com/GeorgK/MQ8
MQ-4可燃气体传感器库:https://github.com/GeorgK/MQ4
MQ-6可燃气体传感器库:https://github.com/GeorgK/MQ6
MQ-135空气质量传感器库:https://github.com/GeorgK/MQ135
MQ-2气体传感器库:https://github.com/GeorgK/MQ2
MQ-3酒精传感器库:https://github.com/GeorgK/MQ3
MQ-7一氧化碳传感器库:https://github.com/GeorgK/MQ7
MQ-8可燃气体传感器库:https://github.com/GeorgK/MQ8
MQ-9可燃气体传感器库:https://github.com/GeorgK/MQ9
MQ-135空气质量传感器库:https://github.com/GeorgK/MQ135
MQ-5可燃气体传感器库:https://github.com/GeorgK/MQ5
MQ-4可燃气体传感器库:https://github.com/GeorgK/MQ4
MQ-6可燃气体传感器库:https://github.com/GeorgK/MQ6
MQ-135空气质量传感器库:https://github.com/GeorgK/MQ135
MQ-2气体传感器库:https://github.com/GeorgK/MQ2
MQ-3酒精传感器库:https://github.com/GeorgK/MQ3
MQ-7一氧化碳传感器库:https://github.com/GeorgK/MQ7
MQ-8可燃气体传感器库:https://github.com/GeorgK/MQ8
MQ-9可燃气体传感器库:https://github.com/GeorgK/MQ9
MQ-135空气质量传感器库:https://github.com/GeorgK/MQ135
MQ-5可燃气体传感器库:https://github.com/GeorgK/MQ5
MQ-4可燃气体传感器库:https://github.com/GeorgK/MQ4
MQ-6可燃气体传感器库:https://github.com/GeorgK/MQ6
MQ-135空气质量传感器库:https://github.com/GeorgK/MQ135
MQ-2气体传感器库:https://github.com/GeorgK/MQ2
MQ-3酒精传感器库:https://github.com/GeorgK/MQ3
MQ-7一氧化碳传感器库:https://github.com/GeorgK/MQ7
MQ-8可燃气体传感器库:https://github.com/GeorgK/MQ8
MQ-9可燃气体传感器库:https://github.com/GeorgK/MQ9
MQ-135空气质量传感器库:https://github.com/GeorgK/MQ135
MQ-5可燃气体传感器库:https://github.com/GeorgK/MQ5
MQ-4可燃气体传感器库:https://github.com/GeorgK/MQ4
MQ-6可燃气体传感器库:https://github.com/GeorgK/MQ6
MQ-135空气质量传感器库:https://github.com/GeorgK/MQ135
MQ-2气体传感器库:https://github.com/GeorgK/MQ2
MQ-3酒精传感器库:https://github.com/GeorgK/MQ3
MQ-7一氧化碳传感器库:https://github.com/GeorgK/MQ7
MQ-8可燃气体传感器库:https://github.com/GeorgK/MQ8
MQ-9可燃气体传感器库:https://github.com/GeorgK/MQ9
MQ-135空气质量传感器库:https://github.com/GeorgK/MQ135
MQ-5可燃气体传感器库:https://github.com/GeorgK/MQ5
MQ-4可燃气体传感器库:https://github.com/GeorgK/MQ4
MQ-6可燃气体传感器库:https://github.com/GeorgK/MQ6
MQ-135空气质量传感器库:https://github.com/GeorgK/MQ135

100个常用Arduino传感器库.zip

1.56 KB, 下载次数: 142

评分

2

查看全部评分

     
 楼主| 发表于 2023-9-25 22:08:01 | 显示全部楼层
自顶一下
回复 支持 反对

使用道具 举报

     
发表于 2023-9-25 22:18:36 | 显示全部楼层
不是说库不好,而是刚抓了用 github 写代码的:

https://new.qq.com/rain/a/20230925A03E5100

1.png
回复 支持 反对

使用道具 举报

     
发表于 2023-9-25 22:18:56 | 显示全部楼层
习惯自己写底层驱动,知根知底,调试也方便,测试成功后可以备用,以后需要直接拿来用

评分

1

查看全部评分

回复 支持 反对

使用道具 举报

     
 楼主| 发表于 2023-9-25 22:34:00 | 显示全部楼层
iffi123 发表于 2023-9-25 22:18
习惯自己写底层驱动,知根知底,调试也方便,测试成功后可以备用,以后需要直接拿来用

自己能写当然最好,对于菜鸟玩arduino只能用现成的。
回复 支持 反对

使用道具 举报

     
 楼主| 发表于 2023-9-25 22:36:17 | 显示全部楼层
t3486784401 发表于 2023-9-25 22:18
不是说库不好,而是刚抓了用 github 写代码的:

https://new.qq.com/rain/a/20230925A03E5100

两回事, github 只是仓库而已。
回复 支持 反对

使用道具 举报

     
发表于 2023-9-25 22:41:02 | 显示全部楼层
提示: 作者被禁止或删除 内容自动屏蔽
回复 支持 反对

使用道具 举报

     
发表于 2023-9-25 22:59:55 | 显示全部楼层
很好,感谢分享!
回复 支持 反对

使用道具 举报

     
发表于 2023-9-27 11:25:30 | 显示全部楼层
感谢分享,收藏。
回复 支持 反对

使用道具 举报

     
发表于 2023-9-30 10:16:23 | 显示全部楼层
收藏了。
谢谢楼主分享!
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 加入会员

本版积分规则

小黑屋|手机版|矿石收音机 ( 蒙ICP备05000029号-1 )

蒙公网安备 15040402000005号

GMT+8, 2025-4-27 23:54

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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