Raspberry Pi – Hackaday https://hackaday.com Fresh hacks every day Mon, 04 Nov 2024 16:52:19 +0000 en-US hourly 1 https://wordpress.org/?v=6.6.2 156670177 Pi Zero to AR: Building DIY Augmented Reality Glasses https://hackaday.com/2024/11/04/pi-zero-to-ar-building-diy-augmented-reality-glasses/ https://hackaday.com/2024/11/04/pi-zero-to-ar-building-diy-augmented-reality-glasses/#comments Mon, 04 Nov 2024 16:30:00 +0000 https://hackaday.com/?p=732744 [miko_tarik] wearing diy AR goggles in futuristic settingIf you’re into pushing tech boundaries from home, this one’s for you. Redditor [mi_kotalik] has crafted ‘Zero’, a custom pair of DIY augmented reality (AR) glasses using a Raspberry Pi …read more]]> [miko_tarik] wearing diy AR goggles in futuristic setting

If you’re into pushing tech boundaries from home, this one’s for you. Redditor [mi_kotalik] has crafted ‘Zero’, a custom pair of DIY augmented reality (AR) glasses using a Raspberry Pi Zero. Designed as an affordable, self-contained device for displaying simple AR functions, Zero allows him to experiment without breaking the bank. With features like video playback, Bluetooth audio, a teleprompter, and an image viewer, Zero is a testament to what can be done with determination and creativity on a budget. The original Reddit thread includes videos, a build log, and links to documentation on X, giving you an in-depth look into [mi_kotalik]’s journey. Take a sneak peek through the lens here.

[miko_tarik] wearing diy AR gogglesCreating Zero wasn’t simple. From designing the frame in Tinkercad to experimenting with transparent PETG to print lenses (ultimately switching to resin-cast lenses), [mi_kotalik] faced plenty of challenges. By customizing SPI displays and optimizing them to 60 FPS, he achieved an impressive level of real-time responsiveness, allowing him to explore AR interactions like never before. While the Raspberry Pi Zero’s power is limited, [mi_kotalik] is already planning a V2 with a Compute Module 4 to enable 3D rendering, GPS, and spatial tracking.

Zero is an inspiring example for tinkerers hoping to make AR tech more accessible, especially after the fresh news of both Meta and Apple cancelling their attempts to venture in the world of AR. If you are into AR and eager to learn from an original project like this one, check out the full Reddit thread and explore Hackaday’s past coverage on augmented reality experiments.

]]>
https://hackaday.com/2024/11/04/pi-zero-to-ar-building-diy-augmented-reality-glasses/feed/ 24 732744 diy-ar-goggles-1200 [miko_tarik] wearing diy AR goggles
Compact Dedicated News Reader Always Brings You CBC https://hackaday.com/2024/10/29/compact-dedicated-news-reader-always-brings-you-cbc/ https://hackaday.com/2024/10/29/compact-dedicated-news-reader-always-brings-you-cbc/#comments Tue, 29 Oct 2024 08:00:23 +0000 https://hackaday.com/?p=730188 Your phone or laptop will give you access to the vast majority of news in the world, in languages you can read and a few hundred you can’t. Maybe you …read more]]>

Your phone or laptop will give you access to the vast majority of news in the world, in languages you can read and a few hundred you can’t. Maybe you only like one news source, though, and that news source happens to be Canadian Broadcasting Corporation (CBC). If that’s the case, you might like to give this project a look from [Ron Grimes].

[Ron] built a device that does one thing and one thing only: it displays news stories from CBC. It’s built around a Raspberry Pi 2, and the project began when he wanted to interface a keypad just to see if he could. With that done, the next challenge was to integrate a 16×2 character LCD display of the HD44780 persuasion. With those two tasks completed, the question was simple — what to display? He figured tuning into the CBC news feed would be useful, and the Chocolate Box News Reader was born.

The device displays 29 news feeds in total, including the main top stories, world news, and Canadian regional news. It stores 15 news items per feed and will hang on to those stories even if the Internet drops. The reader will display the whole stash of stored news in around 90 minutes or so, and each stored item comes with more information if something strike’s [Ron’s] curiosity or interest. Files are on GitHub for the curious.

It’s a neat build, and we can imagine it being a smart item to have kicking around the house. It was also a great way for [Ron] to build on his familiarity with the Raspberry Pi, too. Meanwhile, if you’ve got your own nifty Pi-based projects—or others!—don’t hesitate to drop us a line!

]]>
https://hackaday.com/2024/10/29/compact-dedicated-news-reader-always-brings-you-cbc/feed/ 4 730188 ChocolateBoxReader-7810
Raspberry Pi OS’s Wayland Transition Completed With Switch to Labwc https://hackaday.com/2024/10/28/raspberry-pi-oss-wayland-transition-completed-with-switch-to-labwc/ https://hackaday.com/2024/10/28/raspberry-pi-oss-wayland-transition-completed-with-switch-to-labwc/#comments Tue, 29 Oct 2024 02:00:17 +0000 https://hackaday.com/?p=730248 With the latest release of Raspberry Pi OS (formerly Raspbian) the end of the X Window System has become reality, completing a years-long transition period. Although this change between display …read more]]>

