Hacklet 49 – Weather Display Projects

Everyone wants to know what the weather is, and what it is going to be. Today’s internet enabled forecasts give us continuous streams of current weather data and predictions from any of several computer models. Couple that with data from an on-site station, and you’ve got a lot of information to display! It makes sense that weather display projects would be popular with hackers, makers and engineers. What do you do after you build the worlds most awesome clock? Build the worlds most awesome weather display (and then incorporate a clock in there as well!).

Last week on The Hacklet I mentioned that there are two basic types  of weather projects on Hackaday.io: Sensing and Display projects. There was a bit of foreshadowing there, as this week’s Hacklet covers some of the best weather display projects on Hackaday.io!

geoWe start with [Ashley Hennefer] and G.E.O, a project which is out of this world – literally. Geological Environment Observer, or G.E.O was created for NASA’s Space Apps Challenge. G.E.O’s mission is to keep astronauts on long-distance space flight missions connected with their home city (and planet). An astronaut programs the device with their home city and G.E.O takes it from there. Inside a glass globe, G.E.O creates weather patterns mirroring the programmed city. It does this with Adafruit NeoPixel LEDs, a water pump, a mist generator, and a wave shield. An Intel Edison controls the system. For now, weather data and programming are completed using a web interface. Once G.E.O launches though, data will be streamed via NASA’s deep space network.

flaps[Sephen DeVos] keeps track of the weather with a glance at his Internet Split Flap Weather Clock. Lots of weather apps use simple icons to display the current conditions. [Sephen] placed those icons on a mechanical split flap display which lets him know the conditions outside. The project’s case came from a donor clock given to [Sephen] by his parents. He then 3D printed an entire split flap mechanism, including the gears! Each 50 mm x 100 mm flap forms half an image.  A small stepper drives the flaps, while an IR detector lets the system know when it has reached a home position. Control is handled by an Arduino Nano and companion Ethernet shield. The Arduino checks the weather every 30 minutes. If conditions have changed, it flips to the right icon. Genius!

usmap[Dan Fein] is keeping track of the temperature across the entire USA with Weather Map. [Dan] works for Weather Underground, so it’s no surprise that he uses their API (accessed via a node.js script) for weather data. The data is fed into a spark core which then drives a string of 100 WS2812 LEDs. Each LED is mapped to a specific point in the continental USA. Color indicates the current temperature at that location. [Dan] does caution that you’ll have to slow down access to Weather Underground  if you’re using a free API key. Even with slower updates, this is still an awesome project!

yaws[Jeff Thomas] went the traditional route with YAWS – (Yet Another Weather Station). YAWS uses a 5 inch TFT LCD to display weather data from a number of sensors. [Jeff] got his display and the driver board from buydisplay.com. The driver board uses the venerable RA8875 display driver chip. The RA8875 handles all the hard parts of driving an LCD, like video RAM, refresh, and clocks. This allows a relatively slow Arduino to drive all those pixels. [Jeff] created a very handsome interface to display all his data, but he has a small problem – a memory leak causes the system to freeze up every 18 hours! We’re hoping [Jeff] will share his source code so the Hackaday.io community can help him find that pesky bug!

If you want to see more projects like these, check the Weather Display Projects list on Hackaday.io. That’s it for this week’s Hacklet, As always, see you next week. Same hack time, same hack channel, bringing you the best of Hackaday.io!

LayerOne Hardware Hacking Village

Go to DEFCON and you’ll stand in line for five hours to get a fancy electronic badge you’ll be showing to your grandchildren some day. Yes, at DEFCON, you buy your hacker cred. LayerOne is not so kind to the technically inept. At LayerOne, you are given a PCB, bag of parts, and are told to earn your hacker cred by soldering tiny QFP and SOT-23 chips by hand. The Hardware Hacking Village at LayerOne was packed with people eagerly assembling their badge, or badges depending on how cool they are.

The badges are designed by [charlie x] of null space labs, one of the many local hackerspaces around the area. The design and construction of these badges were documented on the LayerOne Badge project on hackaday.io, and they’re probably best con badges we’ve ever seen.

There are two badges being distributed around LayerOne. The first is an extremely blinkey badge with a Cypress PSoC4 controlling 22 individually addressable RGB LEDs. Most conference attendees received a bare PCB and a bag of parts – the PCB will get you in the door, but if you want your nerd cred, you’ll have to assemble your own badge.

There are still a few interesting features for this badge, including an ESP8266 module that will listen to UDP packets and drive the LEDs. Yes, a random person on the same WiFi AP can control the LEDs of the entire conference event. The badges can also be chained together with just three wires, but so far no one has done this.

vocore
The Speaker and Staff badge, based on a VoCore

The second badge – for speakers and staff – is exceptionally more powerful. It’s a Linux box on a badge with two Ethernet connectors running OpenWRT. For a con badge, it’s incredibly powerful, but this isn’t the most computationally complex badge that has ever been at a LayerOne conference. For last year’s badge, [charlie] put together a badge with an FPGA, SAM7 microcontroller, SD card, and OLED display. They were mining Bitcons on these badges.

The Hardware Hacking Village was loaded up with a dozen or so Metcal soldering irons, binocular microscopes, and enough solder, wick, and flux to allow everyone to solder their badge together. Everyone who attempted it actually completed their badge, and stories of badge hacking competitions at other cons were filled with tales of people sprinkling components on random solder pads. Imagine: a conference where people are technically adept. Amazing.

Unix On Your Breadboard

