Identifying a pi in a farm using a ledborg
Forums:
Hello,
I am creating a server farm using raspberry pi and would like to be able to physically identify each machine by the naked eye. I am interested in the ledborg but have a few questions.
ideally, i could write a java program that will one run in one pi that will serve as a master. a user will interact with the master on a webpage that will have the listing of all the pis in the farm listed by ip. the user will selet thea speicific pi and then the led would illuminiate on that pi.
I can see ow to do everything, the website, the inter pi communication. the only part i dont know is the last stepo, when the selected pi will turn theled to a specific color.
is it posible to do that, ideally with java?
Finally , do you ship to Australia?
Looking forward to your answers.
thanks
piborg
Tue, 09/02/2014 - 13:49
Permalink
Controlling LedBorg from Java
The easiest way will be to use the Pi4J library.
You can find installation instructions here: http://pi4j.com/install.html
Pi4J is a Java version of WiringPi, the pin numbers you need for LedBorg are:
You can use the software PWM functionality to get the full range of LedBorg colours the same way the Python examples do:
We are happy to ship to Australia ^_^