With the latest release of Raspberry Pi OS (formerly Raspbian) the end of the X Window System has become reality, completing a years-long transition period. Although this change between display servers is not something which should be readily apparent to the casual user, the change from the client-server-based X11 protocol to the monolithic Wayland protocol has a number of implications. A major change is that with the display server and window manager no longer being separate units, features such as network transparency (e.g. remote X-sessions) are no longer a native feature, but have to be implemented separately by e.g. the Wayland compositor.

For Raspberry Pi the transition to Wayland was based on the perceived efficiency and security benefits of the monolithic architecture, with the 2021 release of Raspbian (based on Debian Bullseye) testing the waters using the hybrid X11 window manager/Wayland compositor Mutter. This allowed for switching between X11 and Wayland without committing. In 2023 Mutter was replaced with the Wayfire compositor with Wayland becoming the default on Raspberry Pi 4 and 5 platforms. Along the way it was found that the Wayfire project wasn’t developing in a way that would benefit Raspberry Pi OS, which led to what should now be the final Wayland compositor in the form of Labwc.

One advantage of Labwc is that it is more lightweight than Wayfire and Raspberry Pi has judged that this means that it should be the default across all Raspberry Pi systems. Compatibility with X11-based software is maintained with the XWayland library, so that users should ideally not notice any difference after switching to Labwc even on lower-end boards. Unless you’re one one of those people who use features such as (remote) X-sessions, nothing should feel markedly different.

In addition to this big change, the new Raspberry Pi OS release also improves touch screen support with the integrated Squeekboard virtual keyboard popping up when a touch screen is detected. Finally, the remote access Raspberry Pi Connect feature sees a few tweaks, which is the feature that effectively replaces remote X-sessions. Considering how glacially slow X desktop sessions can be, this is something which can be considered an improvement, but it would be nice if there was an alternative that didn’t rely on Raspberry Pi-provided services to work.

]]>
https://hackaday.com/2024/10/28/raspberry-pi-oss-wayland-transition-completed-with-switch-to-labwc/feed/ 88 730248 raspberry_pi_os_recommended-software
Smart Glasses Read Text https://hackaday.com/2024/10/18/smart-glasses-read-text/ https://hackaday.com/2024/10/18/smart-glasses-read-text/#comments Sat, 19 Oct 2024 02:00:34 +0000 https://hackaday.com/?p=728531 You normally think of smart glasses as something you wear as either an accessory or, if you need a little assistance, with corrective lenses. But [akhilnagori] has a different kind …read more]]>

You normally think of smart glasses as something you wear as either an accessory or, if you need a little assistance, with corrective lenses. But [akhilnagori] has a different kind of smart eyewear. These glasses scan and read text in the user’s ear.

This project was inspired by a blind child who enjoyed listening to stories but could not read beyond a few braille books. The glasses perform the reading using a Raspberry Pi Zero 2 W and a machine learning algorithm.

The original software developed took place on a Windows machine using WSL to simplify portability to the Linux-based Raspberry Pi board.

The frame is 3D printed, of course. Mounting the CPU, a camera, and a battery, along with a DC to DC converter, is fairly trivial. The real heavy lifting is in the software. The glasses snap a picture every ten seconds. It might be interesting to add a button or other means to let the user trigger a scan.

Of course, you could build something similar to run on just about any device with a camera and Python. It would be easy, for example, to put something in a hand-held format.

OCR is a readily solved problem. There are commercial smart glasses that look nice, and we wonder if any will have similar apps for them.

]]>
https://hackaday.com/2024/10/18/smart-glasses-read-text/feed/ 6 728531 glasses
Phoniebox: A Family-Friendly Simple Music Box https://hackaday.com/2024/10/05/phoniebox-a-family-friendly-simple-music-box/ https://hackaday.com/2024/10/05/phoniebox-a-family-friendly-simple-music-box/#comments Sat, 05 Oct 2024 08:00:00 +0000 https://hackaday.com/?p=725319 Ever hear of the Phoniebox project? If not – tune in, that’s a hacker’s project your entire family will appreciate. Phoniebox is a software suite and tutorial for building a …read more]]>

Ever hear of the Phoniebox project? If not – tune in, that’s a hacker’s project your entire family will appreciate. Phoniebox is a software suite and tutorial for building a jukebox controlled through RFID cards, and it can play audio from a wide variety of sources – music and playlists stored locally, online streams like internet radio stations, Spotify, podcasts of your choice, and so on. It’s super easy to build – get a Raspberry Pi board, connect an NFC reader to it, wire up a pair of speakers, and you’re set. You can assemble a PhonieBox together with your kids over the weekend – and many do.

