Dealing With A Hacked Brain; Let’s Talk About Depression

This post is different from normal Hackaday fare. I don’t want to presume anything about you, but I’m pretty sure the story I’m about to share resonates with at least some of you.

I’ve been having a tough time, exacerbated by this age of social distancing. This all crept up on me at first, but as I began to look back on my behavior and moods, I began noticing patterns that I hadn’t noticed before. This is certainly a relevant issue in this community, so let’s talk about mental health, beginning with my own journey.

Continue reading “Dealing With A Hacked Brain; Let’s Talk About Depression”

You’ve Never Seen This RetroPie Emulator Console: Watermelon

The Raspberry Pi is a hugely popular platform for emulating older consoles, with the RetroPie framework making it easy to get started in no time at all. Often, these single board computers get built into fun arcade boxes or replica console shells to add to the charm. That’s all been done, so instead, [Cedishappy] decided to go in his own direction – resulting in the wonderful Watermelon Gameboy.

What sounds like a trivial exercise of building a RetroPie rig in a unique enclosure actually comes with some engineering challenges. The basics are all pretty standard – GPIO pins interfacing buttons, a speaker and the screen, emulating a Gameboy Advance. But the mechanical implementation is more complex. The watermelon is first cut open, having its red flesh removed, leaving just the rind. Paper and cardboard templates are then used to make holes for the buttons and screen. Unfortunately, hot glue doesn’t work on watermelon, so instead, toothpicks were used to hold the screen and speaker in place. To protect the electronics from the moist melony environment inside, clear food wrap was applied to the Raspberry Pi and other components where needed.

[Cedishappy] goes above and beyond with the project video charmingly showing the reactions of bystanders to the contextually confusing game system. The combination of electronics with fruit and vegetables is an area we don’t see explored often enough; our own [Mike Szczys] built a magnificent LED Jack-o-Lantern that really looks the business. Video after the break.

Continue reading “You’ve Never Seen This RetroPie Emulator Console: Watermelon”

Art of 3D printer in the middle of printing a Hackaday Jolly Wrencher logo

3D Printering: The World Of Non-Free 3D Models Is Buyer Beware

There are more free 3D models online than one can shake a stick at, but what about paid models? Hosting models somewhere and putting a buy button in front of the download is certainly a solved problem, but after spending some time buying and printing a variety of non-free 3D models online, it’s clear that there are shortcomings in the current system.

What the problems are and how to address them depends a little on the different ways models get sold, but one thing is clear: poorly-designed 3D models are bad for consumers, and bad for the future of pay-to-download in general. Continue reading “3D Printering: The World Of Non-Free 3D Models Is Buyer Beware”

New Arduino JPEG Library Focuses On Speed

Working with graphics on microcontrollers has always meant focusing on making the most of limited resources. Particularly in the 8-bit era, all manner of tricks were used to get low-performance chips to achieve feats beyond their lowly station. However, these days, we’re blessed with 32-bit workhorses with clock speeds in the tens, or even hundreds, of MHz and many kilobytes of RAM to match. It’s these higher performance chips [Larry] had in mind when writing his JPEGDEC library.

As [Larry] discusses in a blog post on the topic, JPEG libraries already exist for the Arduino platform. However, many of these are aimed at 8-bit platforms with tiny amounts of RAM. While it’s possible to decode JPEGs piece by piece with some intelligent code under these conditions, it’s possible to go much faster when you’ve got a little more headroom. [Larry] does a great job of explaining the variety of optimizations he’s developed in the two decades since writing his first JPEG decoder back in 1994. From eliminating unnecessary marker checks to ignoring unneeded data for scaled-down output, it all adds up to get the job done faster. The library targets the Cortex-M0+, or any chip with a minimum of 20K of RAM, as its bare minimum to operate. Faster chips with higher clock rates naturally do better, and [Larry] provides benchmark decoding times for various common hardware using the library.

We’ve featured [Larry]’s GIF decoder for the Arduino platform before, again a useful library that’s optimised for good performance. If you’ve got your own neat tricks for image processing on microcontrollers, you know how to call!

Circle Guitar Creates Wall Of Sound

In the 60s a musical recording technique called the “wall of sound” came to prominence which allowed artists to create complex layers of music resulting in a novel, rich orchestral feeling. While this technique resulted in some landmark albums (Pet Sounds by the Beach Boys for example) it took entire recording studios and many musicians to produce. This guitar, on the other hand, needs only a single musician but can create impressive walls of sound on its own thanks to some clever engineering.

Called the Circle Guitar and created by [Anthony Dickens], the novel instrument features a constantly-rotating wheel around the guitar’s pickups in the body. Various picks can be attached in different ways to the wheel which pluck the strings from behind continuously. This exceeds what a normal guitar player would be able to do on their own, but the guitarist is able to control the sounds by using several switches and pushbuttons which control a hexaphonic humbucker and are able to mute individual strings at will. Of course, this being the 21st century, it also makes extensive use of MIDI and [Anthony] even mentions the use of a Teensy.

While details on this project are admittedly a little fleeting, the videos linked below are well worth a watch for the interesting sounds this guitar is able to produce. Perhaps paired with a classic-sounding guitar amplifier it could produce other impressive walls of sound as well. Either way, we could expect someone like [Brian Wilson] to be interested in one once it is in production.

Thanks to [Mel] for the tip!

Continue reading “Circle Guitar Creates Wall Of Sound”

Sunrise, Sunset, Repeat

Sunrises and sunsets hardly ever disappoint. Still, it’s difficult to justify waking up early enough to catch one, or to stop what you’re doing in the evening just to watch the dying light. If there’s one good thing about CCTV cameras, it’s that some of them are positioned to catch a lovely view of one of the two, and a great many of them aren’t locked down at all.

[Dries Depoorter] found a way to use some of the many unsecured CCTV cameras around the world for a beautiful reason: to constantly show the sun rising and setting. Here’s how it works: a pair of Raspberry Pi 3B + boards pull the video feeds and display the sunrise/sunset location and the local time on VFD displays using an Arduino Nano Every. There isn’t a whole lot of detail here, but you can probably get the gist from the high-quality pictures.

If you wanted to recreate this for yourself, we might know where you can find some nice CCTV camera candidates. Just look through this dystopian peephole.

Thanks for the tip, [Luke]!

Assembly Language For Real

We all probably know that for ultimate control and maximum performance, you need assembly language. No matter how good your compiler is, you’ll almost always be able to do better by using your human smarts to map your problem onto a computer’s architecture. Programming in assembly for PCs though is a little tricky. A lot of information about PC assembly language dates back from when assembly was more common, but it also covers old modes that, while still available, aren’t the best answer for the latest processors. [Gpfault] has launched a series on 64-bit x86 assembly that tries to remedy that, especially if you are working under Windows.

So far there are three entries. The first covers setting up your toolchain and creating a simple program that does almost nothing. But it is a start.

Continue reading “Assembly Language For Real”