When [James] moved to Lima, Peru, he brought his jogging habit with him. His morning jaunts to the coast involve crossing a few busy streets that are often occupied by old, smoke-belching diesel trucks. [James] noticed that his throat would tickle a bit when he got back home. A recent study linking air pollution to dementia risk made him wonder how cities could monitor air quality on a street-by-street basis, rather than relying on a few scattered stations. Lima has a lot of taxis, so why wire them up with sensors and monitor the air quality in real-time?
This taxi data logger’s chief purpose is collect airborne particulate counts and illustrate the pollution level with a Google Maps overlay. [James] used a light-scattering particle sensor and a Raspi 3 to send the data to the cloud via Android Things. Since the Pi only has one native UART, [James] used it for the particle sensor and connected the data-heavy GPS module through an FTDI serial adapter. There’s also a GPS to locate the cab and a temperature/humidity/pressure sensor to get a fuller environmental picture.
Take a ride past the break to go on the walk through, and stick around for the testing video if you want to drive around Lima for a bit. Interested in monitoring your own personal air quality? Here’s a DIY version that uses a dust sensor.
Continue reading “Distributed Air Quality Monitoring via Taxi Fleet”
The Ursa Major Space Station SST282 is a dinosaur of a digital reverb. Okay, so maybe 1978 isn’t ancient yet, but it is getting to the point where one has to worry about the possibility of component failure. At least that’s what [Obsoletetechnology] thought when they created a backup of its memory contents.
As can be seen from some of Hackaday’s previous articles, a part does not have to be an older one to fail. However, there is no such thing as being too paranoid when it comes to older parts reaching their lifetime. Especially when there is valuable memory involved. Each bit of PROM memory is locked by a fuse on its location grid to store permanent data. To be able to read this and collect the respective data, a Raspberry Pi 3 PROM reader was created.
The SST282 uses 3 TTL-level 74xx series Schottky PROM memories on board that hold RAM lookup tables. In the case that these failed, all of the subsequent information would be lost since there are no surviving memory dumps online. Fortunately we are interested only in gathering their contents, so the PROM reader schematic is fairly rudimentary. The chip’s address and data buses connect to a Pi’s GPIO header, and the only other thing to note is a 74LS541 TTL level shifter that converts the Pi’s 3.3V output to the PROM’s 5V TTL level.
Continue reading “Blast From the Past with Space Station PROM Reader”
So, your smart mirror has been running for a while, but Halloween is coming up and you want to come up with some cool Halloween stuff to display on the mirror. If you’re looking for ideas, check out [Ben Eagan]’s cool Haunted Smart Mirror which connects the mirror via a Raspberry Pi with Amazon Alexa and Phillips Hue lighting.
[Ben] points to another of his blog pages for those readers interested in the nuances of setting up Alexa with a smart mirror, while concentrating on communication with the Hue bridge and creating the setup for a new Alexa command in this post. Dealing with the Phillips Hue API seems fairly straightforward: Get the IP address of your Hue bridge from your router and the ID of your lights from the Hue app and you’re set to send commands via HTTP. [Ben] includes a Python script to make the lights flicker, which you can modify for your own lights as you wish. Once that’s done, you’ll need to set up the intent that Alexa listens for, and then modify the AWS lambda function that sends commands to the Pi. When the command shows up in the queue on the Pi, any commands [Ben] wants to play are fired off – in this case, a video is played and the Hue lights start to flicker.
There’s no mention of security in the article, so that may be worth a little attention with Alexa and the Hue, but with Halloween coming up fast even if you haven’t built a magic mirror yet, if you’ve got Hue lights, this would be a great, quick, Halloween idea. Especially if you could combine it with your outside lights so that Trick-or-Treaters can join in on the fun. Maybe you’d prefer looking up passing planes using Alexa? Or how about getting your fish to talk?
Continue reading “Haunting A Smart Mirror With Hue and Alexa”
We’ve become used to readily available single board computers of significant power in form factors that would have seemed impossibly small only a few years ago. But even with a board the size of a credit card such as a Raspberry Pi, there are still moments when the available space is just too small to fit the computer.
The solution resorted to by enterprising hardware hackers is often to remove extraneous components from the board. If there is no need for a full-size USB port or an Ethernet jack, for example, they can safely be taken away. And since sometimes these attempts result in the unintended destruction of the board, yonder pirates at Pimoroni have taken viewers of their Bilge Tank series of videos through the procedure, creating in the process what they describe as “The World’s Thinnest Raspberry Pi 3“.
The USB and Ethernet ports, as large through-hole components, were the easiest to tackle. Some snipping and snapping removed the tinware and plastic, then the remains could be hand-desoldered. The GPIO pins resisted attempts to remove their plastic for easy desoldering, so for them they had to resort to a hot air gun. Then for the remaining camera, HDMI, and display ports the only option was hot air. Some cleaning up with desoldering braid, and they had their super-thin Pi. They weren’t quite done though, they then took the reader through modifying a Raspbian Lite distribution to deactivate support those components that have been removed. This has the handy effect not only of freeing up computer resources, it also saves some power consumption.
You might point out that they could have just used a Pi Zero, which with its SD card on the top surface is even a little bit thinner. And aside from the question of extra computing power, you’d be right. But their point is valid, that people are doing this and not always achieving a good result, so their presenting it as a HOWTO is a useful contribution. We suspect that a super-thin Pi 3 will still require attention to heat management though.
Take a look at the video, we’ve put it below the break.
Continue reading “The World’s Thinnest Raspberry Pi 3”
As a fun project I thought I’d put Google’s Inception-v3 neural network on a Raspberry Pi to see how well it does at recognizing objects first hand. It turned out to be not only fun to implement, but also the way I’d implemented it ended up making for loads of fun for everyone I showed it to, mostly folks at hackerspaces and such gatherings. And yes, some of it bordering on pornographic — cheeky hackers.
An added bonus many pointed out is that, once installed, no internet access is required. This is state-of-the-art, standalone object recognition with no big brother knowing what you’ve been up to, unlike with that nosey Alexa.
But will it lead to widespread useful AI? If a neural network can recognize every object around it, will that lead to human-like skills? Read on. Continue reading “DIY Raspberry Neural Network Sees All, Recognizes Some”
[HydroGraphix HeadQuarters] has earned his name with this one. While he is using mineral oil instead of hydro, he’s certainly done a nice job with the graphics of it. The ‘it’ in questions is an overclocked Raspberry Pi 3 in a transparent container filled with mineral oil, and with a circulating fan.
He’s had no problem running the Pi at 1.45 GHz while running a Nintendo 64 emulator, getting between 40 °C and 50 °C. The circulating fan is a five volt computer USB fan. It’s hard to tell if the oil is actually moving, but we’re pretty sure we see some doing so near the end of the video below the break.
Mineral oil is not electrically conductive, and is often used to prevent arcing between components on high voltage multiplier boards, but those components are always soldered together. If you’ve ever worked with mineral oil, you know that it creeps into every nook and cranny, making us wonder if it might work its way between some of the (non-soldered) contacts in the various USB connectors on this Raspberry Pi. Probably not, but those of us with experience with it can attest to it’s insidiousness.
Continue reading “Liquid Cooling Overclocked Raspberry Pi With Style”
Eager to get deeper into robotics after dipping my toe in the water with my BB-8 droid, I purchased a Raspberry Pi 3 Model B. The first step was to connect to it. But while it has built-in 802.11n wireless, I at first didn’t have a wireless access point, though I eventually did get one. That meant I went through different ways of finding it and connecting to it with my desktop computer. Surely there are others seeking to do the same so let’s take a look at the secret incantations used to connect a Pi to a computer directly, and indirectly.
Continue reading “Networking: Pin the Tail on the Headless Raspberry Pi”