Everything You Wanted To Know About SDRAM Timing But Were Afraid To Ask

One of the problems with being engaged in our hobby or profession is that people assume if you can build a computer out of chips, you must know all the details of their latest laptop computer. Most of the memory we deal with is pretty simple compared to DDR4 memory and if you’ve ever tried tweaking your memory, you know a good BIOS has dozens of settings for memory. [Actually Hardcore Overclocking] has a great description of a typical DDR4 datasheet and you can watch it in the video below.

Of course, he points out that knowing all this really doesn’t help you much with memory overclocking because you can’t really predict the complex effects without trial and error. However, most of us like to understand the knobs we are randomly twisting. On top of that, one theme of the video is that DRAM is dumb and simple. If you’ve ever thought about using it in a project, this might be a good place to start.

Continue reading “Everything You Wanted To Know About SDRAM Timing But Were Afraid To Ask”

Lawnmower Doesn’t Need A Base Station

A recent tour of an old WWII-era aircraft carrier reminded us how hard navigation was before the advent of GPS. It used to be the work of skilled people to sight the sun or the stars and use giant books to figure out a vessel’s position. Now you just ask your phone to listen to some GPS satellites and you have precision undreamed of with other systems. But GPS sometimes isn’t enough. Just using conventional GPS, you can locate yourself to a couple of meters. The new L5 band, which isn’t on all satellites yet, can get you to about 30cm. But if you need better — up to around 1 or 2 cm — you need to use special techniques lumped together as GNSS enhancements. [Viktor] wanted to have an Arudino -based lawnmower, but wanted to use more conventional GPS techniques along with ultrawideband (UWB) ranging tags.

Given that the ranging anchors are in the mowing area, we aren’t sure why the mower even has GPS other than to geofence so you can’t start autonomous operations until you are in range of the tags. The three anchors are placed in a triangle, so if the robot knows the distance to each tag it can use some math to locate itself inside the area quite precisely.

Continue reading “Lawnmower Doesn’t Need A Base Station”

30 Free Circuit Simulators Lightly Reviewed

We live in a time where great software is available with the click of a mouse, often for free or — at least — low cost. But there’s a problem: how do you select from so many alternatives? We were interested in [Lee Teschler]’s review earlier this year of 30 free circuit simulators. If you are selecting one or don’t like the one you are currently using, it is well worth the time to review.

There are several on the list that you’ve probably heard of before like GNUCap and LTspice. There are also some lesser-known products. Some of those are just trial or student versions of paid products. Some are branded versions of commercial products (like Tina) or were made free after selling for higher price tags (like MicroCap 12).

Old favorites like Falstad (which is apparently known as Circuit Sims) and TinkerCAD made the list. Many of the trial versions were very limited. For example, DCAClab only provides an NPN bipolar transistor model. Proteus doesn’t let you save or print unless you pay. While the list includes TI’s Tina, it doesn’t seem to mention that TI also provides a free version of PSpice which is a very popular professional product.

While the capsule descriptions are nice, you may want to dig in a little on the ones you are most interested in. For example, Falstad has a great mixed mode that can even include an AVR microprocessor. But there were a few on the list we had not heard of and maybe you’ll find something new there, too.

Liberated E-Ink Shelf Labels Turned 10×2 Display

How expensive is it to make a panel that uses e-ink technology? That might depend on how flexible you are. [RBarron] read about reverse engineering point-of-sale shelf labels and found them on eBay for just over a buck apiece. Next thing you know, 20 of them were working together in a single panel.

The panels use RF or NFC programming, normally, but have the capability to use BLE. Naturally you could just address each one in turn, but that isn’t very efficient. The approach here is to use one label as a BLE controller and it then drives the other displays in a serial daisy chain, where each label’s receive pin is set to the previous label’s transmit pin.

That allows a simple piece of code to read incoming messages and process the ones addressed to that label. Anything else just gets sent out the serial port. Only the BLE node has special firmware. At first, we thought each label would need an address and we wondered how it would be set other than having unique firmware for each one since there doesn’t appear to be a handy way to do a hardware-based configuration.

The actual solution is clever. Each message has a hop counter that each node decrements before passing the message along the chain. When the hop count is zero, the message is at its destination. Simple and very easy to configure. In theory, you could replace any of the labels after the first one with any other label and the system would still work correctly.

Even the wiring is clever, with a jig to bend the wire to ensure even spacing of each element on the panel. A laser-cut box finishes the project off nicely. The code is all available on GitHub. We’ve seen these kinds of tags used for things like weather stations. Not to mention conference badges.

Next Floor: Geosynchronous Satellites, Orbiting Laboratories

On Star Trek, if you want to go from one deck to another, you enter a “turbolift” and tell it where you want to go. However, many people have speculated that one day you’ll ride an elevator to orbit instead of using a relatively crude rocket. The idea is simple. If you had a tether anchored on the Earth with the other end connected to a satellite, you could simply move up and down the tether. Sound simple, so what’s the problem? The tether has to withstand enormous forces, and we don’t know how to make anything practical that could survive it. However, a team at the International Space Elevator Consortium could have the answer: graphene ribbons.

The concept is not new, but the hope of any practical material able to hold up to the strain has been scant. [Arthur C. Clarke] summed it up in 1979:

How close are we to achieving this with known materials? Not very. The best steel wire could manage only a miserable 31 mi (50 km) or so of vertical suspension before it snapped under its own weight. The trouble with metals is that, though they are strong, they are also heavy; we want something that is both strong and light. This suggests that we should look at modern synthetic and composite materials. Kevlar… for example, could sustain a vertical length of 124 mi (200 km) before snapping – impressive, but still totally inadequate compared with the 3,100 (5,000 km) needed.

Continue reading “Next Floor: Geosynchronous Satellites, Orbiting Laboratories”

Ham Radio Hacking: Thinking Inside The Box

There are two ways to deal with improving ham radio receivers, or — for that matter — any sort of receiver. You can filter and modify the radio frequency including the radio’s intermediate frequency, or you can alter the audio frequency output. Historically, RF and IF techniques have been the most valued because rejecting unwanted noise and signals early allows the rest of the radio to focus on the actual signal of interest. However, audio filters are much easier to work with and until recently, DSPs that could handle RF frequencies were expensive and uncommon. However, [watersstanton] shows us how to make what could be the cheapest audio enhancer ever. It is little more than a modified cardboard box, and you can see and hear the result in the video below.

On the one hand, you shouldn’t expect miracles. On the other hand, you probably have box laying around and can try it in the next three minutes so why not give it a go? You can hear a bit of difference when using the box and not using the box.

Continue reading “Ham Radio Hacking: Thinking Inside The Box”

Never Too Rich Or Thin: Compress Sqlite 80%

We are big fans of using SQLite for anything of even moderate complexity where you might otherwise use a file. The advantages are numerous, but sometimes you want to be lean on file storage. [Phiresky] has a great answer to that: the sqlite-zstd extension offers transparent row-level compression for SQLite.

There are other options, of course, but as the post mentions, each of these have some drawbacks. However, by compressing each row of a table, you can retain random access without some of the drawbacks of other methods.

Continue reading “Never Too Rich Or Thin: Compress Sqlite 80%”