Use A Lamp To See Into The Future

We’ve heard of magic lamps before, but this one is actually real. [Alex] has created a wall-mounted lamp that can tell you what the future will be like; at least as far as the weather is concerned. It is appropriately named “Project Aladdin” and allows you to tell a great deal about the weather at a glance as you walk out of the door.

The lamp consists of twelve LED strips arranged vertically. The bottom strip represents the current hour, and each strip above represents another hour in the future. The color of each strip indicates the temperature, and various animations of the LEDs within each strip indicate wind speed and precipitation.

The system uses a weather forecasting backend built-in Java, which is available on the project’s page. The LEDs are controlled by an application that is written in C, and the entire set of LEDs are enclosed in a translucent housing which gives it a very professional appearance. Be sure to check out the demo video after the break. Be sure to check out some other takes on weather lamps which use regular desk lamps instead of intricate scratch-made LED lamps.

Continue reading “Use A Lamp To See Into The Future”

Using The Sun To Beat The Heat

It’s practically May, and that means the sweltering heat of summer is nearly upon us. Soon you’ll be sitting outside somewhere, perhaps by a lake, or fishing from a canoe, or atop a blanket spread out on the grass at a music festival, all the while wishing you had built yourself a solar-powered personal air conditioner.

[Nords] created his from a large insulated beverage vessel. The imbibing spout offers a pre-made path to the depths of said vessel and the heart of this build, the ice water refrigerant. [Nords] fashioned a coil out of copper tubing to use as a heat exchanger and strapped it to the fan that performed best in a noise-benefit analysis.

A small USB-powered submersible pump moves the ice water up through the copper tubing. Both the pump and the fan run off of a 5V solar panel and are connected with a USB Y cable, eliminating the need for soldering. Even if you spend the summer inside, you could still find yourself uncomfortably warm. Provided you have access to ice, you could make this really cool desktop air conditioner.

[via Embedded Lab]

Arduino GPS

A Simple And Inexpensive GPS Navigation Device

There are plenty of GPS navigation units on the market today, but it’s always fun to build something yourself. That’s what [middelbeek] did with his $25 GPS device. He managed to find a few good deals on electronics components online, including and Arduino Uno, a GPS module, and a TFT display.

In order to get the map images on the device, [middelbeek] has to go through a manual process. First he has to download a GEOTIFF of the area he wants mapped. A GEOTIFF is a metadata standard that allows georeferencing information to be embedded into a TIFF image file.  [middelbeek] then has to convert the GEOTIFF into an 8-bit BMP image file. The BMP images get stored on an SD card along with a .dat file that describes the boundaries of each BMP. The .dat file was also manually created.

The Arduino loads this data and displays the correct map onto the 320×240 TFT display. [middelbeek] explains on his github page that he is currently unable to display data from two map files at once, which can lead to problems when the position moves to the edge of the map. We suspect that with some more work and tuning this system could be improved and made easier to use, of course for under $25 you can’t expect too much.

[Jay] Turns Over A New Leaf, Scores Batteries

[Jay] got a pretty good deal on a low milage Nissan Leaf battery. Unfortunately, it came wrapped in a wrecked Nissan Leaf. There are more and more electric cars on the road each year, and that means there are more cars coming off the road as well due to accidents. Electric cars are specifically designed to protect their batteries, so as we’ve seen before with Tesla vehicles,  a salvage car often will still contain a serviceable battery pack. [Jay] used this knowledge to his advantage, and walks us through his experience buying, testing, and dismantling Hoja, his very own salvage Leaf.

[Jay] set up an account on Copart, an auto salvage auction website here in the USA. “Live” online Auto auctions tend to work a bit differently than E-bay, so [Jay] walks us through the process of buying the car, and gives some tips for getting through the process. [Jay’s] particular car was delivered to him on a trailer. It had been rear ended so hard that the rear tires were not usable. The car was also electrically dead. Thankfully, the electrical problems turned out to be a discharged 12 volt accessory battery. A quick charge of the accessory battery caused the Leaf to spring to life – and display a ton of trouble codes. [Jay] cleared the codes with his trusty OBD II scanner, and the car was ready to drive, at least as much as a wrecked car can drive. It did move under its own power though – with the rear end riding on dollies.

