Make Your Bookshelf Clickable

We’ll confess that we have a fondness for real books and plenty of them. So does [James], and he decided he needed a way to take a picture of his bookshelves and make each book clickable to find more information. This is one of those things that sounds fairly simple until you decide to do it. You can try an example of the results and then go back and read about the journey it took to get there.

There are several subtasks involved. First, you want to identify each book’s envelope. It wouldn’t do to click on the Joy of Cooking and get information about Remembrance of Things Past.

The next challenge is reading the title of the book. This can be tricky. Fonts differ. The book could be upside down. Some titles go cross the spine, but most go vertically. The remainder of the task is fairly easy. If you know the region and the title, you can easily find a link (for Google Books, in this case) and build an SVG overlay that maps the areas for each book to the right link.

Continue reading “Make Your Bookshelf Clickable”

Ring Around The Inverter

[Dr. Shane] asks the question: what happens if you connect the output of an inverter logic gate back to the input? In theory, it doesn’t make sense, but depending on the gate’s physical construction, you’ll get into a strange state. The transistors within the gate will behave differently than they normally would, and you’ll wind up with an amplifier or an oscillator. You can see the results in the video below. In the second video, you can see what the odd connection does to the thermal properties of the inverter, too.

The CMOS inverter becomes biased in the active region, so it makes sense that it settles at the halfway point. The TTL inverter is slightly different, but the delay through the gate isn’t enough to produce a good oscillation. However, an odd number of inverters connected in a ring like this is one way to create a simple oscillator.

Continue reading “Ring Around The Inverter”

How Many Time Zones Are There Anyway?

Nowadays, it’s an even bet that your newest project somehow connects to the Internet and, thus, to the world. Even if it doesn’t, if you share your plans, someone might reproduce your creation in some far distant locale. If your design uses time, you might need to think about time zones. Easy, right? That’s what [Zain Rizvi] thought until he tried to deploy something that converted between timezones. You can learn from his misconceptions thanks to a detailed post he provides.

You might think, “What’s the big deal?” After all, there’s UTC, and then there are 12 time zones ahead of UTC and 12 time zones later. But that’s not even close to true.

As [Zain] found out, there are 27 hours in a full-day cycle if you count UTC as one hour. Why? Because some islands in the Pacific wanted to be on the wrong side of the International Date Line. So there are a few extra zones to accommodate them.

You can’t even count on time zones being offset by an hour from the previous zone. Several zones have a half-hour offset from UTC (for example, India’s standard time is 5.5 hours from UTC). But surely the offset is always either a whole number or a number where the fractional part is 0.5, right?

Um, no. Nepal wants the sun to be directly over the mountain at noon, so it offsets by 45 minutes! [Zain] wonders — as we do — what would happen if the mountain shifted over time? Until 1940, Amsterdam used a 20-minute offset. Some cities are split with one half in one time zone and another in the other.

Of course, there are the usual problems with multiple names for each zone, both because many countries want their own zone and because the exact same zone is different in different languages. Having your own zone is not just for vanity, though. Daylight savings time rules will vary by zone and even, in some cases, only in certain parts of a zone. For example, in the United States, Arizona doesn’t change to daylight savings time. Oh, except for the Navajo Nation in Arizona, which does! Some areas observe daylight savings time that starts and ends multiple times during the year. Even if you observe daylight savings time, there are cases where the time shift isn’t an entire hour.

Besides multiple names, common names for zones often overlap. For example, in the United States, the Eastern Standard Time zone differs from Australia’s. Confused? You should be.

Maybe we should have more respect for multiple time zone clock projects. We’ve noticed these problems before when we felt sorry for the people who maintain the official time zone database.

Tandy Pocket Computer Assembly Is… Weird

Radio Shack had a long history of buying things overseas, having their name slapped on them, and selling them in the United States. That was the case with the Tandy Pocket Computers, which were in that awkward space between calculators and full-blown computers. Like many computers of those days, if you wanted to do anything interesting, you needed to turn to assembly language. But as [Old Vintage Computing Research] recalls, the assembly for these little devices was very strange, even for an assembly language. He found out that there is a reason it is so strange and shares it in a deep dive into the device’s machine code history.

The story starts with the Japanese government. In 1969, the ministry in charge of such things decided that it wouldn’t be fair for people who knew a particular computer to have an advantage when taking the Information Technology Engineer exam. So, logically, they made up a fictitious instruction set and architecture for the test. Since no one used it, no one would have an unfair advantage.

However, eventually, Japanese manufacturers started making computers that used the architecture. The architecture was COMP-X, and the assembler was CAP-X. The post covers the history of machines either using the architecture or emulating it going back to the 1970s. It eventually winds up at the Sharp and Casio pocket computers that would wear Radio Shack livery in much of the world, especially the United States.

Continue reading “Tandy Pocket Computer Assembly Is… Weird”

Printing A Log

We’ve used wood filament before, and we hazily remember a Cura plugin that changed temperatures to create wood grain. But unlike [Patrick Gibney], we never thought of printing a faux wood log coaster that looks like it has rings. Check out the video below to see how it works.

The filament is not really wood, of course, but a polymer — usually PLA — mixed with wood particles. Changing the temperature does a nice job of darkening the wood. However, it also changes the properties of the carrier polymer, and that’s not always a good thing.

Continue reading “Printing A Log”

3D Printed DIN Rail Mount Is Attractive

DIN rails aren’t very common in hobby projects, although you do see them occasionally. But in some industries, they are everywhere. The rail is just a piece of aluminum or steel with slots to hold it to a wall or bulkhead. There are two small lips that equipment like circuit breakers, power supplies, or controllers can attach easily. A common 3D printing project is a way to mount something like a printer controller to DIN rails. [NotLikeALeafOnThe Wind] shows a different take on it: a magnetic holder that temporarily attaches a rail to a ferrous surface.

Of course, mounting the rail is only half the equation. After that, you still need things to mount on the rail. Luckily, there’s no shortage of designs for DIN mounts for many common boards and modules.

Continue reading “3D Printed DIN Rail Mount Is Attractive”

Analog Engineer’s Pocket Reference Needs A Big Pocket

We always admire when companies produce useful tools or documentation that aren’t specific to their products. For example, consider LTSpice. Sure, it has the company’s models baked in. But there’s no reason you can’t use it for anything. Thanks! We were interested to see Texas Instrument’s fifth edition of the “Analog Engineer’s Pocket Reference” is still freely available. While we aren’t sure a book with nearly 200 pages in it is a “pocket reference,” we do think you’ll enjoy it, even if you don’t want to use TI’s offerings. This book has been around for 50 years, but it is updated periodically, and this version is the fifth iteration.

The book has several sections ranging from conversion between units and color codes to amplifier noise calculations and understanding ADC settling times. Want to know more about PCB microstrips? Page 85.

Continue reading “Analog Engineer’s Pocket Reference Needs A Big Pocket”