随笔- 1525
文章- 2
评论- 66
阅读-
128万
随笔分类 - 6_1_DIY项目集合
语音合成模块
摘要:https://item.taobao.com/item.htm?spm=a1z09.2.0.0.18d92e8dUPCAIr&id=577428231876&_u=91qf7bf55821 https://www.107000.com/T-Hex/ #include <SoftwareSerial
阅读全文
树莓派 python 直接控制sg90舵机
摘要:必须是sg90s 金属齿轮的 塑料sg90不知道为什么不行 import RPi.GPIO as GPIO import time servoPIN = 17#GPIO口 GPIO.setmode(GPIO.BCM) GPIO.setup(servoPIN, GPIO.OUT) p = GPIO.P
阅读全文
卡尔曼滤波(2-1) 实践使用例子和代码 ardunio mpu6050求横滚和俯仰角度
摘要:代码 https://github.com/TKJElectronics/KalmanFilter 原理剖析 原理2 卡尔曼融合滤波 https://zhuanlan.zhihu.com/p/36374943 关键点 1 他的偏置和噪声方程 根据经验给了数值 经过验证,初始参数设置为以下值时适用于大
阅读全文
arduino统计一段时间内传感器数据时间
摘要:上电 按键开始 按键结束 #include "DHT.h" #define DHTPIN 4 // Digital pin connected to the DHT sensor #define DHTTYPE DHT11 // DHT 11 #define LightPIN A0 #define
阅读全文
Ubuntu读取PixHawk硬件的IMU&GPS数据
摘要:https://zhuanlan.zhihu.com/p/553586546 我们需要将TELEM2端口通过USB转TTL连接到电脑,其接线如下图所示。TELEM2从上到下的线序为:GND、TXD、RXD、5V。GND往下的两根线不用接,更加详细的线序可以去参考官网的。
阅读全文
树莓派红外测温
摘要:https://blog.csdn.net/Hao_ge_666/article/details/117170782 接好线之后 首先安装IIC库(这个一般树莓派操作系统自带) sudo apt install i2c-tools 再装专门为python的smbus sudo apt install
阅读全文
ESP32模拟鼠标键盘
摘要:淘宝产品 https://item.taobao.com/item.htm?spm=a230r.1.14.26.283812desb4ou0&id=669444818599&ns=1&abbucket=5#detail 硬件手册 https://docs.qq.com/doc/DVlVyZUZjcV
阅读全文
python opencv画矩形框保存xml和读取显示
摘要:参考 图书馆空位检测(行人+空位对比) https://www.cnblogs.com/gooutlook/p/16192389.html 使用到的原始图像 1鼠标选择画框 API_draw.py # -*- coding: utf-8 -*- import copy import cv2 impo
阅读全文
arduino赌气气压计显示oled
摘要:1气压计 #include <Adafruit_BMP085.h> Adafruit_BMP085 bmp; void setup() { Serial.begin(9600); if (!bmp.begin()) { Serial.println("Could not find a valid B
阅读全文