Tiny Linux On A No-MMU RISC-V Microcontroller

In the vast majority of cases, running a Linux-based operating system involves a pretty powerful processor with a lot of memory on hand, and perhaps most importantly, a memory management unit, or MMU. This is a piece of hardware which manages virtual memory, seamlessly giving each process its own memory sandbox in which it shouldn’t be able to rain on its neighbours’ parade. If there’s no MMU all is not lost though, and [Uros Popovic] gives us a complete guide to building the MMU-less μClinux on a RISC-V microcontroller.

The result is something of a Linux-from-scratch for this platform and kernel flavour, but it’s so much more than that aside from its step-by-step explanation. It’s probable that most of us have heard something of μClinux but have little direct knowledge of it, and he leads us through its workings as well as its limitations. As examples, standard ELF binaries aren’t suitable for these systems, and programmers need to use memory-safe techniques.

Whether or not any of you will run with this guide and build a tiny MMU-less Linux system, anything which expands our knowledge on the subject has to be a good thing. it’s not the first time we’ve seen a RISC-V microcontroller turned to this task, with a nifty trick to get round the limitations of a particular architecture.

Dumping Spacecraft In The Middle Of Nowhere

The BBC has an interesting article on Point Nemo, AKA the Oceanic Pole of Inaccessibility, AKA the spacecraft graveyard. This is the place in the ocean that is furthest from land, in the middle of the usually stormy South Pacific. It’s as far out there as you can get without leaving the planet: about 2,688 kilometers (1670 miles) from the nearest dry land. Even the ocean floor is 4 km (2.5 miles) down; the closest human life is the International Space Station (ISS) astronauts flying 415 km (260 miles) above it. It is not near any shipping lanes or transport routes. It is, to put it bluntly, the middle of goddam nowhere. So, it is a perfect place to dump derelict spacecraft.

Since 1971, over 160 spacecraft have met their end in these chilly waters, from the fiery public end of the Mir space station to the secret death of numerous secret spy satellites. The article in question focuses on the Soviet satellites, but plenty of other countries dump their end-of-life satellites there, including trash from the ISS. The Chinese Taingong-1 space station crashed nearby, although that was more by accident than design. The ISS is scheduled to join its trash in a few years: the current plan is that the massive space station will be de-orbited and crashed near Point Nemo in 2030.

Will there be anyone to see it? When the Mir space station was de-orbited, some entrepreneurial companies offered flights to the area to catch a glimpse, but the best view was from the island of Fiji. So, start planning your trip now…

Continue reading “Dumping Spacecraft In The Middle Of Nowhere”

Tiny Tape Cartridge Remembered And A Teardown

If you want to add sound to something these days, you usually store it digitally. Microcontrollers are cheap and fast, and you can hold a lot of audio on a small flash card or in a ROM. But back “in the day,” storing audio was often done with tape. If you wanted something you could automate, you often turned to an endless loop tape. They had the advantage of not needing rewinding and had a way to sense spots on the tape (usually the start). The 8-track, for example, was an endless loop tape, and radio stations used “carts” (technically Fedelipak cartridges). But what if you wanted to build something tiny? Bandai had the answer, and [Tech Moan] shows the 1986-era tiny carts.

In the US, these appear to be mainly in the realm of novelty items. [Tech Moan] has an Elvis figurine that sings thanks to the tape and a diminutive jukebox. He suspects these must have been used in something else, perhaps in the Japanese market.

Continue reading “Tiny Tape Cartridge Remembered And A Teardown”

A monitoring station as set up in the CEZ, featuring both the legacy (ARMS) and new wireless monitoring system.

How The 2022 CEZ Event Shows The Fragility Of Environmental Sensors In High-Risk Areas

In what reads somewhat like a convoluted detective story, the events unfolding at the Chornobyl Exclusion Zone (CEZ) in Ukraine during late February had the media channels lighting up with chatter about ‘elevated gamma radiation levels’, which showed up on the public CEZ radiation monitoring dashboard for a handful of gamma radiation sensors. This happened right before this reporting system went off-line, leaving outside observers guessing at what was going on. By the time occupying forces had been driven out of the CEZ, the gamma radiation levels were reported as being similar to before the invasion, yet the computer hardware which was part of the monitoring system had vanished along with the occupying forces. After considering many explanations, this left security researchers like [Ruben Santamarta] to consider that the high values had been spoofed.

