Skip to content

panov-va/esp-ambilight

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ESP32 Ambilight Debug (node_main)

Sensor Order (fixed 1..8)

GyverHub shows sensors in this order:

  1. Bottom
  2. Bottom Left
  3. Left
  4. Top Left
  5. Top
  6. Top Right
  7. Right
  8. Bottom Right

In UI they are placed around a TV-like 3x3 layout:

  • top: 4 TL | 5 T | 6 TR
  • middle: 3 L | TV | 7 R
  • bottom: 2 BL | 1 B | 8 BR

TCA9548A Channel Mapping

Mapping is explicit in src/node_main/main.cpp via:

constexpr uint8_t kTcaChannelBySensor[sensor_ring::kSensorCount] = {0, 1, 2, 3, 4, 5, 6, 7};

Array index is sensor index (0..7 => 1..8 in UI), value is TCA channel.

GyverHub Check

  1. Flash esp32_main firmware.
  2. Open GyverHub device TCS34725 x8.
  3. Verify 8 colored tiles update live in the layout above.
  4. Disconnect one sensor and verify its widget turns black and Status line shows this sensor as failed.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages