This project is a replication of IKEA Klockis Travel Clock on M5Stack:
M5stack Version shows date and time, and when you roll it over 90 degrees it shows temperature, and roll it again there comes timer and roll one more time, there it is.
Gets the time date from NTPServer. This screen also shows Battery Left / Charging.

Gets the temperature from MQTT message.

Alarm blinks the RGB LEDs and buzzer sound included. Can be set by MQTT message.

Alarm blinks the RGB LEDs and buzzer sound included. Can be set by MQTT message.

Command Topic: m5ikea/command
Command message:
{
"temperature": -8,
"brightness": 10,
"powersave": true,
"timer" : "03:15",
"alarm" : "14:12"
}
You can use only one of, or more of the commands in the json like:
{"temperature": 34}
temperature (signed float): It still will show as signed integer in the clock.
brightness (unsigned integer): Between 0-100, 100 being brightest, 1 dimmest, 0 shut down LCD.
powersave (boolean): true dims the LCD to "10" after keeping the clock some sceonds in the same position, whether plugged in or battery.
timer (char, XX:XX): 00:00 to 99:99
alarm (char, XX:XX): 00:00 to 23:59
This uses the MPU8668 accelerator version of M5Stack Fire (core). If your m5Stack has MPU9250 (Early version) or other, you need to change the accelerometer code.
Compiled with Arduino IDE 2.0
代码:https://github.com/febalci/M5Stack_IKEA_Clock
本小节是一个Web服务结合SD卡文件系统的应用示例。
本节主要讲解FileSystem类的使用,以及Flash文件系统配置和SD存储模块的使用。
本节主要讲解Wifi热点的Web服务使用,以及使用网页交互来控制LED。
本节主要讲解WifiBoard类的功能和HTTPClient库及cJSON的使用。
本节主要讲解TFT-LCD显示屏的使用和Window派生类与TFT_eSPI库的使用。
这篇文章展示了如何将化学与工程、信息技术、现代制造技术紧密结合,以“血氧指标控制的简易供氧器”为载体,组织一次真实的跨学科项目。设计中突出“从需求出发”“闭环控制”“可视化反馈”,不仅呼应了新课标中“跨学科实践”的要求,更贴近生活实际需求,尤其适用于对科技应用、健康关怀有兴趣的学生群体,可作为项目式学习或社团活动的优质课例。
本节主要讲解OLED显示屏的使用和Display类及派生类的介绍及使用。
本节主要讲解用TM1650来驱动四位7段式数码管模块的显示使用。
本节主要讲解FreeRTOS任务间如何使用互斥对象来实现资源互斥访问。
在ESP32的开发,经常会有系统崩溃一直重启的情况,那么如何快速定位出现异常的代码呢?