Hackaday Links Column Banner

Hackaday Links: October 16, 2016

You need only look at the weekly user account leak from a popular web service or platform to know there’s a problem with security. Reusing passwords is the dumbest thing you can do right now, and the Mooltipass Mini is the answer to that problem. The Mooltipass originally began as a Developed on Hackaday series, and we log frequent sightings of the Multipass (maxi?) at security cons. The Mini is smaller, has exactly the same capability, and is completely unrepairable. It’s very cool, and if your email password is the same as your banking account passwords, you kind of need this yesterday.

Last weekend was the Open Hardware Summit in Portland. All the talks were worth watching, but editing the talks down into something sensible takes time. In lieu of this, OSHPark has gone through the livestream and timestamped everything

Continue reading “Hackaday Links: October 16, 2016”

Weather Ticker Shows How Easy It Can Be

[Petru] seems to have designed his weather ticker project with beginners in mind. Leveraging the inexorable forces of both the Raspberry Pi and cheap online auction house modules, it’s nearly the Hackaday equivalent of painting by numbers. But not everyone is a Picasso, and encouraging beginners to get their feet wet by painting happy little trees is a good cause.

Behind the simplicity is actually a clever architecture. An installation script makes installing the right Raspbian distro simple, and installs a few scripts that automatically update the user code from a GitHub repository. To change the code running on the machine, you can upload a new version to GitHub and press the reset button. (We would also want a way to push up code changes locally, for speed reasons.) Something like this is a great idea for a permanent Pi-based IoT device.

But as a first project, the hope is that something like this will encourage folks who find code too abstract, but who are nonetheless drawn by the allure of blinking lights, to play around with code. And unsurprisingly, this has already been entered in our Enlightened Raspberry Pi Contest which focuses on the simple-yet-impressive stuff you can do with a tiny computer and some electronics.

Amazon Dash Reboots Your Pi

We all know feature creep can be a problem in almost any project. A simple idea can often become unusable if a project’s scope isn’t clearly defined in the beginning. However, the opposite problem sometimes presents itself: forgetting to include a key feature. [Zach] had this problem when he built a Raspberry Pi magic mirror and forgot to build a physical reset/shutoff switch. Luckily he had a spare Amazon Dash button and re-purposed it for use with his Pi.

The Raspberry Pi doesn’t include its own on/off switch. Without installing one yourself, the only way to turn off the device (without access to the terminal) is to unplug it, which can easily corrupt data on the SD card. Since [Zach]’s mirror was already complete, he didn’t want to take the entire thing apart just to install a button. There’s already a whole host of applications for the Dash button, so with a little Node.js work on the Raspberry Pi he was able to configure a remote-reset button for his mirror.

This is a similar problem for most Raspberry Pi owners, so if you want to follow [Zach]’s work he has done a great job detailing his process on his project site. If you’re looking for other uses for these convenient network-enabled buttons, he also links to a Github site with lots of other projects. This pizza button is probably our favorite, though.

Keep Tabs On The Weather With Rpi_status

[Facelessloser] is interested in glanceable information. Glancable devices are things like your car’s dashboard, your wristwatch, or widgets on a smartphone lockscreen. The glanceable information distribution system in this case is rpi_status, [facelessloser’s] entry in the Enlightened Raspberry Pi Contest.

[Facelessloser] coupled a ring of eight WS2812 RGB LEDs with a small OLED screen managed by a the common ssd1306 controller. Since he was rolling his own board for this project, [faceless] some buttons and a BMP180 temperature sensor. Going with popular parts like this meant libraries like the Pimoroni unicorn hat library for the WS2812 were readily available.

A simple display like this can show just about anything – from status of a nightly software build, to traffic along your morning commute. [Facelessloser] is using it for weather data. His data source is Weather Underground’s API. Weather information is displayed on the OLED. The WS2812’s display the temperature. A single blue light means cold. The ring fills as the temperature warms up. After eight degrees of blue, the color changes to orange, followed by red.

Check out the video after the break for a short demo of the board.

Continue reading “Keep Tabs On The Weather With Rpi_status”

From CRT TV To All-In-One Console

