Hydrogen Trains: Not The Success Germany Hoped They Would Be

As transport infrastructure in Europe moves toward a zero-carbon future, there remain a number of railway lines which have not been electrified. The question of replacing their diesel traction with greener alternatives, and there are a few different options for a forward looking railway company to choose from. In Germany the Rhine-Main railway took delivery of a fleet of 27 Alstom hydrogen-powered multiple units for local passenger services, but as it turns out they have not been a success (German language, Google translation.). For anyone enthused as we are about alternative power, this bears some investigation.

It seems that this time the reliability of the units and the supply of spare parts was the issue, rather than the difficulty of fuel transport as seen in other failed hydrogen transport problems, but whatever the reason it seems we’re more often writing about hydrogen’s failures than its successes. We really want to believe in a hydrogen future in which ultra clean trains and busses zip around on hydrogen derived from wind power, but sadly that has never seemed so far away. Instead trains seem inevitably to be following cars, and more successful trials using battery units point the way towards their being the future.

We’re sure that more hydrogen transport projects will come and go before either the technological problems are overcome, or they fade away as impractical as the atmospheric railway. Meanwhile we’d suggest hydrogen transport as the example when making value judgements about technology.

Weird And Wonderful VR/MR Text Entry Methods, All In One Place

Are you a developer or experimenter pondering options for text entry in virtual or mixed reality? If that’s the case (or you’re merely curious) then here’s the resource you need: TEXT, or the Text Entry for XR Trove. It’s a collection of all the things people have tried when it comes to creating text entry interfaces for virtual and mixed reality (VR/MR) systems, all in a searchable list, complete with animated demonstrations.

There are a lot of different ways to approach this problem, ranging from simple to strange.

VR and MR are new frontiers, and optimal interfaces are still very much a work in progress. If one wishes to avoid reinventing the wheel, it’s a good idea to research prior art. This resource makes it very easy to browse all the stuff people have tried when it comes to text entry.

It’s also fun just to browse and see what kinds of unusual solutions people have come up with that go pretty far beyond “floating over-sized virtual keyboard”. Lenstouch for example involves tapping directly on the touch-sensitive front of the headset, and PalmType reminds us somewhat of the Palm Pilot’s Graffiti system.

It’s a treasure trove of creativity with a nice, searchable interface. Have you come up with your own, or know of a method that isn’t there? Submit it to the collection so others can find it. And if you’re in the process of cooking something up yourself, we have some DIY handwriting recognition resources you might find useful.

Pi Pico Throws Us For A (MIDI) Loop

Modern micro-controllers are absolute marvels, but it isn’t too many projects use one and nothing else. For an example of such simplicity, take a look at [oyama]’s Pi Pico MIDI looper.

It uses the PicoW to interface with a synth via MIDI-BLE, which can be anything from pro equipment to an app on your smartphone. The single control button is already provided by the Pico W– the bootsel button is wearing a lot of hats here, allowing one to select betwixt 4 tracks (all different drums), set the tempo, and input notes on the selected track.

The action is simple: pound out the rhythm for each track, and it will repeat forever, or at least until you press the single button again to change it. There’s also a nice serial interface so you can see what’s going on via UART or USB. For what it does, it is amazingly simple: the BOM is one item, the Pi Pico W. To see it in action, check out the demo video below.

Given the ADC chops on the Pico, it would probably be easy to extend this build with a speaker to make a tiny stand-alone, one-button synth. Or you could add more buttons buttons, but then it’s no longer the beautifully simple single-line BOM project that [oyama] showed us.

Of course, everything is open-source on GitHub, under the BSD license, and forking is encouraged, so [oyama] would doubtless be more than happy to see you go nuts hacking and extending this tiny MIDI looper.

We’ve actually seen the MIDI-BLE standard used before, like this hack adding it to a Eurorack. If you like synths, you may be interested to see what it takes to design one from scratch, sans microcontroller. Continue reading “Pi Pico Throws Us For A (MIDI) Loop”

Deriving The Reactance Formulas

If you’ve dealt with reactance, you surely know the two equations for computing inductive and capacitive reactance. But unless you’ve really dug into it, you may only know the formula the way a school kid knows how to find the area of a circle. You have to have a bit of higher math to figure out why the equation is what it is. [Old Hack EE] wanted to figure out why the formulas are what they are, so he dug in and shared what he learned in a video you can see below.

