随笔- 1525
文章- 2
评论- 67
阅读-
128万
随笔分类 - 4_2Stm32-arduino
stm32 软串口1接收json数据,软串口2转发,oled显示屏显示
摘要:stm32 /* OLED 屏幕通常使用 I2C 接口,默认的 SCL 和 SDA 引脚分别为 PB6 和 PB7。 硬串口的引脚分配为: Serial1:PA9(TX),PA10(RX) Serial2:PA2(TX),PA3(RX) Serial3:PB10(TX),PB11(RX) */ #i
阅读全文
arduino 2.4g雷达探测人体
摘要:https://github.com/ncmreynolds/ld2410 https://r0.hlktech.com/download/HLK-LD2410B-24G/1/LD2410B%20%E4%B8%B2%E5%8F%A3%E9%80%9A%E4%BF%A1%E5%8D%8F%E8%AE%
阅读全文
stm32-arduino压力薄膜传感器读取
摘要:https://item.taobao.com/item.htm?id=674959275850&skuId=5150222163940&spm=a1z0d.6639537/tb2.1997196601.3.43b97484vSZsIQ #include <Arduino.h> #define DE
阅读全文
stm32 例子 人数统计
摘要:1单纯统计进出人数 #define pin_RED1 PA0 #define pin_RED2 PA1 int people_useNum=0; int state_RED1=0;// 红外1 int state_RED2=0;// 红外2 int car_state[2]={0,0}; int c
阅读全文
stm32例子 串口接受oled屏幕不卡显示
摘要:#include <Arduino.h> #include <U8g2lib.h> #ifdef U8X8_HAVE_HW_SPI #include <SPI.h> #endif #ifdef U8X8_HAVE_HW_I2C #include <Wire.h> #endif U8G2_SSD130
阅读全文
stm32采集烟雾和温湿度http请求查询+ESP8266转发解析+python构造http
摘要:https://www.cnblogs.com/gooutlook/p/16061136.html http://192.168.1.103/Control_SensorPin?sensor=sensor_all&action=GetData python # -*- coding:utf-8 -*
阅读全文
arduino驱动oled屏幕不卡方案
摘要:ARDUINO A4和A5 #include "U8glib.h" #include "DHT.h" U8GLIB_SSD1306_128X32 u8g(U8G_I2C_OPT_NONE); #define DHTTYPE DHT22 // DHT 22 (AM2302) #define DHTPI
阅读全文
STM32采集风速仪+ESP8266显示OLED+阿里云上报
摘要:ESP代码 #include <ESP8266WiFi.h> static WiFiClient espClient; #include <ArduinoJson.h> #include <AliyunIoTSDK.h> AliyunIoTSDK iot; #define PRODUCT_KEY "
阅读全文