A Raspberry Pi next to a small circuit board

An Inexpensive FM Receiver For The Raspberry Pi

At this point, there are no shortage of impressive hacks for the Raspberry Pi. [Dilshan Jayakody] recently documented his experience in designing and building an inexpensive FM Stereo Receiver for the Pi platform, and the results are impressive.

Quite a few FM receiver projects center around the RDA5807 or TEA5767 ICs, however [Dilshan] has used the QN8035 by Quintic Corporation in his build. A handful of discrete components on a pleasing single-sided PCB is all that is needed to interface the QN8035 with the Pi’s I2C bus.

After demonstrating that the FM tuner could be, well, tuned at the command line, [Dilshan] then coded a smart looking GUI application that makes tuning a breeze. The software allows the listener to manually and automatically scan through FM stations, decode program service data, control the volume, and display the RSSI and SNR readings from the tuner.

As we reported earlier, FM radio is on a slow decline into obsolescence. This latest project isn’t aiming to break new ground, however its simplicity and inexpensive components are the perfect combination for beginner hackers and radio enthusiasts alike. More details can be found over on Hackaday.io. The schematic, source code and bill of materials can be found on GitHub.

Continue reading “An Inexpensive FM Receiver For The Raspberry Pi”

Upgrade Board Adds GPIO Pins To Your Replica PDP-11

Like many Hackaday readers, [Steven Stallion] has had his eyes on the replica PDP-11 created by [Oscar Vermeulen] for some time now, and this summer he finally got the opportunity to build one himself. But while most owners might be content to just watch the Raspberry Pi based faux-retro computer blink away on a shelf, he wanted to explore putting the machine to more practical use. The end result is the PiDP-11 I/O Expander,  an add-on that lets the modern minicomputer interact with the world around it.

Developed after some discussion with [Oscar] himself, the Microchip MCP23016 based expander board fits neatly onto the PiDP-11 PCB, and [Steven] has made sure his installation guide meshes well with the replica’s documentation. The Pi’s I2C bus is actually broken out on the original PCB, so you just need to solder a header on and run some jumpers to where the expander is mounted. You’ll need to pull 5 V as well, and the installation guide has a few tips on convenient connection points.

The installed PiDP-11 I/O Expander

Each expander board gives you 16 GPIO pins which can be accessed over I2C, including support for interrupts which has been connected to GPIO 19 on the Raspberry Pi. [Steven] notes that you should be able to stack multiples of his expander up should you need even more free pins, though some fiddling with pull-up resistors and I2C addresses will likely be necessary.

The PCBs for the expander have been released under the two clause BSD license, so you’re free to spin up your own copies however you see fit. But if you’d like to save some time, [Steven] is offering assembled boards on Tindie.

Since [Oscar] first teased it at the 2015 Hackaday Supercon, we’ve been enamored with his fantastic PDP-11 replica. We’re always glad to see when somebody has picked up one of these wonderful kits, and doubly so when they’ve figured out a way to expand it in unexpected ways.

A Simpsons TV For A Golden Age

While the pace of technology continues to advance at breakneck speed, certain things in the past are left behind largely subject to the whims of nostalgia. Televisions, for example, are lighter, cheaper, and bigger than they were in the early 90s, but they did have a certain design aesthetic that doesn’t exist anymore. Meanwhile, Simpsons episodes have been (arguably) on the decline since the golden age of the 90s, so [buba447] decided to combine these two facets of a nostalgic past into a custom TV that only plays these older Simpsons episodes.

Update: Now there’s a build guide.

The TV is 3D printed but takes design cues from CRT-based technology from decades past. It even has working knobs emblematic of that era as well. Inside the “television” is a Raspberry Pi which is hooked up to a small screen. The Pi powers up and automatically starts playing Simpsons episodes once it boots. There is a power button at the top of the TV which mutes the sound and also turns off the display. As an added touch, the display outputs in 640×480 resolution, which is also somewhat historically accurate, even if the TV itself is much smaller than its ancient relatives.

Of course, the TV only plays episodes from The Simpson’s first eleven seasons, which includes all of the episodes of The Simpson’s golden era (and a few extra) and omits those episodes from the modern era, which will please certain Simpsons fans as well. This actually isn’t the first time we’ve seen a 24 hour Simpsons device. This Pi-based build serves up Simpsons episodes nonstop as well, but sends them out over the airwaves instead.

Continue reading “A Simpsons TV For A Golden Age”

magicBlueSmoke-piStick-featured

How Do You Make A Raspberry Pi On A Stick?

We agree with [magic-blue-smoke] that one of the only things more fun than a standard Raspberry Pi 4 is the Compute Module form factor. If they are not destined to be embedded in a system, these need a breakout board to be useful. Each can be customized with a myriad board shapes and ports, and that’s where the real fun starts. We’ve already seen projects that include custom carrier boards in everything from a 3D Printer to a NAS and one that shows we can build a single-sided board at home complete with high-speed ports.

[magic blue smoke] used this ability to customize the breakout board as an opportunity to create a hackable media player “stick” with the Raspberry Pi built-in. We love that this Raspberry Pi CM4 TV Stick eliminates all the adapters and cables usually required to connect a Pi’s fiddly micro HDMI ports to a display and has heat sinks and an IR receiver to boot. Like a consumer media player HDMI stick, all you need to add is power. Continue reading “How Do You Make A Raspberry Pi On A Stick?”

