io.github.animatedledstrip:animatedledstrip-parent-pom

Parent POM for all AnimatedLEDStrip libraries

License

License

GroupId

GroupId

io.github.animatedledstrip
ArtifactId

ArtifactId

animatedledstrip-parent-pom
Last Version

Last Version

1.0.0-pre2.1
Release Date

Release Date

Type

Type

pom
Description

Description

io.github.animatedledstrip:animatedledstrip-parent-pom
Parent POM for all AnimatedLEDStrip libraries
Project URL

Project URL

https://github.com/AnimatedLEDStrip/AnimatedLEDStrip
Source Code Management

Source Code Management

https://github.com/AnimatedLEDStrip/server-pi

Download animatedledstrip-parent-pom

How to add to project

<!-- https://jarcasting.com/artifacts/io.github.animatedledstrip/animatedledstrip-parent-pom/ -->
<dependency>
    <groupId>io.github.animatedledstrip</groupId>
    <artifactId>animatedledstrip-parent-pom</artifactId>
    <version>1.0.0-pre2.1</version>
    <type>pom</type>
</dependency>
// https://jarcasting.com/artifacts/io.github.animatedledstrip/animatedledstrip-parent-pom/
implementation 'io.github.animatedledstrip:animatedledstrip-parent-pom:1.0.0-pre2.1'
// https://jarcasting.com/artifacts/io.github.animatedledstrip/animatedledstrip-parent-pom/
implementation ("io.github.animatedledstrip:animatedledstrip-parent-pom:1.0.0-pre2.1")
'io.github.animatedledstrip:animatedledstrip-parent-pom:pom:1.0.0-pre2.1'
<dependency org="io.github.animatedledstrip" name="animatedledstrip-parent-pom" rev="1.0.0-pre2.1">
  <artifact name="animatedledstrip-parent-pom" type="pom" />
</dependency>
@Grapes(
@Grab(group='io.github.animatedledstrip', module='animatedledstrip-parent-pom', version='1.0.0-pre2.1')
)
libraryDependencies += "io.github.animatedledstrip" % "animatedledstrip-parent-pom" % "1.0.0-pre2.1"
[io.github.animatedledstrip/animatedledstrip-parent-pom "1.0.0-pre2.1"]

Dependencies

compile (1)

Group / Artifact Type Version
org.jetbrains.kotlin : kotlin-stdlib-jdk8 jar 1.4.21

test (4)

Group / Artifact Type Version
org.jetbrains.kotlin : kotlin-test-junit jar 1.4.21
org.junit.jupiter : junit-jupiter-api jar 5.7.0
io.mockk : mockk jar 1.10.4
io.kotest : kotest-assertions-core-jvm jar 4.2.5

Project Modules

There are no modules declared in this project.

AnimatedLEDStrip Server for Raspberry Pi

An example usage of the AnimatedLEDStrip server library with the AnimatedLEDStrip Raspberry Pi device library.

Install

To install this server on a Raspberry Pi, run

curl -s https://animatedledstrip.github.io/install/install-pi-server.sh | sudo bash

This will install the server on your Pi and add it as a systemd service that runs on startup.

Physical Setup

See the Adafruit NeoPixel Überguide for a good introduction to ws281x LEDs, specifically their NeoPixels.

Data

With the default configuration, the data should be connected to GPIO 12 (physical pin 32). If you set the pin to a different number, check a pin diagram for the Pi to check what physical pin to connect to. Check the rpi_ws281x library for which pins are supported, which protocols they correspond to, and other notes about the protocols.

Ground

The ground should be connected to one of the ground pins on the Pi (physical pins 6, 9, 14, 20, 25, 30, 34 and 39). The ground should also be connected to the ground of the power supply.

Power

The Adafruit NeoPixel Überguide has good tips for powering the LEDs. If your strip is short enough, may be able to connect the power to the 5V power on the Pi (physical pins 2 and 4).

Be careful doing this.

To borrow words from the rpi_ws281x library: Know what you're doing with the hardware and electricity. I take no reponsibility for damage, harm, or mistakes.

Configure

The config file is located at /etc/leds/led.config. See the AnimatedLEDStrip server wiki for instructions on configuring the server.

Update

If you need to update the server with a new version, i.e. a development version, you can use the ./deploy.bash script. The script packages the server on your computer, then copies it to any hosts you specify and restarts them.

To specify which hosts to update, add -H flags for each host's IP or user@IP, i.e.:

./deploy.bash -H 10.0.0.254 -H [email protected]

If no user is specified, pi is assumed as default.

To specify a specific settings.xml file to use for mvn, use the -s flag:

./deploy.bash -H 10.0.0.254 -H [email protected] -s ./settings.xml
io.github.animatedledstrip

Versions

Version
1.0.0-pre2.1
1.0.0-pre2
1.0.0-pre1.1
1.0.0-pre1