Đèn LED Alice ở xứ sở thần tiên

Chiếc đèn LED này lấy cảm hứng từ Alice ở xứ sở thần tiên, được điều khiển bởi ESP8266 qua ESPHome. Bao gồm cảm biến TTP223, dải LED WS2812 và vít M3. Sơ đồ đấu dây chi tiết và cấu hình ESPHome có sẵn để bạn tự lắp ráp và tùy chỉnh hiệu ứng ánh sáng theo ý thích.

👁️
2.4K
Lượt Xem
❤️
150
Lượt Thích
📥
332
Lượt Tải
Cập Nhật Dec 18, 2025
Chi tiết
Tải xuống
Bình Luận
Khoe bản in
Remix

Mô tả

Bản remix này dựa trên https://www.thingiverse.com/thing:4686926 Đèn LED với họa tiết Alice ở xứ sở thần tiên. Đèn được điều khiển bởi ESP8266 sử dụng ESPHome. Linh kiện: * 2x Cảm biến cảm ứng TTP223

  • 1x ESP8266
  • 1x Dải LED (WS2812)
  • 4x Vít M3 8mm Sơ đồ đấu dây: Cấu hình ESPHome ```yaml substitutions: device: alice_in_wonderland name: Alice in Wonderland esphome: name: ${device} platform: ESP8266 board: d1_mini logger: level: INFO globals: - id: effect type: int restore_value: false initial_value: '0' binary_sensor: - platform: gpio pin: D7 internal: true name: Alice power filters: - delayed_on: 80ms on_press: then: - light.toggle: id: svetlo - platform: gpio pin: D6 id: collor_alice_1 internal: true name: Alice color filters: - delayed_on: 80ms on_press: then: - if: condition: - lambda: |- return id(effect) == 0; then: - light.turn_on: id: svetlo effect: Rainbow - if: condition: - lambda: |- return id(effect) == 1; then: - light.turn_on: id: svetlo effect: Wipe - if: condition: - lambda: |- return id(effect) == 2; then: - light.turn_on: id: svetlo effect: random - if: condition: - lambda: |- return id(effect) == 3; then: - light.turn_on: id: svetlo effect: Fireworks - if: condition: - lambda: |- return id(effect) == 4; then: - light.turn_on: id: svetlo effect: Twinkle_random - if: condition: - lambda: |- return id(effect) == 5; then: - light.turn_on: id: svetlo effect: Scan - if: condition: - lambda: |- return id(effect) == 6; then: - light.turn_on: id: svetlo effect: pulse - if: condition: - lambda: |- return id(effect) < 6; then: - lambda: |- id(effect) = id(effect)+1; else: - globals.set: id: effect value: '0' - logger.log: "else" ligh t: - platform: fastled_clockless id: svetlo chipset: WS2812 pin: D5 num_leds: 29 rgb_order: GRB name: "Světlo" effects: - random: - pulse: - addressable_color_wipe: name: Wipe - addressable_scan: name: Scan - addressable_random_twinkle: name: Twinkle_random - addressable_fireworks: name: Fireworks use_random_color: true - addressable_rainbow: name: Rainbow on_turn_off: then: - globals.set: id: effect value: '0'

Giấy phép

Tác phẩm này được cấp phép theo

Creative Commons — Attribution — Noncommercial

CC-BY-NC

Yêu cầu ghi công
Remix & phái sinh Được phép
Sử dụng thương mại Không được phép

File mô hình

TẤT CẢ FILE MÔ HÌNH (6 Tập tin)
Đang tải files, vui lòng chờ...
Vui lòng đăng nhập để bình luận.

Chưa có bình luận nào. Hãy là người đầu tiên!

Vui lòng đăng nhập để khoe bản in của bạn.

Chưa có bản in nào được khoe. Hãy là người đầu tiên!

Remix (0)