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.

Raspberry Pi Want A Cracker?

If you watch the old original Star Trek, you’ll notice that the computers on board the Enterprise don’t look much like our computers (unless you count the little 3.5 inch floppies that looked pretty close to the real thing). Then again, the Enterprise didn’t need keyboards and screens since the computers did a pretty good job of listening and speaking to humans.

We aren’t quite to the point where you can just ask the computer some fuzzy open-ended question like Captain Kirk did, but we do have things like Echo, Siri, and Google Now that do a fair job of listening to you and replying. In fact, Google provides an API that can do speech recognition and generation. [Giulio] used some common Python libraries to add speech I/O to a Raspberry Pi.

Continue reading “Raspberry Pi Want A Cracker?”

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”

TensorFlow Robot Recognizes Objects

Children can do lots of things that robots and computers have trouble with. Climbing stairs, for example, is a tough thing for a robot. Recognizing objects is another area where humans are generally much better than robots. Kids can recognize blocks, shapes, colors, and extrapolate combinations and transformations.

Google’s open-source TensorFlow software can help. It is a machine learning system used in Google’s own speech recognition, search, and other products. It is also used in quite a few non-Google projects. [Lukas Biewald] recently built a robot around some stock pieces (including a Raspberry Pi) and enlisted TensorFlow to allow the robot to recognize objects. You can see a video of the device, below.

Continue reading “TensorFlow Robot Recognizes Objects”