1i6inzu

#The7thLiChuangElectricityContest#DHT11 temperature and humidity oled digital display

 
Overview


* 1. Introduction to the project function:
A small ornament that displays temperature and humidity. The epidemic has kept us under lockdown for two weeks, which is so miserable. I will make the shell later when I have time.
 
*2.
Self-made project attributes
 
* 3. Open source agreement
GPL3.0
 
*4.
After testing the hardware part, this N32 can be downloaded using stlink, which is well received. In addition, the OLED uses a 6-pin SPI interface.
 
*5. For the software part
, use keil. If you have time, you can tinker with cross-compilation yourself.
When I was about to copy the DHT11 code directly from the Internet, I found that the IO port could not use bit-banding to set the output. After checking the manual, I saw that the general IO port of this N32 chip could not be operated with bit-banding. The official bit-banding memory mapping did not cover the general IO, which wasted several hours ╮(╯_╰)╭ *6. See the project
 
for the BOM list

 

参考设计图片
×
 
 
Search Datasheet?

Supported by EEWorld Datasheet

Forum More
Update:2025-06-24 21:37:16

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
community

Robot
development
community

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号