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
本小节主要介绍按键信号转换、Button类及派生类、和Button交互推荐流程。
本小节主要介绍Ws2812灯珠的使用、对父类进行扩展实现自定义功能,和指针向下强制转换的使用。
本小节主要介绍RGB三色LED的使用,以及多态的具体实现。
ESP32 Arduino Framework是专门针对ESP32开发板的Arduino应用开发框架,为用户开发IOT应用、HMI应用提供一致的开发体验。
ESPConnect是一个基于现代浏览器的管理器,在你需要快速验证、调试、管理文件、检查状态的时候,它能帮你省下大量打开和切换重型工具的时间。
本文介绍两种使用TEA5767收音机模块实现FM收音机的方案,感兴趣的朋友可在此基础上实现更丰富的功能。
GPIOViewer 是一个强大的 Arduino 库,专门为 ESP32 芯片设计,可以实时监控 ESP32 芯片上的所有 GPIO 引脚状态。它可以帮助你快速直观地了解每个引脚的当前状态,例如高电平、低电平、输入、输出、中断等等。
在音频处理领域,I2S是一种广泛使用的通信协议,它专门用于芯片之间的音频数据传输。ESP32 作为一款高性能的微控制器,不仅支持 I2S 通信,还提供了强大的硬件接口和灵活的软件库,使其成为音频项目开发的理想选择。
小鹏物联网智能浇花系统是照顾植物的好帮手,支持自动控制和手动控制两种模式,可通过电脑端和手机端查看数据和控制浇水。
Arduino开发环境下适用于ESP32芯片系列开发板的应用开发框架。