A Simple Streaming Radio Receiver

For those interested in a career in broadcast radio there aren’t many routes into the business. Student radio, pirate radio, and hospital radio usually feature somewhere near the start of any DJ’s resumĂ©. Hospital radio stations often don’t have a transmission license and have historically relied on wired systems, but since those can’t reach everywhere they are now more likely to look to the Internet. [AllanGallop] has created the Mini Web Radio for the hospital station in the British city of Milton Keynes, a compact battery-powered single station streaming radio receiver that can pick up those tunes anywhere with a wireless network connection.

Inside the neatly designed 3D printed box the hardware is quite straightforward, a WeMos ESP32 board and a MAX98357A I2S digital amplifier module all powered by an 18650 cell. There’s a volume control and headphone socket, which is all that’s needed for the user interface. The software has code for both Arduino and Platform.io and is configured as you might expect through a web interface. Everything can be found in a handy GitHub repository should you wish to build one yourself. Meanwhile, it’s particularly pleasing as a Hackaday scribe to feature a project with roots in one’s own hackerspace, in this case, Milton Keynes Makerspace.

Thanks [Cid] for the tip!

SSH Is Magic, But Tunnels Are Even Better

Once upon a time, I was doing on-site support for a hardware install at a hotel a few years ago. The remote tech’s remote desktop software didn’t want to play with my Linux laptop, so he couldn’t get into the switch he needed to configure, to make the install work. I asked if it had an SSH port he could use, were he were in the room with me. Of course it did, but that didn’t do him much good. I ran a reverse SSH tunnel out to my public server, and pointed it at the switch on the local side. I convinced him to SSH to my server on the given port, and he was magically connected to his switch. He was literally in awe of that trick, and demanded to know how it could be done. SSH is magical, but tunneling traffic over SSH is straight-up wizardry. [Shawn Powers] agrees, and decided to help the rest of us understand the process.
Continue reading “SSH Is Magic, But Tunnels Are Even Better”

ayan-sensor2notion-dashboard+raspberryPi

Know Which Way The Wind Blows, Whether Weather Boosts Your Mood

As a quantified-self experiment, [Ayan] has tracked several daily habits and moods for a couple of years and discovered some insights. Too much coffee is followed by anxiety while listening to music leads to feelings of motivation and happiness. There was a strong correlation in the data, but [Ayan] wondered if external factors like the weather and air quality also played a role.

To find out, [Ayan] extended the custom dashboard built in Notion.so with weather data and some local sensors. Working at Balena.io (yes, the makers of the ubiquitous Raspberry Pi SD card flashing tool, Etcher), [Ayan] turned to balenaCloud to translate the data from (you guessed it) a Raspberry Pi into the dashboard via Notion’s API beta. We think Notion holds a lot of promise for all sorts of web-based dashboards as a research notebook and organizational tool. Who knows where the API will lead any interested readers?

Check out the full tutorial where [Ayan] walks you through the hardware used and each step to connect the APIs that bring it all together. [Ayan] plans to add a coffee-maker integration to automate that data entry and would welcome help getting a manual trigger set up for the data integrations.

An analog multimeter being used as a ping display

Classic Multimeter Tells You If Your WiFi’s Working

Debugging network issues isn’t easy; many a sysadmin has spent hours trying to figure out which of the many links between client and server is misbehaving. Having a few clear pointers helps: if you can show that the internet connection is up, that already narrows down the problem to either the server or, most likely, the client computer.

After hearing “is the internet up” one too many times, [whiskeytangohotel] decided to make a clearly visible indicator to show the status of the local uplink. He used his father’s old Simpson 260 VOM as a display, with its large analog indicator pointing at a steady value if the internet’s up, and wagging back and forth if there’s an outage. The exact value indicated is determined by the average ping time for a couple of different servers, so that you can also tell if the connection is slower than normal.

The ping times are measured by an ESP8266 connected to WiFi, which checks a predefined list of web servers and calculates the average ping time every fifteen seconds. An analog value in the 2.5 V range is then generated and measured by the meter. The smooth motion of an old analog meter stands in nice contrast to the modern-day problem of unstable WiFi.

