Driving P5 Panels With A Raspberry Pi

Building displays out of LEDs can be fun, but quickly becomes tedious as the pixel count increases. At this point, it’s worthwhile investing in off-the-shelf panels that have everything pre-soldered and ready to go. [Tom Hammond] wanted to run a P5 panel, and put a Raspberry Pi to work to get it going.

P5 panels are so-called for their 5 mm spacing between LEDs. The panels in question are built with RGB LEDs, allowing full-color graphics to be displayed. In this build, a 64 x 32 panel is used for a total of 2048 pixels. A Raspberry Pi Zero runs the display, using its GPIO to clock out pixel data. Software designed for Christmas light displays is used to program the light show, with xLights being the choice in this case. It’s all wrapped up in a tidy 3D printed frame, and the final product looks remarkably well put together.

It’s a great way to get familiar with P5 panels, and an excellent starting point if you’re contemplating a larger build down the track. If you’re going all out, consider how to make the most of your install from an architectural perspective. Video after the break.

Continue reading “Driving P5 Panels With A Raspberry Pi”

Reon Pocket Keeps You Cool With A Peltier Element

With another summer of heatwaves leaving its mark on our planet, finding a way to stay cool during the day isn’t an easy task. From the morning and afternoon commute in public transport, to busy crowds outside during lunch hour, there are many times when you cannot just find a place inside an airconditioned room to deal with the heat. Exactly for this purpose Sony has successfully completed a kickstarter (in Japanese) on its corporate ‘First Flight’ crowdfunding platform for the Reon Pocket.

Many people probably aren’t aware of Sony’s crowdfunding platform, but it’s a way to gauge the interest from the public for more ‘out there’ products, which do not fit Sony’s usual business model. In this case the Reon Pocket is a Peltier-based device which is placed against the back of one’s neck, from where it can either lower or increase the body’s temperature, reportedly by -13 ℃ and +8.3 ℃ respectively.

Covered in more detail by Engadget and its Japanese sister site, the reported 24 hour battery life refers to the Bluetooth link that connects the device with one’s smartphone, whereas the battery lasts under two hours with the peltier element active. This is probably not too shocking to anyone who knows how a peltier element functions, and how much electricity they consume.

Still, the basic concept seems sound, and there are functioning prototypes. While a 2-hour battery life isn’t amazingly long, it can be just the thing one needs to keep one’s cool during that 15 minute walk to the office in a three-piece suit, without needing a shower afterwards. The device isn’t expensive either, with a projected ¥12,760 (about $117) supplied. Naturally the device will only be on sale in Japan.

Continue reading “Reon Pocket Keeps You Cool With A Peltier Element”

Creative Limitation And The Super Nintendo Sound Chips

The Super Nintendo recently experienced a surge in popularity, either from a combination of nostalgic 30-somethings recreating their childhoods, or because Nintendo released a “classic” version of this nearly-perfect video game system. Or a combination of both. But what made the system worthy of being remembered at all? With only 16 bits and graphics that look ancient by modern standards, gameplay is similarly limited. This video from [Nerdwriter1] goes into depth on a single part of the console – the sound chips – and uses them to illustrate a small part of what makes this console still worth playing even now.

The SNES processed sound with two chips, a processing core and a DSP. They only had a capacity of 64 kb, meaning that all of a game’s sounds and music had to fit in this tiny space. This might seem impossible if you’ve ever played enduring classics like Donkey Kong Country, a game known for its impressive musical score. This is where the concept of creative limitation comes in. The theory says that creativity can flourish if given a set of boundaries. In this case it was a small amount of memory, and within that tiny space the composer at Rare who made this game a work of art was able to develop a musical masterpiece within strict limitations.

Even though this video only discusses the sound abilities of the SNES, which are still being put to good use, it’s a good illustration of what made this system so much fun. Even though it was limited, game developers (and composers) were able to work within its limitations to create some amazingly fun games that seem to have withstood the test of time fairly well. Not all of the games were winners, but the ones that were still get some playtime from us even now.

Continue reading “Creative Limitation And The Super Nintendo Sound Chips”

Ping-Pong Ball Makes Great PID Example

It is a common situation in electronics to have a control loop, that is some sort of feedback that drives the input to a system such as a motor or a heater based upon a sensor to measure something like position or temperature. You’ll have a set point — whatever you want the sensor to read — and your job is to adjust the driving thing to make the sensor read the set point value. This seems easy, right? It does seem that way, but in realitythere’s a lot of nuance to doing it well and that usually involves at least some part of a PID (proportional, integral, derivative) controller. You can bog down in math trying to understand the PID but [Electronoobs] recent video shows a very simple test setup that clearly demonstrates what’s going on with an Arduino, a motor, a distance sensor, and a ping-pong ball. You can see the video below.

Imagine for a moment heating a tank of water as an example. The simple approach would be to turn on the heater and when the water reaches the setpoint, turn the heater off. The problem there is though that you will probably overshoot the target. The proportional part of a PID controller will only turn the heater fully on when the water is way under the target temperature. As the water gets closer to the right temperature, the controller will turn down the input — in this case using PWM. The closer the sensor reads to the setpoint, the lower the system will turn the heater.

Continue reading “Ping-Pong Ball Makes Great PID Example”

