Examples-01: Difference between revisions
From Smart LCD
mNo edit summary |
mNo edit summary |
||
| Line 27: | Line 27: | ||
* Touch Key element config to provide 4 kind of Return Value (Up PGID+TPKID; Down PG_ID+TPK_ID; Up/Down PGID+TPK_ID; Up VP Address+Value) | * Touch Key element config to provide 4 kind of Return Value (Up PGID+TPKID; Down PG_ID+TPK_ID; Up/Down PGID+TPK_ID; Up VP Address+Value) | ||
* See the real time Touch Key return value on PC serial terminal(COM port) | * See the real time Touch Key return value on PC serial terminal(COM port) | ||
=== '''Build a CRO with Arduino UNO''' === | |||
[[File:SDM-21-0018.jpg|right]] | |||
* Example Model: | |||
* Example Video: [https://Youtu.be/F4tXOBM-ilY youtu.be/F4tXOBM-ilY] (4:45) | |||
* Example Project: | |||
* interface with Arduino UNO | |||
* continues AD result log by Arduino UNO | |||
* send the AD result values to Smart LCD in command packet | |||
* start page Page_Call init the graph range D_MAX, D_MIN for dot-graph range; L_MAX, L_MIN for line-graph range | |||
* Page delay jump to the main page | |||
* show the AD result on Smart LCD as graph | |||
* Graph display range control by on screen touch key | |||
* Touch_Key element with cropped background picture effect | |||
* Call operation to adjust the graph range | |||
=== R/W w Arduino UNO software serial === | |||
[[File:SDM-22-0003.jpg|right]] | |||
* Example Model: | |||
* Example Video: [https://Youtu.be/9lg5i9 ERBk youtu.be/9lg5i9_ERBk] (2:28) | |||
* Example Project: | |||
* interface with Arduino UNO | |||
* Read VP16 value by Arduino UNO | |||
* Write back value by Arduino UNO | |||
* send Smart LCD command packet (example for Arduino UNO) | |||
* decode Smart LCD command packet (example for Arduino UNO) | |||
* Show the write back value on Smart LCD | |||
* Touch_Key element with cropped background picture effect | |||
* Call operations | |||
* Number element example with selected font | |||
* using Arduino software serial for communication (38400baud) | |||
* using Arduino UNO hardware serial for PC USB serial | |||
* using Arduino Serial Monitor to print out the status | |||
Revision as of 17:22, 13 August 2025
Interface with Arduino UNO

- Example Model: HMT070ATA-1C
- Example Video: youtu.be/t7VGK24kyLE (2:31)
- Example Project: SDM-20-0015(SmartLCD_RW_w_ArduinoUNO)(UNO_code_inside).zip
- interface with Arduino UNO
- Read VP16 value by Arduino UNO
- Write back value by Arduino UNO
- send Smart LCD command packet (example for Arduino UNO)
- decode Smart LCD command packet (example for Arduino UNO)
- Show the write back value on Smart LCD
- Touch_Key element with cropped background picture effect
- Call operations
- Number element example with selected font
Touch Key Return Value

- Example Model: HMT070ATA-1C
- Example Video: youtu.be/UjRlT_N8YdM (3:00)
- Example Project: SDM-20-0016(SmartLCD_TPK_return_code).zip
- Static Text element with background color
- Touch Key element add on to Static Icon element
- Touch Key element with color inverse effect
- Call operations (VP:=value)
- Touch Key element config to provide 4 kind of Return Value (Up PGID+TPKID; Down PG_ID+TPK_ID; Up/Down PGID+TPK_ID; Up VP Address+Value)
- See the real time Touch Key return value on PC serial terminal(COM port)
Build a CRO with Arduino UNO

- Example Model:
- Example Video: youtu.be/F4tXOBM-ilY (4:45)
- Example Project:
- interface with Arduino UNO
- continues AD result log by Arduino UNO
- send the AD result values to Smart LCD in command packet
- start page Page_Call init the graph range D_MAX, D_MIN for dot-graph range; L_MAX, L_MIN for line-graph range
- Page delay jump to the main page
- show the AD result on Smart LCD as graph
- Graph display range control by on screen touch key
- Touch_Key element with cropped background picture effect
- Call operation to adjust the graph range
R/W w Arduino UNO software serial

- Example Model:
- Example Video: youtu.be/9lg5i9_ERBk (2:28)
- Example Project:
- interface with Arduino UNO
- Read VP16 value by Arduino UNO
- Write back value by Arduino UNO
- send Smart LCD command packet (example for Arduino UNO)
- decode Smart LCD command packet (example for Arduino UNO)
- Show the write back value on Smart LCD
- Touch_Key element with cropped background picture effect
- Call operations
- Number element example with selected font
- using Arduino software serial for communication (38400baud)
- using Arduino UNO hardware serial for PC USB serial
- using Arduino Serial Monitor to print out the status