The Difference Between 4WD And AWD

Car manufacturers will often tout a vehicle’s features to appeal to the market, and this often leads to advertisements featuring a cacophony of acronyms and buzzwords to dazzle and confuse the prospective buyer. This can be particularly obvious when looking at drivelines. The terms four-wheel drive, all-wheel drive, and full-time and part-time are bandied about, but what do they actually mean? Are they all the same, meaning all wheels are driven or is there more to it? Let’s dive into the technology and find out.

Part-Time 4WD

Part-time four-wheel drive is the simplest system, most commonly found on older off-road vehicles like Jeeps, Land Cruisers and Land Rovers up to the early 1990s, as well as pickup trucks and other heavy duty applications. In these vehicles, the engine sends its power to a transfer case, which sends an equal amount of torque to the front and rear differentials, and essentially ties their input shafts together. This is good for slippery off-road situations, as some torque is provided to both axles at all times. However, this system has the drawback that it can’t be driven in four-wheel drive mode at all times. With the front and rear differentials rotating together, any difference in rotational speed between the front and rear wheels — such as from turning a corner or uneven tyre wear — would cause a problem. The drive shaft going to one differential would want to turn further than the other, a problem known as wind-up.

Continue reading “The Difference Between 4WD And AWD”

Google Calls It Quits With VR, But Cardboard Lives On

Google giving up on one of their projects and leaving its established userbase twisting in the wind hardly counts as news anymore. In fact, it’s become something of a meme. The search giant is notorious for tossing out ideas just to see what sticks, and while that’s occasionally earned them some huge successes, it’s also lead to plenty of heartache for anyone unlucky enough to still be using one of the stragglers when the axe falls.

So when the search giant acknowledged in early March that they would no longer be selling their Cardboard virtual reality viewer, it wasn’t exactly a shock. The exceptionally low-cost VR googles, literally made from folded cardboard, were a massive hit when they were unveiled back in 2014. But despite Google’s best efforts to introduce premium Cardboard-compatible hardware with their Daydream View headset two years later, it failed to evolve into a profitable business.

Google Cardboard

Of course if you knew where to look, the writing had been on the wall for some time. While the Daydream hardware got a second revision in 2017, and Google even introduced a certification program to ensure phones would work properly with the $100 USD headset, the device was discontinued in 2019. On the software side, Android 7 “Nougat” got baked-in VR support in 2016, but it was quietly removed by the time Android 11 was released in the fall of 2020.

With Cardboard no longer available for purchase, Google has simply made official what was already abundantly clear: they are no longer interested in phone-based virtual reality. Under normal circumstances, anyone still using the service would be forced to give it up. Just ask those who were still active on Google+ or Allo before the plug was pulled.

But this time, things are a little different. Between Google’s decision to spin it off into an open source project and the legions of third party viewers on the market, Cardboard isn’t going down without a fight. The path ahead might be different from what Google originally envisioned, but the story certainly isn’t over.

Continue reading “Google Calls It Quits With VR, But Cardboard Lives On”

A Few Of My Favorite Things: Pens

Pens! They just might be the cheapest, most important piece of technology ever overlooked by a large group of people on a daily basis. Pens are everywhere from your desk to your car to your junk drawer, though they tend to blink out of existence when you need one. Where would we be without them? Probably still drawing on cave walls with dandelions and beets.

Photo of a Pilot Metropolitan by Aaron Burden on Unsplash

Why do I think pens are so great? Well, they’re a relatively cheap tool depending on the pen you get, but whatever you spend, you’re getting a lot for your money. Pens are possibility, pure and simple, and they’re even conveniently packaged in a portable device.

Aesthetically speaking, I like pens because of how different they can be both inside and out. Some of them make thick lines, some make thin lines, and in the case of flexible nibs, some alternate between thick and thin lines depending on pressure. I use pens for a number of reasons, most notably for writing. Everything you read here that bears my name began life as pen marks on paper.

Pens are revolutionary because they can be used to make ideas permanent and/or illustrate any concept. It’s up to you to use the pen wisely. You can use other, better tools later, but pens are always a great first tool. If you’re not encumbered by an uncomfortable grip, ink that skips, or a scratchy, draggy contact point, your ideas will flow more freely. When you find the right pen for you, you aren’t hindered by your tool — you’re elevated by it. Continue reading “A Few Of My Favorite Things: Pens”

Bare-Metal STM32: Please Mind The Interrupt Event

Interruptions aren’t just a staple of our daily lives. They’re also crucial for making computer systems work as well as they do, as they allow for a system to immediately respond to an event. While on desktop computers these interrupts are less prominent than back when we still had to manually set the IRQ for a new piece of hardware using toggle switches on an ISA card, IRQs along with DMA (direct memory access) transfers are still what makes a system appear zippy to a user if used properly.

On microcontroller systems like the STM32, interrupts are even more important, as this is what allows an MCU to respond in hard real-time to an (external) event. Especially in something like an industrial process or in a modern car, there are many events that simply cannot be processed whenever the processor gets around to polling a register. Beyond this, interrupts along with interrupt handlers provide for a convenient way to respond to both external and internal events.

