This project describes
how to achieve MQTT communication between devices via a home Wi-Fi intranet and fully integrate with other open-source microcontroller control projects. It aims to promote the concept of customized keyboards to the smart home field, attempting to break the monopolistic ambitions of major manufacturers in the IoT home and the fragmented state of apps. It returns to the core of smart homes, focusing on user experience.
The product is compatible with 86-bit boxes and provides development interfaces.
It uses Allwinner's domestic RISC-V chip D1s as the main controller, with full RGB888 output for the screen display;
it uses an XR829 chip for Wi-Fi + BLE communication.
It runs Allwinner's Tina Linux and the currently popular LVGL framework; it can also run bare-metal RTOS, such as RT-Thread and Melis...
The open-source license
remains open to the community. We sincerely encourage everyone to replicate this project, including but not limited to participating in the development of software for domestic RISC-V chips. For commercial use, please contact the author.
The project's key features
are:
developed based on Allwinner's latest publicly released Melis 4.0 real-time operating system, using the RTThread kernel! Do you know the amazing collaboration involved?
Specifically targeting Melis... Version 4.0 roughly adapts to the LVGL graphics library.
Based on the LVGL graphics library, it implements core lighting and rendering technology on performance-constrained embedded devices, paying homage to Home Assistant.
It uses the Allwinner XR829 chip as a Wi-Fi/BLE module, providing a bridge for various interconnection methods.
A 4.3-inch screen was chosen because its rectangular shape better suits the apartment layouts of many homeowners (my own home).
Structurally, it is compatible with standard 86-pin box installation.
Project attributes:
This project is being publicly disclosed for the first time and is an original project by myself and structural engineer @李耀华. This project has not won any awards in other competitions.
Many thanks to LCSC Open Source Community, Allwinner Online, and Wacoo.com for providing reimbursement for raw materials and technical support for the chips. I look forward to continuing to learn and exchange ideas with everyone in the community and becoming stronger!
Project Progress
Project Origin: February 21, 2023. I hit it off with the structural engineer and immediately got to work...

I should be considered one of the earliest developers to work with domestic RISC-V chips (Allwinner D1), so I have a good relationship with the Allwinner team. With the fearless spirit of soldering the main control chip myself and the thrifty spirit of using millet and rifles, I successfully applied for the first PCB and materials in the Spark Program:

However... I did overestimate the difficulty of soldering the eQFP chip, but after soldering, I found that there were still some minor structural problems. After summarizing the various problems, we started the design of the third version of the PCB. During this period, there were many big and small things, but at the same time, LCSC's SMT component library continued to grow. In the second half of the year, I found that Allwinner D1s had been listed in LCSC's SMT component library! (PS: Allwinner is also in Zhuhai).

After the previous setback, This time, I decisively applied for JLCPCB's SMT (Surface Mount Technology). I also want to thank the Spark Program for allowing me to max out the process:

"It's really good!" To be
honest, the boards produced by SMT at Zhuhai Advanced Plant 2 are truly beautiful.

Design principles
are shown in the diagrams below:

Software Description:
Talk is cheap! Show me the code: The GITEE repository
includes the Melis 4.0 system. I spent several nights filling in the gaps... and even caught a cold... QAQ.
The latest software roadmap and progress will be kept updated in the repository's description~
Firmware download :
melis_d1s-nezha_uart0_8Mnor_final.zip
MD5: e1fe62a8680d6dde7e1b953694c90829
Link: Baidu Cloud Extraction Code: bgi3
Software architecture diagram

:
The plan is to integrate with Alibaba Cloud's MQTT service, currently in the planning stages...
Community experts are porting the NES emulator...
The solution is suitable for various devices with screens, maximizing its sophistication! Including but not limited to: Voron, Klipper....(RISC-V ecosystem is in dire need of development!)
Design considerations
My SMT version requires manual soldering of B5819.
It is necessary to check whether the D1 component is reversed, otherwise it will cause a deep pit of inability to calibrate the on-chip DDR.

Physical display
taken from Canon EOS M6 MarkII:


equipped with XR829 wifi+ble integrated module: (The project currently uses the chip instead of the module, and plans to switch later)

References
[1] ESP32S3 86 box development board with touch
[2] melis4.0
[3] Allwinner Online Developer Forum
[4] Wowcool.com