pillow’s output to the second pillow’s input. If you
want to move the pillows further apart, you can
insert a second (or third) extension cable between
them. With wiring completed, plug in the power
source into a wall jack to turn it all on.
When powered, a new Pixelblaze board will
automatically boot into access point mode with
its own unsecured Wi-Fi network starting with
the prefix Pixelblaze. Connect a Wi-Fi-enabled
device to the access point network, then visit
http://192.168.4.1 in the device’s browser to
configure the Pixelblaze Wi-Fi settings with your
local network name and password. Be sure to
select the “Enable discovery service” checkbox.
Once configured, the Pixelblaze will reboot
and connect to your network. To find it, visit the
Cloud Discovery Service at discover.electromage.
com, which displays all Pixelblaze boards on your
network (Figure
U
).
Selecting the board will open the Pixelblaze
web app in your browser, where you can configure
the LED setup and display patterns. First, select
the Settings tab to configure your LED string
characteristics (Figure
V
). Assign your board a
descriptive name. Set the LED Type to WS2812
and the Data Speed to 800Kbps. If you’re not
sure of the Color Order, select GRB — if the
colors in some patterns look wrong, you may
have to experiment with this setting to find the
correct option. Set the number of pixels to 200,
for the two LED matrices. It’s a good idea to
limit LED brightness in the settings to reduce
power consumption and heat output. Specifying
a maximum 25% power is usually more than
adequate to generate a bright display.
5. MAP THE LEDS
The Pixelblaze app stores LED configurations
independently from the animation code, so the
same pattern runs without modification on
different layouts. To map the pattern to a specific
pixel arrangement, you need to give the app the
relative position of all the LEDs. We specify LED
positions in the Mapper tab. Any coordinates
entered there will be automatically scaled by the
app to a range of [0,1] for standardized use in
code for different LED patterns.
The text box in the Mapper tab will accept a
formatted list of Cartesian coordinates, but it can
T
S
U
V
53
make.co
M83_048-55_PixelPillow_F1.indd 53M83_048-55_PixelPillow_F1.indd 53 10/10/22 2:14 PM10/10/22 2:14 PM
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.129.249.105