toothache

【Tuya Smart】Rhythm Array

 
Overview

project progress

  • The IoT training camp project is underway at a snail’s pace
  • The product has been iterated twice, and some completed projects have been redone, so the progress bar looks like it has rolled back.
  • The LED has been upgraded to a smaller 35x35mm LED, with the same area and increased resolution to 8x8
  • The position of the connector has been adjusted to allow room for larger batteries.
  • The control panel adds a network distribution indicator function to make the display clearer when connecting to new wifi outdoors.
  • In addition to C code, I will also try python to connect to Tuya in the future.
  • Thank you for following the project. The progress of the sub-projects is as follows:
  • ✅  2.0 schematic drawing
  • ✅  2.0 PCB drawing
  • ✅Tuya  product creation
  • ✅  IoT DP customization
  • ✅Debug  module purchase
  • ✅  2.0 PCB proofing
  • ⃞  PCB soldering <--- While participating in the ARTPI camp and the Tuya Temperature and Humidity Camp, I bought a bunch of ink screens to study. The priority of this big pit project will be temporarily lowered.
  • ✅  LED light panel quality debugging
  • ⃞Control  board programming and debugging
  • ⃞Shell  modeling (the shell needs to be updated iteratively)
  • ⃞Shell  printing
  • ⃞Shell  assembly
  • ✅  MCU/module network configuration function
  • ✅  MCU control debugging
  • ⃞MCU  programming to realize various functions
  • ⃞  APP panel customization
  • ⃞Small  program development

Device definition (function, scene)

  • Props for outdoor parties
  • Handheld LED light cube
  • 5.5 x 5.5 x 1.8 cm size (1/3 Rubik's Cube size).
  • There are only switch controls on the device, and the rest of the controls are done through the mobile phone
  • Display color
  • Display pattern
  • show animation
  • rhythm flash

software development

  • Software open source address: https://github.com/Tairraos/XMatrix
  • MCU control program (Arduino C, network configuration, message sending and receiving code, LED control code, based on Tuya MCU SDK)
  • Tuya public version APP panel customization (React Native, developed based on Tuya panel SDK)
  • APP applet version (Javascript, developed based on Tuya applet SDK)
  • The above public version apps and mini programs can control the device

Function to be iterated

  • Add FM reception, small power amplifier and speakers
  • During the party, choose to join the party group and become a slave.
  • The host can issue patterns and flashing effects
  • Fully sync the host's settings from Opportunity
  • The host can deliver music
  • Play music from Opportunity Unity
  • The more slave units, the louder the volume. Outdoor parties don’t need large audio equipment. Several people can have consistent music.
  • In order to ensure that the sound is not delayed, the host music is transmitted by FM
  • The transmitting device is also the same size
  • The host is composed of mobile phone APP + launching device

hardware design

  • Tuya WBR3 (WB3S optional) module transparent transmission, MCU solution
  • 8 x 8 W2812 mini, 35x35mm full color LED display
  • In order to maintain the volume, it is designed in two PCBs, and the USB-UART is external
  • TP4056 1A charging circuit
  • Powered by single lithium battery, 803040 battery, 1200mah
  • Low voltage drop LDO, ME2019, 260mv voltage drop
  • External burning interface ( https://oshwhub.com/Xiaole.Tao/esp-air-burnner )
  • MCU uses ESP 8266 07S (without antenna, cheap, ARM M3, supports multiple programming languages, C, Arduino, Python, JS, Lua)
  • The battery comes with charge and discharge protection

Program function design

  • Performance mode: LED full brightness mode/rhythm flashing mode/LED pattern mode/pattern flashing mode/animation mode
  • Brightness adjustment: 10 - 100% step 10%
  • Color effect: solid color/breathing color/flowing water color changing
  • Color settings: Choose a solid color from the in-app palette, or a breathing color-changing sequence. The water changes color and flows in rainbow colors
  • Flashing rhythm: 1 second/1/2 second... more. (Environment detection rhythm, add a microphone to detect environmental sound sampling, this version does not do it)
  • Display pattern: numbers 0-9, heart, up, down, left and right arrows, cross
  • Display animation: beating heart, arrow sliding, cross size change, number sliding
  • Custom pattern: draw your own pattern on the 8x8 square grid in the app, which is not available in this version.

APP panel definition

  • Solid color control is to adjust the color palette and click to select the color.
  • Pattern selection as icon click
  • After rhythm selection, a red dot flashes on the right side for visualization.
  • WeChat Mini Program Alternative

Physical pictures of version 1.0, version 1.5 not taken, 2.0 PCB on the way

481607177922_.png

Lithium battery driven

501607177944_.png

Control board burning and debugging (magnetic burner  https://oshwhub.com/Xiaole.Tao/esp-air-burnner )

参考设计图片
×
 
 
Search Datasheet?

Supported by EEWorld Datasheet

Forum More
Update:2025-06-23 08:51:56

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号