While analog multimeters definitely have their uses, we’re the first to admit that our classic meters don’t see as much action as they could. Repurposing them as [whiskeytangohotel] did is a neat way of keeping those heirlooms around for the next generation. Of course, if you don’t have an analog multimeter, you could also use an analog clock for your ping meter. Continue reading “Classic Multimeter Tells You If Your WiFi’s Working”

Gaming Twitter’s Trending Algorithm To Make A Point

If you have ever taken to Twitter to gauge the zeitgeist, you’ll have noticed that among the trending hashtags related to major events of the day there are sometimes outliers of minority interest associated with single-issue causes. When a cause with a distasteful pedigree was cited one as proof of widespread public support in a debate in the UK’s House of Lords there were concerns raised that a flaw in the ranking algorithm might be responsible, and it was left to [Mallory Moore] to prove the hypothesis by getting a #ThisIsAnExploit hashtag trending without a groundswell of popular support.

Some previous detective work had established that equal ranking might be awarded equally not simply for Tweeting a hashtag but also for retweeting it. The exploit takes advantage of this by means of a relatively small cadre of people all Tweeting the tag a number of times, then retweeting all other instances of it. The resulting rank gain is then in the order of the square of the number of accounts interacting with the tag, and thus hugely inflated over the number of real participants. To test this she created the #ThisIsAnExploit tag and asked her followers to do just that: Tweet it and retweet all others containing it. In a short time the exploit succeeded, beating a very high-profile tag associated with the travails of the British Prime Minister in the process, and with most of the effort due to only 50 accounts.

Our world is now significantly influenced by social media because for many it appears more trustworthy than the old-style mass media with a print origin. Work like this is important because a reminder that transferring the message from newspaper proprietors to tech barons does not confer credibility is sorely needed. Meanwhile now the weakness is in the wild we wonder how Hackaday readers might have fun with it. Does anyone want to see a #RaiseTheJollyWrencher hashtag top the pile?

Casually Chirping Into The World Of LoRaWAN

While wireless communications are unquestionably useful in projects, common wireless protocols such as WiFi and Bluetooth peter out after only a number of meters, which is annoying when your project is installed in the middle of nowhere. Moving to an LTE-based or similar mobile solution can help with the range, but this does not help when there’s poor cell coverage, and it tends to use more power. Fortunately, for low-bitrate, low-power wide-area networks (LPWAN) like e.g. sensor networks, there’s a common solution in the form of LoRaWAN, as in long-range wide area network (WAN).

The proprietary LoRa RF modulation technique that underlies LoRaWAN is based on Chirp Spread Spectrum (CSS). This modulation technique is highly resistant to channel noise and fading as well as Doppler shift, enabling it to transmit using relatively low power for long distances. LoRaWAN builds on top of the physical layer provided by LoRa to then create the protocol that devices can then use to communicate with other LoRa devices.

Courtesy of global LoRaWAN gateway and software providers such as The Things Industries and ThingSpeak, it’s possible even as a hobbyist to set up a LoRaWAN-powered sensor network with minimal cost. Let’s take take a look at exactly what is involved in setting up LoRaWAN devices, and what possible alternatives to LoRaWAN might be considered. Continue reading “Casually Chirping Into The World Of LoRaWAN”

Gone: Google Toolbar (2000-2021)

For both better and worse, the internet landscape moves fast. Shortening attention spans and memories all over the world. But every once in a while, we get a reminder of what once was. [Ron Amadeo] of Ars Technica fired up a Google product of year 2000 in Take one last look at Google Toolbar, which is now dead.

Today it’s hard to find an operating system that does not bundle a web browser. But back then, Microsoft’s Internet Explorer was so dominant, the browser’s inclusion in Windows led to an antitrust lawsuit. Trying to get out from under IE’s shadow, many internet companies grabbed a toehold on users’ computers by installing a toolbar. (The comments thread on that Ars Technica article includes some horrific screenshots of mass toolbar infestation.)

Continue reading “Gone: Google Toolbar (2000-2021)”