In this article we will take a look at what it takes to set up interrupt handlers on GPIO inputs, using a practical example involving a rotary incremental encoder.

Continue reading “Bare-Metal STM32: Please Mind The Interrupt Event”

How Fast Is The Universe Expanding? The Riddle Of Two Values For The Hubble Constant

In the last decades, our understanding of the Universe has made tremendous progress. Not long ago, “precision astronomy” was thought to be an oxymoron. Nowadays, satellite experiments and powerful telescopes on earth were able to measure the properties of our Universe with astonishing precision. For example, we know the age of the Universe with an uncertainty of merely 0.3%, and even though we still do not know the origin of Dark Matter or Dark Energy we have determined their abundance with a precision of better than 1%.

There is, however, one value that astronomers have difficulty in pinning down: how fast our universe is expanding. Or, more precisely, astronomers have used multiple methods of estimating the Hubble constant, and the different methods are converging quite tightly on two different values! This clearly can’t be true, but nobody has yet figured out how to reconcile the results, and further observations have only improved the precision, deepening the conflict. It’s likely that we’ll need either new astronomy or new physics to solve this puzzle.

The Discovery of the Expanding Universe

In the 1920s Edwin Hubble used the newly built telescope at Mount Wilson Observatory to study fuzzy objects known as nebulae. Back then, astronomers were arguing whether these nebulae are clouds of stars within our Milky Way or if they are whole different galaxies. Hubble discovered stars within these nebulae whose brightness slowly fades in and out. These were known as Cepheids and previously studied by Henrietta Levitt who showed that there was a tight relationship between the star’s intrinsic brightness and the period of its variation. This means Cepheids could be used as so-called standard candles which refers to objects whose absolute brightness is known. Since there is a simple relationship between how the brightness of an object decreases with distance, Hubble was able to calculate the distance of the Cepheids by comparing their apparent and intrinsic brightness. He showed that the Cepheid stars were not located within our galaxy and that nebulae are actually distant galaxies.

Hubble also measured the velocity at which these distant galaxies are moving away from us by observing the redshifts of spectral lines caused by the Doppler effect. He found that the further away the galaxy is located, the faster it is moving away from us described by a simple linear relationship.

\bf v = H_0 d

The parameter H0 is what is known as the Hubble constant. Later the Belgian priest and physicist Georges Lemaître realized that the velocity-distance relationship measured by Hubble was evidence for the expansion of the Universe. Since the expansion of space itself causes other galaxies to move away from us we are not in any privileged location but the same effect would be measured from any other place in the Universe. An effect that is sometimes illustrated by drawing points on a balloon, when it is inflated the points move away from each other at a speed that depends on their distance. It is also better not to think of the cosmological redshift as being caused by a real velocity as the parameter v in the above equation can easily exceed the speed of light. Continue reading “How Fast Is The Universe Expanding? The Riddle Of Two Values For The Hubble Constant”

How The LIGO Observatory Detects Gravitational Waves

Gravity is one of the more obvious forces in the universe, generally regarded as easily noticeable by the way apples fall from trees. However, the underlying mechanisms behind gravity are inordinately complex, and the subject of much study to this day.

A major component of this study is around the concept of gravitational waves. First posited by Henri Poincaré in 1905, and later a major component of Einstein’s general theory of relativity, they’re a phenomena hunted for by generations of physicists ever since. For the team at the Laser Interferometer Gravitational-wave Observatory, or LIGO, finding direct evidence of gravitational waves is all in a day’s work.

Continue reading “How The LIGO Observatory Detects Gravitational Waves”

Hey Google, Is My Heart Still Beating?

University of Washington researchers studying the potential medical use of smart speakers such as Amazon’s Echo and Google’s Nest have recently released a paper detailing their experiments with non-contact acoustic heartbeat detection. Thanks to their sensitive microphone arrays, normally used to help localize voice commands from the user, the team proposes these affordable and increasingly popular smart home gadgets could lead a double life as unobtrusive life sign monitors. The paper goes so far as to say that even with multiple people in the room, their technique can be used to monitor the heart and respiratory rate of a specific target individual.

Those are some bold claims, but they aren’t without precedent. Previous studies performed at UW in 2019 demonstrated how smart speaker technology could be used to detect cardiac arrest and monitor infant breathing. This latest paper could be seen as the culmination of those earlier experiments: a single piece of software that could not just monitor the vitals of nearby patients, but actually detect a medical emergency. The lifesaving potential of such a program, especially for the very young and elderly, would be incredible.

So when will you be able to install a heart monitor skill on the cheap Echo Dot you picked up on Prime Day? Well, as is often the case with this kind of research, putting the technique to work in the real-world isn’t nearly as easy as in the laboratory. While the concept is promising and is more than worthy of further research, it may be some time before our lowly smart speakers are capable of Star Trek style life-sign detection.

Continue reading “Hey Google, Is My Heart Still Beating?”