Continue reading “How The 2022 CEZ Event Shows The Fragility Of Environmental Sensors In High-Risk Areas”

Antennas Can Be A Total Mystery

The real action in the world of ham radio is generally in the high frequency bands. Despite the name, these are relatively low-frequency bands by modern standards and the antenna sizes can get a little extreme. After all, not everyone can put up an 80-meter dipole, but ham radio operators have come up with a number of interesting ways of getting on the air anyway. The only problem is that a lot of these antennas don’t seem as though they should work half as well as they do, and [MIKROWAVE1] takes a look back on some of the more exotic radiators.

He does note that for a new ham radio operator it’s best to keep it simple, beginning work with a dipole, but there are still a number of options to keep the size down. A few examples are given using helically-wound vertical antennas or antennas with tuned sections of coaxial cable. From there the more esoteric antennas are explored, such as underground antennas, complex loops and other ways of making a long wire fit in a small space, and even simpler designs like throwing a weight with a piece of wire attached out the window of an apartment building.

While antenna theory is certainly a good start for building antennas, a lot of the design of antennas strays into artistry and even folklore as various hams will have successes with certain types and others won’t. It’s not a one-size-fits-all situation so the important thing is to keep experimenting and try anything that comes to mind as long as it helps get on the air. A good starting point is [Dan Maloney]’s $50 Ham Guide series, and one piece specifically dealing with HF antennas.

Continue reading “Antennas Can Be A Total Mystery”

Dial Up A Tune On The Jukephone

What do you do when you find a nice corded phone with giant buttons out in the wild? You could pay $80/month for a landline, use a VOIP or Bluetooth solution instead, or do something a million times cooler and turn it into a jukebox.

Now when the receiver is lifted, [Turi] hears music instead of a dial tone or a voice on the other end. But playback isn’t limited to the handset — there’s a headphone jack around back.

To listen to a track, he can either dial one in directly, or call up a random track using one of the smaller buttons below. A handy directory organizes the tunes by the hundreds, putting children’s tracks between 1-99 and the intriguing category “hits” between 900-999.

The phone’s new guts are commanded by a Raspberry Pi Pico, which is a great choice for handling the key matrix plus the rest of the buttons. As you may have guessed, there’s an DF Player Mini mp3 player that reads the tracks from an SD card. Everything is powered by a rechargeable 18650 battery.

Jukephone is open source, and you’ll find more pictures on [Turi]’s blog post. Be sure to check out the very brief build and demo video after the break.

Continue reading “Dial Up A Tune On The Jukephone”

Pocket CO2 Sensor Doubles As SMD Proving Ground

While for some of us it’s a distant memory, every serious electronics hobbyist must at some point make the leap from working with through-hole components to Surface Mount Devices (SMD). At first glance, the diminutive components can be quite intimidating — how can you possibly work with parts that are literally smaller than a grain of rice? But of course, like anything else, with practice comes proficiency.

It’s at this silicon precipice that [Larry Bank] recently found himself. While better known on these pages for his software exploits, he recently decided to add SMD electronics to his repertoire by designing and assembling a pocket-sized CO2 monitor. While the monitor itself is a neat gadget that would be worthy of these pages on its own, what’s really compelling about this write-up is how it documents the journey from SMD skeptic to convert in a very personal way.

A fine-tipped applicator will get the solder paste where it needs to go.

At first, [Larry] admits to being put off by projects using SMD parts, assuming (not unreasonably) that it would require a significant investment in time and money. But eventually he realized that he could start small and work his way up; for less than $100 USD he was able to pick up both a hot air rework station and a hotplate, which is more than enough to get started with a wide range of SMD components. He experimented with using solder stencils, but even there, ultimately found them to be an unnecessary expense for many projects.

While the bulk of the page details the process of assembling the board, [Larry] does provide some technical details on the device itself. It’s powered by the incredibly cheap CH32V003 microcontroller — they cost him less than twenty cents each for fifty of the things — paired with the ubiquitous 128×64 SSD1306 OLED, TP4057 charge controller, and a SCD40 CO2 sensor.

Whether you want to build your own portable CO2 sensor (which judging from the video below, is quite nice), or you’re just looking for some tips on how to leave those through-hole parts in the past, [Larry] has you covered. We’re particularly eager to see more of his work with the CH32V003, which is quickly becoming a must-have in the modern hardware hacker’s arsenal.

Continue reading “Pocket CO2 Sensor Doubles As SMD Proving Ground”