# 來做燈條裝 --- ## 目標 想做個發光的燈條裝穿身上跳舞 簡單目標是讓手腳穿上4個燈條會發光 可以用 Blyik 來控制 複雜一點大概會變這樣哈 https://gfycat.com/mixedfrankalaskankleekai-americas-got-talent-fails --- ## 問題 若我要買個可以趨動4個約100CM的燈條,電力撐半小時,板子、電源及其他要注意的事 --- --- ## 拆問題 這影片提到燈條控制可用 L298 N https://www.youtube.com/watch?v=VLKr5pDQ_rU 這邊有個提問,但是2015很久之前了,沒有雙向討論 https://forum.arduino.cc/t/led-clothing-project/333052 提到說想用 Mega 以控制300個獨立的燈 . I am wanting to create a portable “matrix” display (example shown) shirt with these LED strips, and I am trying to figure out the best way to design and power the circuit. 提到並聯分pin控制 The power connections must be in parallel, the data connections can either chain from strip to strip, or perhaps be divided into 4 or so from separate pins. - 無線走 wifi 還是 bluetooth? 考量若在表演空間可能會有大到 bluetooth 無法傳訊的範圍,走 wifi,但可研究 bluetooth 的連接效能是否可以達成快速與觀眾互動的標準。 --- ## 爬文 5 Tips https://www.youtube.com/watch?v=uOepNMAYLyI --- nano 行動電源控制兩個燈條 DIY LED Clothing (costumes, burning man, festivals) Arduino - Arduino Nano - portable USB battery - WS2812 / WS2811 LED - https://www.youtube.com/watch?v=hA3CUL7Sca4 We take a quick look at one of the simplest ways to set up, "LED CLOTHING" that can be work to concerts, festivals (Burning Man or EDC), or as Halloween costume. Any arduino will work, but this is an example of an Arduino Nano powered by a portable USB battery. This uses WS2811 or WS2812 LED strands with the data pin going to an arbitrary Arduino data pin, while VCC and GND go to the corresponding pins on the Arduino. The LED lights are held in place with got glue. This is a quick solution - not meant to be permanent or to be put through a washer or dryer. How to control LED Strips with Arduino - Cosplay Tutorial 有code https://www.youtube.com/watch?v=EvRxQbhDxCo 只控制單 LED 可以只用ESP8266 ESP-01S 無線模組處理 https://atceiling.blogspot.com/2019/06/arduino36esp8266-led.html 看到一個叫 Raspberry Pi Zero 的好像滿輕巧 nano Use Addressable LED Strip with Arduino || Essential Engineering https://www.youtube.com/watch?v=rPvGLSuMaLA --- ## 材料 爬了許多 YT 看起來 nano 即足夠,使用 ESP8266 wifi 連線 --- ## 做 https://www.youtube.com/watch?v=Tw7eJnhDBQ8 esp8266 lib isntall https://arduino-esp8266.readthedocs.io/en/latest/installing.html 切到舊板子(雷!) Change Tools->Processor->Atmega 328P to Atmega 328P (Old Bootloader). Remind that the Processor option is only available when you select some specific Boards at Tools>Board. 發現走藍牙接線比較簡單,改用BT https://create.arduino.cc/projecthub/mayooghgirish/arduino-bluetooth-basic-tutorial-d8b737 --- ## 參考 https://forum.arduino.cc/t/led-clothing-project/333052 https://www.youtube.com/watch?v=VLKr5pDQ_rU