Want some inspiration, or looking to see what makes Phoniebox so popular? Visit the Phoniebox gallery – it’s endearing to see just how many different versions have been built over the six years of project’s existence. Everyone’s Phoniebox build is different in its own special way – you bring the hardware, Phoniebox brings well-tested software and heaps of inspiration.

You already have a case to house a  Phoniebox setup – if you think you don’t, check the gallery, you’ll find that you do. Experiencing a problem? There’s a wealth of troubleshooting advice and tutorials, and a helpful community. Phoniebox is a mature project and its scale is genuinely impressive – build one for your living room, or your hacker’s lair, or your hackerspace. RFID-controlled jukeboxes are a mainstay on Hackaday, so it’s cool to see a project that gives you all the tools to build one.

]]>
https://hackaday.com/2024/10/05/phoniebox-a-family-friendly-simple-music-box/feed/ 5 725319 hadimg_phoniebox_feat
This Bluetooth GATT Course Is A Must Watch https://hackaday.com/2024/10/04/this-bluetooth-gatt-course-is-a-must-watch/ https://hackaday.com/2024/10/04/this-bluetooth-gatt-course-is-a-must-watch/#comments Sat, 05 Oct 2024 02:00:54 +0000 https://hackaday.com/?p=725379 Bluetooth is a backbone technology for innumerable off-the-shelf and hacker devices. You should know how to work with it – in particular, nowadays you will certainly be working at the …read more]]>

Bluetooth is a backbone technology for innumerable off-the-shelf and hacker devices. You should know how to work with it – in particular, nowadays you will certainly be working at the Bluetooth GATT (Generic Attribute) layer. This two-part project by [V. Hunter Adams] of Cornell fame spares no detail in making sure you learn Bluetooth GATT for all your hacking needs – not only will you find everything you could want to know, you also get example GATT server and client application codebases to use in your projects, designed to work with the commonly available Pi Pico W!

What’s better than a visual demonstration? The video below shows the GATT server running on a Pico W – handling six different parameters at once. [Hunter] pokes at the server’s characteristics with a smartphone app – sending string data back and forth, switching an LED, and even changing parameters of audio or video color output by the Pico. Flash the server code into your Pico W, play with it, read through it, and follow the tutorial to learn what makes it tick.

What if you already have a GATT server device you’re looking to control? Having gone through the server tutorial, get out a second Pico W – you get the GATT client tutorial, of course, also accompanied by a video and example code. This client is a user interface for the GATT server we just brought up, operated through commandline, and equipped with features like notifications. You might not even notice it happen, but you’ll have two Pi Picos connected through a Bluetooth link in no time, accompanied by a university-grade detailed explanation of every single aspect. If that’s not enough for you to hack your device of choice, well, give it some time to sink in.

Really, if you are looking to play with Bluetooth, you couldn’t find a better tutorial to start your project off of – or just to understand BT GATT at a level an average hacker could only dream of. No matter if you’re looking to capture data from your treadmill, liberate your continuous glucose monitor, or hack gun safes for research purposes, this is a kickass course to crack open.

]]>
https://hackaday.com/2024/10/04/this-bluetooth-gatt-course-is-a-must-watch/feed/ 6 725379 hadimg_gatt_ccourse_feat
The Raspberry Pi 500 Hints At Its Existence https://hackaday.com/2024/10/04/the-raspberry-pi-500-hints-at-its-existence/ https://hackaday.com/2024/10/04/the-raspberry-pi-500-hints-at-its-existence/#comments Fri, 04 Oct 2024 11:00:36 +0000 https://hackaday.com/?p=726171 It’s fairly insignificant in the scheme of things, and there’s no hardware as yet for us to look at, but there it is. Tucked away in a device tree file, …read more]]>

It’s fairly insignificant in the scheme of things, and there’s no hardware as yet for us to look at, but there it is. Tucked away in a device tree file, the first mention of a Raspberry Pi 500. We take this to mean that the chances of an upgrade to the Pi 400 all-in-one giving it the heart of a Pi 5 are now quite high.

We’ve remarked before that one of the problems facing the Raspberry Pi folks is that a new revision of the regular Pi no longer carries the novelty it might once have done, and certainly in hardware terms (if not necessarily software) it could be said that the competition have very much caught up. It’s in the Compute Module and the wildcard products such as the all-in-one computers that they still shine then, because even after several years of the 400 it’s not really seen an effective competitor.

So we welcome the chance of an all-in-one with a Pi 5 heart, and if we had a wish list for it then it should include that mini PCI-E slot on board for SSDs and other peripherals. Such a machine would we think become a must-have for any space-constrained bench.

]]>
https://hackaday.com/2024/10/04/the-raspberry-pi-500-hints-at-its-existence/feed/ 55 726171 DSCF2010_featured