February 15, 2013 AT 5:00 am

Thirsty for OJ after NERP at Pumping Station: One… #piday #raspberrypi @Raspberry_Pi

OrangeJuice

A fun project after Pi hacking for NERP @ Pumping Station One, shared by Drew Fustini on Google+:

Ste was thirsty for OJ after NERP at Pumping Station: One so we figured out how to display orange on the Adafruit LCD Pi Plate.  The I2C I/O chip doesn’t have PWM, so Python can only turn on/off red, green and blue.  So we decided to switch between red and yellow quickly with a 3 to 2 ratio and our brains saw orange (although sadly my camera not so much). 

Code snippet… very inefficient.  my hope is this idea could be implemented properly with enough optimization to be useful

Read more.

SwitchBetweenStates


Featured Adafruit Product

1109

Adafruit RGB Positive 16×2 LCD+Keypad Kit for Raspberry Pi: This new Adafruit Pi Plate makes it easy to use an RGB 16×2 Character LCD. We really like the RGB Character LCDs we stock in the shop. (For RGB we have RGB negative and RGB positive.) Unfortunately, these LCDs do require quite a few digital pins, 6 to control the LCD and then another 3 to control the RGB backlight for a total of 9 pins. That’s nearly all the GPIO available on a Pi! With this in mind, we wanted to make it easier for people to get these LCD into their projects so we devised a Pi plate that lets you control a 16×2 Character LCD, up to 3 backlight pins AND 5 keypad pins using only the two I2C pins on the R-Pi! The best part is you don’t really lose those two pins either, since you can stick i2c-based sensors, RTCs, etc and have them share the I2C bus. This is a super slick way to add a display without all the wiring hassle. (read more)


998Each Friday is PiDay here at Adafruit, be sure to check out our posts, tutorials and new Raspberry Pi related products. Have you tried the new “Adafruit Raspberry Pi Educational Linux Distro” ? It’s our tweaked distribution for teaching electronics using the Raspberry Pi. But wait, there’s more! Try our new Raspberry Pi WebIDE! The easiest way to learn programming on a Raspberry Pi.

We now have Raspberry Pi Model B with 512MB RAM in stock and shipping now!


“D is for Diode” – Circuit Playground Episode 4 is out now! CLICK HERE TO WATCH!

Have an amazing project to share? Join the SHOW-AND-TELL every Wednesday night at 7:30pm ET on Google+ Hangouts.

Join us every Wednesday night at 8pm ET for Ask an Engineer!

Learn resistor values with Mho’s Resistance or get the best electronics calculator for engineers “Circuit Playground”Adafruit’s Apps!



No Comments

No comments yet.

Sorry, the comment form is closed at this time.