Reflecting On Margaret Hamilton: 50 Years After Apollo 11

In celebration of the 50th anniversary of the first Apollo moon landing, Google created a 1.4-square-mile portrait of NASA software developer Margaret Hamilton using more than 107,000 mirrors from the Ivanpah Solar Facility in the Mojave Desert, a solar thermal power plant with a gross capacity of 392 megawatts.

The fields of heliostat mirrors (173,500 in total) ordinarily focus sunlight on receivers located on the solar power towers, which subsequently generate steam to drive steam turbines. The facility was first connected to the electrical grid in September 2013 before formally opening in February 2014, during which it was the world’s largest solar thermal power station. Ivanpah was developed by BrightSource Energy and Bechtel, with Google contributing $168 million towards its $2.2 billion in costs. Google no longer invests in the facility, however, due to the decline of the price of photovoltaic systems.

The facility has historically taken steps to avoid disrupting the natural wildlife, which includes desert tortoises. The effect of mirror glare on airplane pilots, water concerns, and collisions with birds has also been addressed by the operators of the installation.

According to Google, the image was larger than Central Park and could be seen a mile above sea level. The mirrors are all attached to a rotating mount that maneuvers the mirrors in order to create lighter and darker shades to make up the image.

The Apollo 11 mission, manned by Buzz Aldrin, Neil Armstrong, and Michael Collins, was the first to bring humans to the moon in 1969. Hamilton‘s role in the team included programming the in-flight software for all of NASA’s Apollo missions. She had also worked on satellite tracking software for the Air Force through Lincoln Lab (started by the Massachusetts Institute of Technology) and later joined the Charles Stark Draper Laboratory. It was, however, her work on creating computer systems to predict and track weather systems for use in anti-aircraft air defenses that made her a candidate for a lead developer role at NASA.

Continue reading “Reflecting On Margaret Hamilton: 50 Years After Apollo 11”

Big Ol’ LED Wall Looks Cool, Can Draw Over 170 Amps

Building giant LED walls comes with a serious set of challenges. Whether they lie in power, cable routing, or just finding a way to clock out data fast enough for all the pixels, it takes some doing to build a decent sized display. [Phill] wanted a statement piece for the office, so rolled up his sleeves and got to work.

The build uses P5 panels, which we’ve seen used before on a smaller scale. Initial testing was done with a Raspberry Pi 3, which started to run out of grunt when the build reached 28 panels. The refresh rate was slow, and anything with motion looked messy. At that point, a dedicated driver was sourced in order to handle the full 48-panel display. Other challenges involved dealing with the huge power requirements – over 170 amps at 5 volts – and building a frame to hold all the panels securely.

The final product is impressive, standing 2 meters wide and 1.2 meters high. Resolution is 384 x 256. With a Mac Mini running video into the display through the off-the-shelf driver, all manner of content is possible. [Phill] even whipped up a Slack channel for users to send GIFs and text messages to the display. Naturally, we’re sure nobody will take advantage of this functionality.

If you’ve got your own giant LED wall, and you’re dying to tell us about it, make sure you get in touch. Video after the break.

Continue reading “Big Ol’ LED Wall Looks Cool, Can Draw Over 170 Amps”

Open Source Smart Display Takes The Long Way Around

Thanks to the relatively low cost of the Raspberry Pi and high resolution LCD screens, “smart displays” have become a favorite project of those looking to clear out their parts bins. Just hook the Pi up to the screen, setup some software, and you’ve got yourself a digital bulletin board for your home that can show your schedule, the weather, etc. Build it into a mirror, and you’ve got yourself at least double Internet points.

But when [John Basista] started planning his own smart display, he decided to take the path less traveled. He’s entered the resulting open source project into the 2019 Hackaday Prize, and we’re very excited to see where it goes from here. Even in these early days he’s already made some great strides, with nary a Raspberry Pi in sight.

[John] has nothing against using the Raspberry Pi for these smart displays, and indeed, it has a number of traits which make it particularly well suited to the task. But the problem for him was that it only supported HDMI, and he had his heart set on using an Embedded DisplayPort (eDP) screen. Namely the Innolux N173HCE-E31, a 17.3 inch IPS LCD designed for laptops.

He tried to find a Linux or Android compatible SBC that featured eDP, but found it to be a challenge. There were some x86 options, but didn’t want to go down that road. Eventually he settled on the Dragonboard 410c, which features a quad-core Qualcomm APQ8016E CPU running at 1.2 GHz and 1GB of RAM. This board didn’t have eDP either, but it did have Display Serial Interface (DSI), which he could convert to eDP with the Texas Instruments SN65DSI86 IC.

From there, he started developing a PCB which would hold the Dragonboard 410c and the SN65DSI86. The board also breaks out I2C and UART so he can connect it to various other sensors and gadgetry down the road, and includes all the necessary power regulation to drive everything. The whole thing fits in the palm of your hand, and judging by the renders [John] has put together, should nestle nicely into the back of the 3D printed enclosure when everything is finished.

There’s still quite a bit left to do on this project, but [John] has plenty of time to tie up the loose ends. Currently there’s little information about the software side of things, but as you can see in the video after the break, it’s now running Android which should make things relatively easy.

Continue reading “Open Source Smart Display Takes The Long Way Around”