219 views|2 replies

109

Posts

3

Resources
The OP
 

[2024 DigiKey Creative Competition] Workplace Refreshing Project - ESP32-C6 Communicating with Labview [Copy link]

 This post was last edited by eew_cT3H5d on 2024-10-31 23:05

'

Core processing code: processing serial port sending data

if (Serial.available() > 0)
  { // 检查串口是否有数据
    char val = Serial.read(); // 读取串口数据
    
    if (val == '1') { // 如果接收到'H',则打开LED
      ws2812=!ws2812;;
    } 
  }

Core processing code: serial port sends sensor data collection

String dataunm =  'A' + String(temp.temperature) + 'B' + String(humidity.relative_humidity)+'C' + String(scd30.CO2)+'D' + String(sgp.TVOC) + 'E' + String(massConcentrationPm2p5) +'F' + String(vocIndex) +'@';

Serial.println(dataunm);

Labview host computer design

Program code:

Operation effect:

Program Attachments:

职场提神法宝.vi (34.65 KB, downloads: 1)
This post is from DigiKey Technology Zone

Latest reply

It should be possible to see the effect   Details Published on 2024-11-3 08:27
 
 

6593

Posts

0

Resources
2
 

It should be possible to see the effect

This post is from DigiKey Technology Zone

Comments

The lighting effect is pretty good  Details Published on 2024-11-4 19:39
 
 
 

109

Posts

3

Resources
3
 
Jacktang posted on 2024-11-3 08:27 It should be OK based on the results

The lighting effect is pretty good

This post is from DigiKey Technology Zone
 
 
 

Just looking around
Find a datasheet?

EEWorld Datasheet Technical Support

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号
快速回复 返回顶部 Return list