As smartphones continue to get bigger and bigger, the race to have the smallest chip running Unix (or Linux, as the case may be) is still on. A new contender in this arena is [Serge] who has crammed RetroBSD on a Fubarino microcontroller for a powerful breadboard-friendly device.

The device uses a PIC32MX795 processor to run version 2.11BSD Unix for microcontrollers. It uses only 128 kbytes of RAM which is great for the limited space available, but it doesn’t skimp on software. It has a C compiler, assembler, and a whole host of other utilities that you’d expect to find in something much more powerful. All of this comes in a package that has breadboard-compatible pins so you can interface your Unix with the real world.

There’s a video below that shows the device in action, and a whole host of instructions that’ll get you up and running in no time if you have the hardware available. [Serge] mentioned that this would run on other architectures but is looking for others to join the project to port it to those processors. This isn’t the first time we’ve seen *nix installed on a microcontroller, but it is one of the more useful ones!

Continue reading “Unix On Your Breadboard”

Hackaday Prize Entry: Density Altitude Gauge

Despite what extraordinarily overpowered quadcopters suggest, the air pressure of whatever a flying machine flys at is extremely important. Pressure is dependent on altitude and temperature, and there are hundreds of NTSB investigations that have concluded density altitude – pressure altitude corrected for nonstandard temperature variations – was the reason for a crash. Normally density altitude is computed through a slide rule or a flight computer, with the pilot entering in altitude and temperature, but somehow accidents still happen. For his entry to The Hackaday Prize, [Neil McNeight] is building an automated density altitude calculator to automate the process entirely.

Instead of having a pilot enter the altitude and temperature into a flight computer manually, [Neil]’s device grabs the current altitude from a GPS unit, and reads the temperature with a tiny sensor acquired from SparkFun. With just a little bit of math, this device will spit out the altitude an airplane or ‘copter thinks it’s at.

While the FAA won’t allow instruments that are cobbled together on a breadboard, this does have a few applications in the RC world. There are extremely high performance racing quadcopters out there now, and knowing how the craft will perform before flying it will save a few props.


The 2015 Hackaday Prize is sponsored by:

Hackaday Prize Entry: Open Source Hydroponic Monitoring System

A few months ago, [Adam] was building a controller system for a small hydroponic system he had set up in his basement. Since then, the Hackaday Prize was announced, and given the theme – saving the world one plant at a time – he’s renvisioning his garden control and monitoring system as a Hackaday Prize entry.

While the mechanical and green part of the build is exactly what you would expect from something designed from hardware store parts, the electronics are rather interesting. All the plants in either a hydroponic or dirt-based setup will have their moisture level and PH monitored by a a set of electronics that push data up to the cloud.

The current hardware setup includes a DyIO, a very cool dev platform with 24 digital I/Os and 24 servo outputs, a Raspberry Pi, and a few module boards loaded up with ARM microcontrollers and an ESP8266. [Adam] is hitting all the hardware on this build.

So far, [Adam] has a few boards sent out to a board fab, including an analog sensor module, a digital sensor module. a WiFi module hub, and a few bits and bobs that make integration into an existing garden or hydroponic setup easier. It’s a great project for this year’s Hackaday Prize, and proof that you don’t need to come up with a new build to submit something.


The 2015 Hackaday Prize is sponsored by:

Hackaday Prize Entry: Multispectral Imaging For A UAV

At least part of the modern agricultural revolution that is now keeping a few billion people from starving to death can be attributed to remote sensing of fields and crops. Images from Landsat and other earth imaging satellites have been used by farmers and anyone interested in agriculture policy for forty years now, and these strange, false-color pictures are an invaluable resource for keeping the world’s population fed.

The temporal resolution of these satellites is poor, however; it may be a few weeks before an area can be imaged a second time. For some uses, that might be enough.

For his Hackaday Prize entry (and his university thesis), [David] is working on attaching the same kinds of multispectral imaging payloads found on Earth sensing satellites to a UAV. Putting a remote control plane up in the air is vastly cheaper than launching a satellite, and being able to download pictures from a thumb drive is much quicker than a downlink to an Earth station.

Right now, [David] is working with a Raspberry Pi and a camera module, but this is just experimental hardware. The real challenge is in the code, and for that, he’s simulating multispectral imaging using Minecraft. Yes, it’s just a simulation, but an extremely clever use of a video game to simulate flying over a terrain. You can see a video of that separated into red, green, and blue channels below.


The 2015 Hackaday Prize is sponsored by:

Continue reading “Hackaday Prize Entry: Multispectral Imaging For A UAV”

Hackaday Prize Entry: DC Motor Controller

There are a lot of cheap Chinese CNC machines out there with okay mechanics and terrible electronics. The bearings aren’t complete crap, but the spindle of these CNC machines is a standalone PWM controller with a pot to control the speed. This means you can’t control the spindle speed with LinuxCNC or Mach3.

For his Hackaday Prize entry, [SUF] is building a DC motor controller for a Chinese spindle motor that doesn’t use any kind of encoder. The first part of that project is fairly easy; [SUF] has already built a high current driver. The second bit is a little it harder – because these spindles don’t have an encoder, [SUF] will have to read voltage spikes on the motor poles, giving him the RPM of the spindle. From there, it’s a bit of PID code to get this spindle running at a desired RPM and connecting it to a CNC control box.

So far, [SUF] has a second version of his board waiting for assembly. In the first version of the board, the switching time for the MOSFET was a little slow, but that’s all corrected in the current revision. It’s a great project to extend the capability of these cheap CNC machines, and perfect project for the Hackaday Prize.


The 2015 Hackaday Prize is sponsored by: