## Code for Teensy
Software needed:
[Arduino IDE 2](https://www.arduino.cc/en/software)
[Teensyduino](https://www.pjrc.com/teensy/td_download.html)
Load this sketch:
https://github.com/dramamine/lightdream-pocket/tree/main/ld-artnet-videosdcard
@TODO marten to confirm serial # is in this file
@TODO can we "always" connect the Teensy to the Network?
## Resolume
Marten to supply files
- Resolume composition & content
- @TODO need to create a mapping file based on the layout
### Parts
Marten-supplied:
Teensy with Octo adapter, headers ($30)
96 x LED strips ($7.05 each) = $676.80
Mini SD card ($3)
[LED channel mounting clips](https://www.amazon.com/dp/B07LFBRS37?psc=1&ref=ppx_yo2ov_dt_b_product_details): $55
[LED 4-pin connectors](https://www.amazon.com/dp/B08HV87H7M?psc=1&ref=ppx_yo2ov_dt_b_product_details): $24
Buck converter: $6.00
Cable wrap: $6.50
Power supply: @TODO test the amperage, see if Marten's supply is powerful enough
Andy-supplied:
Network switch, ex.
https://www.amazon.com/NETGEAR-5-Port-Gigabit-Ethernet-Unmanaged/dp/B07S98YLHM/ref=sr_1_3
![[Pasted image 20231102174644.png]]
### Ethernet & Power -> 4 4-Pin Adapter
Probably need 2 of these, unclear on length
![[Pasted image 20231018222431.png]]
## Creating Content That Plays Automatically
Try loading the Resolume Composition from the USB drive. You probably need to relocate some clips or something. I would load the deck Autoplay V2
![[Pasted image 20231018222708.png]]
From there you can do some stuff like filter through which clips are good, & you can add effects like brightness, change speed, etc.
Check out the Transition Time slider. Here it's partway up which means when you click on a clip, it'll do the transition Alpha over a few seconds. Pull this slider down to have instant transitions.
![[Pasted image 20231018222846.png]]
Another helpful thing is Auto Pilot and Loop Count. These can be used to create a layer with a bunch of clips that then advance to the next clip in that layer.
![[Pasted image 20231019131111.png]]
More info: https://www.youtube.com/watch?v=aHDe5seXLpQ
## Record Output from Resolume Onto The Teensy
This is more advanced, so be warned
https://github.com/dramamine/lightdream-pocket/tree/main/artnet-to-sd-card
This is probably complicated, @TODO Marten to record something to play automatically
## Notes
Sketching out the layout using Illustrator
![[led-ceiling.ai]]
![[led-ceiling-angled-layout.png]]
![[led-ceiling-linear-layout.png]]