User Tools

Site Tools


getting_started

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
getting_started [2019/12/20 02:08]
turo [Powering your LED strips]
getting_started [2019/12/30 05:47] (current)
turo [Connecting your LED strips]
Line 25: Line 25:
  
 Before wiring up your LED strip make sure you select the right output voltage on the Lightkraken board. Look at the above table for the right voltage. Before wiring up your LED strip make sure you select the right output voltage on the Lightkraken board. Look at the above table for the right voltage.
-  * **5V** -> Set the switch to the left-most position. The switch should point towards the RJ45 connector.+  * **5V** -> Set the switch to the left-most position. The switch should point towards the Ethernet/​Network/​RJ45 connector.
 {{:​switch_left.jpg?​150|}} {{:​switch_left.jpg?​150|}}
   * **12V** -> Set the switch to the middle position.   * **12V** -> Set the switch to the middle position.
Line 42: Line 42:
 {{::​connection_example.jpg?​400|}} {{::​connection_example.jpg?​400|}}
  
-In the example above, the BLACK wire is Ground/GND, the  +In the example above, the BLACK wire is Ground/GND, the YELLOW wire is the DATA/DOUT line and the RED wire is POWER (5, 12 or 24V). The configuration above applies to all strips using a 1-Wire protocol.  
-YELLOW wire is the DATA/DOUT line and the RED wire is POWER (5, 12 or 24V). The configuration above applies to all strips using a 1-Wire protocol.+ 
 +If you have a secondary backup data line like for WS2815 type LEDs connect it to ground as seen in the picture.
  
 === Serial (Data + Clock) LED Strips === === Serial (Data + Clock) LED Strips ===
Line 50: Line 51:
  
 In the example above, the BLACK wire is Ground/GND, the  In the example above, the BLACK wire is Ground/GND, the 
-GREEN wire is the CLOCK line, YELLOW wire is the DATA line and the RED wire is POWER (5, 12 or 24V). The configuration above applies to all strips using a serial ​protocol ​protocol.+GREEN wire is the CLOCK line, YELLOW wire is the DATA line and the RED wire is POWER (5, 12 or 24V). The configuration above applies to all strips using a serial protocol.
  
 ==== Powering your LED strips ==== ==== Powering your LED strips ====
Line 64: Line 65:
 == DHCP == == DHCP ==
  
-By default the device will try to get an IP address using DHCP. If the device successfully acquires an IP address you will notice that the middle green LED will start blinking. If your firewall/​router handles ​hostnames ​in a standard fashion you can now use the sticker on the back to find the name of the device on your network:+By default the device will try to get an IP address using DHCP. If the device successfully acquires an IP address you will notice that the middle green LED will start blinking. If your firewall/​router handles ​host names in a standard fashion you can now use the sticker on the back to find the name of the device on your network:
  
 {{::​sticker.jpg?​300|}} {{::​sticker.jpg?​300|}}
Line 82: Line 83:
 <​code>​1e:​d5:​ff:​8f:​fe:​d5</​code>​ <​code>​1e:​d5:​ff:​8f:​fe:​d5</​code>​
  
-Where the two first bytes are always "​1e:​d5" ​and the other bytes are the same as the hex code on the sticker. These MAC addresses are locally administered addresses (LAA) and should not be made reachable on the public internet.+The two first bytes are always "​1e:​d5"​. The remaining ​4 bytes are the same as the hex code on the sticker. These MAC addresses are locally administered addresses (LAA) and should not be made reachable on the public internet.
  
 == When DHCP is not available == == When DHCP is not available ==
  
-If you plug the device into switch which is not connected to a router with DHCP support, the DHCP detection on the device will time out after 30 seconds. ​At this point the device will revert to a default IPv4 configuration:​+If you plug the device into switch which is not connected to a router with DHCP support, the DHCP detection on the device will time out after 30 seconds. ​After the timeout ​the device will revert to a default IPv4 configuration:​
  
   IPv4 address: 169.254.30.213   IPv4 address: 169.254.30.213
Line 94: Line 95:
 == Static IP == == Static IP ==
  
-The static IP can be set up in the web configuration page of the device. Initial access to the web configuration page requires either access through DHCP or the IP address listed above.+static IP can be set up in the web configuration page of the device. Initial access to the web configuration page requires either access through ​DHCP assigned address ​or the IP address listed above. ​ 
 + 
 +Note: Using static IPs is generally the recommend way of doing large and live installations,​ especially when power outages are expected. One common problem with DHCP is that if dozens or more devices simultaneously ask for a DHCP based address when power goes on, the request packets tend to get lost as the router drops them. Or more commonly the router takes more than 30 seconds to boot which means DHCP requests went nowhere. The result is that some devices will never acquire an IP address. 
 + 
 +==== Updating the firmware ==== 
 + 
 +The firmware can be updated over the network. To do so you must set the device into boot loader mode. There are two ways of doing this: 
 + 
 +  - Go to the web configuration page of the device and click on "​Reboot Into Upgrade Mode"​ 
 +  - Unplug the device. While holding the user button reconnect power. 
 + 
 +{{::​bootloader_mode.jpg?​400|}} 
 + 
 +While the device is in boot loader mode, the right most LED should be flashing red. 
 + 
 +The device now either gets an IP address through DHCP or sets a fixed IP address after a 30 second timeout as specified above. The static IP setting is not supported currently. 
 + 
 +Open the boot loader interface by entering the IP address of your device in a web browser: 
 + 
 +{{::​bootloader_ui.jpg?​400|}}
  
- +Upload the firmware using the web interface. The firmware file name should be "​lightkraken_bootloaded.bin"​. Click "​Upload & Flash" which will start the firmware update. The right most LED will go through various color changes. If the LED continues to blink red after flashing the firmware, you most likely did not upload the correct file.
  
 +==== Resetting the device to factory default ====
  
 +If you need to reset the configuration of the device hold the user button for about 10 seconds and then let go. All settings will revert to factory defaults and the device will reboot. This is mostly useful if you for some reason misconfigured the static IP settings and the device is not reachable anymore.
getting_started.1576836516.txt.gz · Last modified: 2019/12/20 02:08 by turo