Autres vendeurs sur Amazon
+ EUR 2,10 (livraison en France métropolitaine)
PiGlow Interface LED pour Raspberry Pi
|Prix :||EUR 11,00 Livraison gratuite dès EUR 25 d'achats en France métropolitaine. Détails|
|Tous les prix incluent la TVA.|
« Expédié par Amazon » est un service proposé par Amazon aux vendeurs : ceux-ci stockent leurs produits dans les centres de distribution Amazon, et Amazon s'occupe du traitement de la commande, de l'emballage, de l'expédition et du service client pour ces articles. Parmi les avantages de ce service: les conditions de la (pour les commandes de plus de 25 euros) et de Amazon Premium s'appliquent également à ces produits, comme s'il s'agissait d'articles Amazon.
Si vous êtes un vendeur, vous pourriez augmenter significativement vos ventes en utilisant le programme « Expédié par Amazon » (Fulfillment by Amazon). Nous vous invitons à en savoir plus .
- Choisissez parmi 17 000 points de collecte en France
- Les membres du programme Amazon Premium bénéficient de livraison gratuites illimitées
- Trouvez votre point de collecte et ajoutez-le à votre carnet d’adresses
- Sélectionnez cette adresse lors de votre commande
|Nos prix incluent l'éco-participation sur tous les produits concernés. Vous voulez recycler votre appareil électrique ou électronique gratuitement ? En savoir plus ici.
Les clients ayant acheté cet article ont également acheté
Quels sont les autres articles que les clients achètent après avoir regardé cet article?
Descriptions du produit
Get visual feedback from your Pi! The PiGlow is a small add on board for the Raspberry Pi that provides 18 individually controllable LEDs. You can use it for all sorts of things! And of course, it fits inside a Pibow! There are tons of things you can do with it Mood lighting / ambiance Showing current system load Notify you of events like mentions in tweets or incoming e-mail Feedback the status of scripts/daemons running on your Pi Works great when VESA mounted to provide a cast against a wall ...and pretty much anything else you can think of! This board uses the SN3218 8-bit 18-channel PWM chip to drive 18 surface mount LEDs. Communication is done via I2C over the GPIO header with a bus address of 0x54 (Python example code provided). Each LED can be set to a PWM value of between 0 and 255. Comes fully assembled and ready to rock. 18 LEDs (three each of red, orange, yellow, green, blue, and white) Great to provide feedback if you're running your Pi headless PWM (dimming) control for each channel Fully assembled (no soldering required) Python code to access and control lighting provided Lots of example code for Python, Scratch, WiringPi, etc over at the Pimoroni page Pimoroni PiGlow (355)
Commentaires en ligne
Meilleurs commentaires des clients
Certes le PiGlow est livré seul sans aucun manuel mais il est très facile de trouver un tuto sur le net. Si vous cherchez "boeeerb piglow" sur votre moteur de recherche préféré vous trouverez un dépôt GitHub qui explique toute la marche à suivre pour faire fonctionner votre PiGlow (en Anglais mais très bien expliqué).
Les leds sont très lumineuses et sont réglables de 0 (éteint) à 255 pour la luminosité maximale. En éclairage direct, passé 60 environ les leds commencent à faire mal aux yeux.
Seul petit "défaut" les 3 leds jaunes sont plutôt oranges, donc on a plus 6 leds oranges que 3 jaunes et 3 oranges, mais bon ce n'est vraiment pas grave.
Les LED sont cependant trop puissantes pour pouvoir les regarder lorsqu'elles ne sont pas régler au minimum (je les utilise pour "monitorer" et non pour éclairer).
Cependant, en l'absence de tout mode d'emploi, je ne mets que 4 étoiles
Commentaires client les plus utiles sur Amazon.com (beta)
Most importantly, the hardware is nice and does what it should, is easy to install (ridiculously easy -- plug it in) and fits without issue on the B+, which is physically quite different from the B or original Pi. It installs at the end of the Pi B+ where the GPIO header is closest to the edge. Make SURE you get it on the right pins, because there is no key in the header to save you if you mess that up. It lines up right with the end, not one or two in from the end.
And now, to whit, surely thou shalt have das blinkenlights unto all of your pi-flavored days.
I opted to use Python to control the thing. Because Python is easy. Ahem. Well, it turns out that Python is still easy, but the relevant initial software setup has a few sharp edges. I can probably save you some time.
There are no docs, no software supplied. So, as per usual with the pi, off we go to the net. I found the PyGlow.py fork by user benleb (Ben Lebherz.) It didn't work initially; he'd not updated the pi revision code to recognize the B+. So I did that, by duplicating the two lines around line numbers 109/110 that tested for revision 2, changing the test in the new lines (now 111/112) to be for revision 3, and returning the same value ( 1 ). That was all the changes that had to be made to PyGlow.py itself. Here's how it looks now...
if rpi.RPI_REVISION == 1:
i2c_bus = 0
elif rpi.RPI_REVISION == 2:
i2c_bus = 1
elif rpi.RPI_REVISION == 3:
i2c_bus = 1
...followed by the exception code as before, etc.
PyGlow.py depends upon, and can use, quite a few things.
I do this before any such install, which updates everything in your Pi's operating system in an OH YES YOU WILL manner...
...although you may prefer this, which allows restoring your previous configuration at boot...
...and then, optionally, after reboot and testing to be sure you're ok, clean up any redundant packages with more care...
...once you're through all that, to get the piglow itself working with Python, do all of this (if stuff shows as already installed and up to date, that's fine)...
apt-get install python-smbus
apt-get install python-psutil
apt-get install RPi-GPIO
apt-get install i2c-tools
Done! No, just kidding. Not done yet. Almost, though. You need to edit /etc/modules next...
sudo nano /etc/modules
...then add these lines at the end of the file...
...then press control-O to write the file back, press ENTER to confirm the name, then control-X to exit the nano editor.
And you're done! No, still kidding. I'm like that. My kids hate me. Now you have to reboot:
sudo shutdown -r now
Ok, now you're done. Really. :) You can run the sample scripts like this...
sudo python cpu.py
...although you may, as I do, prefer to make them executable. If so, edit them, and add this as the first line:
...then save. Then execute this command (for each, cpu.py is just one example)...
chmod 755 cpu.py
Now you can run it like this:
So I hope all that esoterica saved you some time. Like most Pi add-ons, there's a significant amount of hidden underpinnings required to, in the end, make operation of these devices as simple as it needs to be. The upside is you only need to do all the prep setup once, and after that it's smooth sailing. The downside is you have to be pretty handy to get things working sometimes, which is a shame.
I didn't take any stars off the product for any of this, as it's basically the norm for the entire Pi ecosystem. But I would say to the devs that if you're going to make support software, a description somewhere about how to get it working from scratch would sure save people a lot of time figuring out the details. Even -- gasp -- something like an apt-get thingamabob that actually sees to it that you get, and set up, everything you need in -- OMG -- *one* step! Radical, I know. My mother always told me to sit down, shut up, and eat what I was fed, too. That's why I learned to cook, and that can be your pithy homily for the day. Now pith off and get your piglow working!
I do have two complaints. First, the board covers up ALL of the pins so you have to get creative if you want to use this with anything else. Second, mine did not work out of the box because the SMD soldering on the connector did not flow properly. I noticed a little pressure on the board would cause it to flicker, so I reflowed each joint which cured that problem.
For $12 bucks, this really isn't a bad deal at all.
The first one I got had a couple of nasty solder joints, and one LED wasn't working. The replacement works fine, and the solder joints look a bit cleaner overall. I'm glad I gave it a second chance, as it really is a nice piece of kit. Just be aware that, based solely on my experience, QC may be a bit lax. 3-1/2 stars, so we'll round up to 4.
One caveat - it's not plug-and-play. If your RPi isn't already properly configured for i2c/SPI drivers, you're going to have to make sure to configure it yourself. This is an issue with most "maker" components, however, and not really the fault of the board itself. Took a few hours of digging to figure out what libs were required, and get everything set up properly. Once they were installed, however, modifying the code is rather simple.