When the Raspberry Pi first appeared there was some excitement among Raspberry Jam attendees at the prospect of a computer with a video output on a board small enough to be concealed inside a TV. But while the idea is a good one the prospect of poking around among the high voltages of an older CRT model has meant that surprisingly few such ideas turned into reality.

One person who made the idea into a reality was [Jon], who took a [Dora] The Explorer branded CRT/DVD combo in a fetching shade of red and turned it into an all-in-one retro console gaming system with an embedded Raspberry Pi.

nintendo-crt-tv-thumbnailThis is however not merely a Pi stuffed inside the rear casing with a few holes for cables, instead he took away the substantial part of the DVD mechanism and mounted his Pi safely in a plastic box. Some USB extension cables bring all four USB sockets to the front panel through the DVD slot with a bit of Sugru to hold them in place. An HDMI panel-mount extension goes to the TV’s rear connector panel, as does a power switch for the Pi which is wired to a USB charger mounted on a trailing mains socket inside the case. The composite video from the Pi is wired to the TV’s AV in video socket.

We don’t blame [Jon] for not looking at the TV’s power rails to find power for his Pi, though a TV of this recent age would have safely mains-isolated rails that’s still a task fraught with hazards. The resulting unit is a high quality retro console, and as a final touch he’s given it a Nintendo logo and some storage for his gamepads on the rear.

We’ve had a few CRTs with integrated computers before here at Hackaday, but not all have been as they seemed. This Pi for instance sat in a vintage Singer TV, but the CRT was replaced with a modern LCD. Our favourite though it this Chromecast driving a 1978 GE model.

Raspberry Pi Boots CP/M

Retrocomputing is an enjoyable and educational pursuit and — of course — there are a variety of emulators that can let you use and program a slew of old computers. However, there’s something attractive about avoiding booting a modern operating system and then emulating an older system on top of it. Part of it is just aesthetics, and of course the real retrocomputing happens on retro hardware. However, as a practical matter, retrocomptuters break, and with emulation, you’d assume that CPU cycles spent on the host operating system (and other programs running in the background) will take away from the target retrocomputer.

If you want to try booting a “bare metal” Z80 emulator with CP/M on a Raspberry Pi, you can try EMUZ80 RPI. The files reside on an SD card and the Pi directly boots it, avoiding any Linux OS (like Raspian). It’s available for the Raspberry Pi Model B, A+, and the Raspberry Pi 2 Model B. Unlike the significant boot times of the standard Linux distros on the earliest models of Pi, you can boot into CP/M in just five seconds. Just like the old days.

The secret to this development is an open source system known as Ultibo, a framework based on Open Pascal which allows you to create bare metal applications for the Raspberry Pi. The choice of Free Pascal will delight some and annoy others, depending on your predilections. Ultibo is still very much in active development, but the most common functions are already there; you can write to the framebuffer, read USB keyboards, and write to a serial port. That’s all you really need to make your own emulator or write your own Doom clone. You can see a video about Ultibo (the first of a series) below.

Continue reading “Raspberry Pi Boots CP/M”

Hackaday Prize Entry: Raspberry Pi Zero Smart Glass

Some of the more interesting consumer hardware devices of recent years have been smart glasses. Devices like Google Glass or Snapchat Spectacles, eyewear incorporating a display and computing power to deliver information or provide augmented reality on an unobtrusive wearable platform.

Raspberry Pi Zero Smart Glass aims to provide an entry into this world, with image recognition and OCR text recognition in a pair of glasses courtesy of a Raspberry Pi Zero. Unusually though it does not take the display option of other devices of having a mirror or prism in the user’s field of view, instead it replaces the user’s entire field of view with a display and re-connects them to the world through the Raspberry Pi camera.

The display in question is an inexpensive set of “3D Virtual Stereo Digital Video glasses”, of the type that can be found fairly easily on your favourite auction site. They aren’t particularly high-resolution, but the Pi can easily drive them with its composite video output. The electronics and camera are mounted on a headband, in a custom 3D-printed enclosure. All files can be downloaded from the project page.

There is some Python software, but it’s fair to say that there is not a clear demo on the project page showing it working. However this is no reason to disregard this project, because even if its software has yet to achieve its full potential there is value elsewhere. The 3D-printed Raspberry Pi enclosure should be of use to many other similar wearable projects, and we’d almost say it’s worthy of a project all of its own.