All tutorials
Level up by topic
UI → data → protocols → algorithms → audio/video: a complete capability ladder.
Beginner~15 min
Quick start: from install to lighting up real hardware
Install the designer → new project → drag widgets & bind variables → built-in simulation → export firmware to the module/board.
Expand steps ▾
- 1.Download and install DD-CAT IDE (Windows); launch it and create a project, choosing the chip/board and resolution
- 2.Drag widgets (chart, gauge, button) from the library and adjust style and layout in the lower-right property panel
- 3.Open the variable manager to create variables, then bind widget properties to a variable or expression
- 4.Click Run to start the built-in simulator and verify the UI and interactions with the mouse
- 5.One-click export the firmware app package (.bin) and download it via the updater/serial to run on the module or display board
Beginner~10 min
Variable binding and rule-driven interaction
When temperature exceeds a threshold, an alarm icon lights and a prompt pops up — zero-code interaction.
Expand steps ▾
- 1.Create an analog variable temperature (scope: global)
- 2.Bind the temperature gauge value to {"var":"temperature"}
- 3.Create a rule in the rule manager: trigger = variable change, condition = temperature > 80
- 4.Add "set variable alarm=1" to the action list and bind the alarm LED to the alarm variable
- 5.Change the variable in the simulator to observe the interaction; on hardware it is driven by serial/MQTT data
Intermediate~20 min
MQTT to cloud and UDT JSON passthrough
Device data is reported to the cloud via MQTT; cloud JSON is auto-deserialized into the variable manager.
Expand steps ▾
- 1.Variable manager → Connections → new mqtt connection; fill in server/port/user/pass
- 2.Define a UDT type (e.g. device-status struct) and subscribe to a topic bound to the UDT variable
- 3.Bind UI widgets with dot paths like {"var":"dev.temp"} to read JSON fields directly
- 4.Use the simulator to verify interop with a desktop MQTT peer, then connect to the real broker
- 5.Watch sys_mqtt_* system variables for connection state and TX/RX counts
Advanced~25 min
Algorithm graph: building a digital power loop
Using Buck-Boost CVCC as an example, wire up a voltage outer loop + current inner loop control law.
Expand steps ▾
- 1.In the algorithm graph editor, drag in 3 "variable read" blocks (VIN/VOUT/IOUT) and the buck_boost_cvcc block
- 2.Connect by port dtype (f32 same-type direct); wire EN/VSET to enable and setpoint
- 3.Set target output voltage / current limit / compensation parameters (fixed-point raw) in the property panel
- 4.The DUTY output drives the power stage via "variable write"; wire IERR/FALT to the alarm UI
- 5.After passing the export validation gate, flash the GS32 board and verify the duty waveform on a scope
Advanced~30 min
Building SIP video intercom
SIP registration + WebRTC real-time A/V for a complete access-control video intercom.
Expand steps ▾
- 1.Create a sip connection: server/user/pass/domain, audio codec opus (G.711 fallback)
- 2.Bind the sys_sip_dial command variable to the "Call" button; writing a value dials
- 3.Configure the webrtc connection host/port/token; the camera DVP capture feeds the video source
- 4.UI layout: incoming-call animation, answer/hangup buttons, video window (video_player live stream)
- 5.Interop with a desktop SIP peer (SimSipPeer) to verify registration, call, and media paths
Beginner~12 min
Pin configuration and firmware flashing
Assign UART/RS485 pins in the chip view; firmware ships together with the app package.
Expand steps ▾
- 1.Switch to the Pin Configuration page and choose the chip package view
- 2.Expand UARTx in the peripheral tree and assign TXD/RXD pins (conflicts are auto-flagged in red)
- 3.Confirm power/analog pins are free and save into the project
- 4.Export the app package: an all-in-one .bin of pin config + UI + logic
- 5.Download via updater or serial; once the watchdog self-test passes it enters the running state