1 #LightSticks. Pocket lights for your travel object photography.
3 ![LightSticks Fading](https://shalnoff.com/pics/2020/LightSticks/2024_04_18:Lightsticks_in_Dark.mp4.gif)
5 Small light sources for illuminating objects when taking pictures of small objects. Place two lightsticks on the sides, add a backlight behind the object and voila, you have a small photo studio on your desk.
7 You can use toothpicks to set the sticks vertically or hang them inside glass beakers.
9 ![LightSticks Fading](https://shalnoff.com/pics/2020/LightSticks/lightStick_face.jpeg)
11 I usually carry a small roll of matte plastic to make vertical tubes and soften the shadows + a roll of black paper to set the background.
13 To extend the wand, just plug in an extender.
15 #Hardware and firmware
17 ![LightSticks set](https://shalnoff.com/pics/2020/LightSticks/lightSticks_blackBG.jpeg)
19 The device is based on attiny25 and has on board a switch, two buttons to control the brightness and also to memorise the settings (by pressing both buttons at the same time) + little beeper, to beep various signals.
21 If the device is idle for some time, it goes to sleep.
23 To recharge the device, simply plug it into the USB socket of your powerbank or laptop.
32 A remarkable feature of the device is the ability to flash the bootloader (I'm using popular [micronucleus](https://github.com/micronucleus/micronucleus)). In this case you can change fine settings, recompile the firmware and flash the device without additional equipment.
34 Compile the bootloader
36 cd BOOTLOADER/micronucleus/firmware
38 make CONFIG=t85_default fuse
39 make CONFIG=t85_default flash
41 Flash using USB bootloader
43 1. Set device in Flashing Mode by connect extender in reverse (long sides in same direction)
44 2. Plug device in USB socket
45 3. Compile and flash firmware using micronucleus (you need to turn off and on device to enter Bootloader Mode)
50 sudo BOOTLOADERS/micronucleus/commandline/micronucleus --run lightstick.hex
54 ![LightSticks Beer Bottle Photo](https://shalnoff.com/pics/2020/LightSticks/Kapuziner_beer_.jpg)
58 Copyright © 2020 Dmitry Shalnov [interplaymedium.org]
60 Licensed under the Apache License, Version 2.0 (the "License");
61 you may not use this files except in compliance with the License.
62 You may obtain a copy of the License at
64 http://www.apache.org/licenses/LICENSE-2.0
66 Unless required by applicable law or agreed to in writing, software
67 distributed under the License is distributed on an "AS IS" BASIS,
68 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
69 See the License for the specific language governing permissions and
70 limitations under the License.