Dedicated box to play new videos from a handful of content creators.

Dedicated Box Makes YouTube More TV-Like

[Exposed Wire] is a huge fan of YouTube and consumes a lot of content. If that sounds familiar, maybe you should build a dedicated YouTube box, too. You get to push buttons, there’s LEDs, and you can take a break from other screens to look at this one for a while. [Exposed Wire] wanted to make it easier to watch the latest videos from their favorite creators, but we would argue that this is more fun, too.

The Rasberry Pi 4 inside checks every five minutes for new videos by keeping track of the creator’s total number of videos in a text file and doing a comparison. If one of the channels has a new video, then the corresponding LED lights up and the new video’s URL is linked to the button. Press the button and the Raspi opens the browser, goes the the URL, maximizes the video, turns off the LED, and updates the video count in the text file.

We like the construction job here. The 1/4″ MDF walls are connected by 3D-printed L-brackets in PETG. At first, [Exposed Wire] mounted the LEDs and buttons to a PCB, but that was really fiddly so they printed panels instead. Combined with the bracket around the screen, the finished build looks good. Check out the build montage after the break.

Regular old YouTube videos not doing it for you anymore? Try watching them at low resolution on an LED matrix.

Continue reading “Dedicated Box Makes YouTube More TV-Like”

Raspberry Pi Powered Standing Desk Rises To New Heights

Like many office workers, [David Kong] found himself the lucky recipient of a motorized sit-stand desk. Also like most office workers with such a desk, he found himself mostly sitting. Reminders on his phone did little to change habits and [David] resolved to automate his desk to rise on a schedule.

the control board for a poppin sit stand desk

Taking off the front panel of the control box required a few screws and [David] was delighted to find some testing pins right on the PCB.By connecting the right pins together, he could simulate any button being pressed. A Toshiba TLP222A solid-state relay made it simple to connect the pins together, the next step was triggering the relay on some sort of timer.

Speaking of timers, the oft-lauded 555 timer was considered. However, the length of time desired wasn’t as well suited for the 555, and the appeal of just tweaking a file to adjust the interval was tempting. Going to the other end of the spectrum, [David] had a Raspberry Pi zero laying around he had been meaning to play with.

After soldering the relay to pin 17 and writing a quick 10 line python script that is executed on startup, [David] had a working solution that could be taped to the underside of the desk, out of sight. Rather than being on a fixed timer, the desk raises every 45 to 60 minutes. The impact on his life has been wonderful, which was the goal of this particular project. It’s been a few months and he hasn’t had to tweak or fix anything. Is a whole 64-bit multicore processor a bit of an overkill for toggling a pin every hour or so? Yes. But we can’t really fault him for reaching for what was already lying around. The results speak for themselves.

Perhaps this would be something you would incorporate when you’re building your own standing desk?

Raspberry Pi Real-Time HAT

New Part Day: Raspberry Pi HAT For IEEE1588 Precision Time Protocol

The new Real-Time HAT by InnoRoute adds IEEE1588 PTP support in hardware to a Raspberry Pi 4 nestled beneath. Based around a Xilinx Artix-7 FPGA and a handful of gigabit Ethernet PHY devices, the HAT acts as network-passthrough, adding accurate time-stamps to egress (outgoing) packets and stripping time-stamps from the ingress (incoming) side.

This hardware time-stamping involves re-writing Ethernet packets on-the-fly using specialised network hardware which the Raspberry Pi does not have. Yes, there are software-only 1588 stacks, but they can only get down to 10s of microsecond resolutions, unlike a hardware approach which can get down to 10s of nanoseconds.

1588 is used heavily for applications such as telecoms infrastructure, factory equipment control and anything requiring synchronisation of data-consuming or data-producing devices. CERN makes very heavy use of 1588 for its enormous arrays of sensors and control equipment, for all the LHC experiments. This is the WhiteRabbit System, presumably named after the time-obsessed white rabbit of Alice In Wonderland fame. So, if you have a large installation and a need for precisely controlling when stuff happens across it, this may be just the thing you’re looking for.

IEEE1588 PTP Synchronisation

The PTP client and master device ping a few messages back and forth between themselves, with the network time-stamper recording the precise moment a packet crosses the interface. These time-stamps are recorded with the local clock. This is important. From these measurements, the time-of-flight of the packet and offset of the local clock from the remote clock may be calculated and corrected for. In this way each client node (the hat) in the network will have the same idea of current time, and hence all network packets flowing through the whole network can be synchronised.

The beauty of the system is that the network switches, wiring and all that common infrastructure don’t need to speak 1588 nor have any other special features, they just need to pass along the packets, ideally with a consistent delay.

The Real-Time HAT configures its FPGA via SPI, straight from Raspberry Pi OS, with multiple applications possible, just by a change on the command line. It is possible to upload custom bitstreams, allowing the HAT to be used as a general purpose FPGA dev board should you wish to do so. It even stacks with the official PoE HAT, which makes it even more useful for hanging sensors on the end of a single wire.

Of course, if your needs are somewhat simpler and smaller in scale than a Swiss city, you could just hack a GPS clock source into a Raspberry Pi with a little soldering and call it a day.