The key to understanding this is simple. The reactance describes the voltage over the current through the element, just like resistance. The difference is that a resistance is just a single number. A reactance is a curve that gives you a different value at different frequencies. That’s because current and voltage are out of phase through a reactance, so it isn’t as easy as just dividing.

If you know calculus, the video will make a lot of sense. If you don’t know calculus, you might have a few moments of panic, but you can make it. If you think of frequency in Hertz as cycles per second, all the 2π you find in these equations convert Hz to “radian frequency” since one cycle per second is really 360 degrees of the sine wave in one second. There are 2π radians in a circle, so it makes sense.

We love developing intuition about things that seem fundamental but have a lot of depth to them that we usually ignore. If you need a refresher or a jump start on calculus, it isn’t as hard as you probably think. Engineers usually use vectors or imaginary numbers to deal with reactance, and we’ve talked about that too, if you want to learn more.

EclairM0

EclairM0, The Pocket Notepad

Roughly the size of a Tic Tac container, this project packs a punch in a compact package. [Matt] sent in this beautifully documented pocket device that brings back great memories of texting on early cellphones.

The EclairM0’s firmware is written in TinyGo, a language he hadn’t used before but found perfect for a microcontroller project where storage space is tight. The 14-button input mimics early phone keypads, using multi-tapping and combo key presses to offer various functions. The small SSD1306 OLED display is another highlight. Building on an earlier CircuitPython project, [Matt] optimized the screen’s performance, speeding up its response time for a snappy user experience. The battery picked was only 3 mm thick, however the protection circuity on the battery added another 2 mm so he moved that protection circuity to the main PCB itself to keep it as thin as initially planned.

Weighing just 15 grams, this lightweight device runs on a SAMD21 microcontroller, which supports USB host functionality. This allows the EclairM0 to act as a keyboard, mouse, or even USB peripherals. Housed in a 3D-printed case, the entire project is open-source, with design and firmware files available on GitHub.

We love small handheld projects around here and this well-documented, fun pocket device is no exception, if you want your own he has a page dedicated to helping you build a EclairM0.

Continue reading “EclairM0, The Pocket Notepad”

Tinycorder Isn’t Quite A Tricorder, But…

The Star Trek tricorder was a good example of a McGuffin. It did anything needed to support the plot or, in some cases, couldn’t do things also in support of the plot. We know [SirGalaxy] was thinking about the tricorder when he named the Tinycorder, but the little device has a number of well-defined features. You can see a brief video of it working below the break.

The portable device has a tiny ESP32 and a battery. The 400×240 display is handy, but has low power consumption. In addition to the sensors built into the ESP32, the Tinycorder has an AS7341 light sensor, an air quality sensor, and a weather sensor. An odd combination, but like its namesake, it can do lots of unrelated things.

Continue reading “Tinycorder Isn’t Quite A Tricorder, But…”

A graph is shown of the percentage reflection of visible light as a function of wavelength. Four lines are traced on the graph, which all approximate the same shape. In the top left, two purple shapes are shown, which the spectral chart describes.

Paint Mixing Theory For Custom Filament Colors

Recycling 3D filament is a great idea in theory, and we come across homemade filament extruders with some regularity, but they do have some major downsides when it comes to colored filaments. If you try to recycle printer waste of too many different colors, you’ll probably be left with a nondescript gray or brown filament. Researchers at Western University, however, have taken advantage of this pigment mixing to create colors not found in any commercial filament (open access paper).

They started by preparing samples of 3D printed waste in eight different colors and characterizing their spectral reflectance properties with a visible-light spectrometer. They fed this information into their SpecOptiBlend program (open source, available here), which optimizes the match between a blend of filaments and a target color. The program relies on the Kubelka-Munk theory for subtractive color mixing, which is usually used to calculate the effect of mixing paints, and minimizes the difference which the human eye perceives between two colors. Once the software calculated the optimal blend, the researchers mixed the correct blend of waste plastics and extruded it as a filament which generally had a remarkably close resemblance to the target color.

In its current form, this process probably won’t be coming to consumer 3D printers anytime soon. To mix differently-colored filaments correctly, the software needs accurate measurements of their optical properties first, which requires a spectrometer. To get around this, the researchers recommend that filament manufacturers freely publish the properties of their filaments, allowing consumers to mix their filaments into any color they desire.

This reminds us of another technique that treats filaments like paint to achieve remarkable color effects. We’ve also seen a number of filament extruders before, if you’d like to try replicating this.