Now that the battery was known to be good, [Jay] set about liberating it from its crushed Leaf cocoon. Nissan’s service manual assumes one would be doing this with a lift. [Jay] had no such luxuries in his driveway, so he used 3 floor jacks to lower the 600 lb battery and dollies to pull it out from under the car.

Click past the break for the rest of the story.

Continue reading “[Jay] Turns Over A New Leaf, Scores Batteries”

Teardown: An Electronic Master Lock

[rohare] has an interesting teardown for us over on the keypicking lock picking forums. It’s a Masterlock combination lock – specifically the Masterlock 1500eXD – and yes, it’s a completely electronic lock with buttons and LEDs. Think that’s the mark of a terrible lock? You might be surprised.

The first impressions of this lock were surprisingly positive. It was heavy, the shackle doesn’t move at all when you pull on it. Even the buttons and LEDs made sense. Once the back of the lock was drilled open, things got even more impressive. This lock might actually be well-built, with a ‘butterfly’ mechanism resembling a legendary padlock, actuated by a small but sufficient motor. Even the electronics are well-designed, with the programming port blocked by the shackle when it’s closed. [rohare] suspects the electronics aren’t made by Masterlock, but they are installed in a very secure enclosure.

The teardown concludes with a fair assessment that could also be interpreted as a challenge: [rohare] couldn’t find any obvious flaws to be exploited, or a simple way to break the lock. He concludes the most probable way of breaking this lock would be, “knowing some trick of logic that bypasses the codes on the electronics”. That sounds like a good enough challenge for us, and we’re eagerly awaiting the first person to digitally unlock this physical lock.

Thin Client Hack

Hacking A Thin Client To Gain Root Access

[Roberto] recently discovered a clever way to gain root access to an HP t520 thin client computer. These computers run HP’s ThinPro operating system. The OS is based on Linux and is basically just a lightweight system designed to boot into a virtual desktop image loaded from a server. [Roberto’s] discovery works on systems that are running in “kiosk mode”.

The setup for the attack is incredibly simple. The attacker first stops the virtual desktop image from loading. Then, the connection settings are edited. The host field is filled with garbage, which will prevent the connection from actually working properly. The real trick is in the “command line arguments” field. The attacker simply needs to add the argument “&& xterm”. When the connection is launched, it will first fail and then launch the xterm program. This gives the attacker a command shell running under the context of whichever user the original software is running as.

The next step is to escalate privileges to root. [Roberto] discovered a special command that the default user can run as root using sudo. The “”hpobl” command launches the HP Easy Setup Wizard. Once the wizard is opened, the attacker clicks on the “Thank You” link, which will then load up the HP website in a version of Firefox. The final step is to edit Firefox’s default email program association to xterm. Now when the attacker visits an address like “mailto:test@test.com”, Firefox (running as root) launches xterm with full root privileges. These types of attacks are nothing new, but it’s interesting to see that they still persist even in newer software.

Hackaday Prize Entry: Ground Penetrating Radar

This year’s Hackaday Prize is heating up, and right now there are quite a few projects in the works covering domains that are rarely, if ever, seen coming out of a garage or a workshop. One of the most interesting is [Glenn Powers]’ Open Ground Penetrating Radar. It’s exactly what the title says: an open-source radar system that can see into the Earth for less than $500.

While ground penetrating radar is great for archaeology and people searching for hoards buried in the middle of farmland, the biggest application is safety. You need only to Google “Florida sinkhole” to see the value of peering into the Earth.

[Glenn] is building his ground penetrating radar with a bare minimum of parts. A Baofeng VHF/UHF My First Radio™ serves as the signal generator, the controller is just an optoisolator, and the switch controller is a 7404 hex inverter. It literally can’t get simpler than that.

Of course these components can only be assembled into a simple radar, and the real value of a ground penetrating radar is the ability to map an area. For that, [Glenn] is bringing out a Pi and a GPS dongle to control the whole thing. Visualization is provided by none other than the US Navy. If it works for submarines, it should work for a metal cart, right?

It’s a great project, not only in the fact that it could help a whole bunch of people, but as a prime example of doing so much without tens of thousands of dollars in test equipment.


The 2015 Hackaday Prize is sponsored by: