The Internet Of Jack-O’-Lanterns

As the candy rush fades, the Halloween hacks continue pouring in. [Jeremy S Cook] has taken a few fundamental concepts and dressed them up inside the smartest pumpkin on the block.

This pumpkin has a WEMOS D1 Mini ESP8266 brain, LED eyes in place of a candle for illumination, and a small USB power bank for power. The code [Cook] is using is a modified sketch by YouTuber [Innovative Tom], which creates a server on your network — don’t forget to insert your network credentials! — that enable control of the LEDs from your computer or smart phone.

[Cook] has wired the LEDs to the relevant pins on the D1 Mini, zip-tied the battery and board together and stuff them in a plastic bag to keep them dry. Stick that into the pumpkin, hot glue the LEDs in place, and test it out!

Continue reading “The Internet Of Jack-O’-Lanterns”

Add Intuitiveness To OpenSCAD With Encoders

The first time I saw 3D modeling and 3D printing used practically was at a hack day event. We printed simple plastic struts to hold a couple of spring-loaded wires apart. Nothing revolutionary as far as parts go but it was the moment I realized the value of a printer.

Since then, I have used OpenSCAD because that is what I saw the first time but the intuitiveness of other programs led me to develop the OpenVectorKB which allowed the ubiquitous vectors in OpenSCAD to be changed at will while keeping the parametric qualities of the program, and even leveraging them.

All three values in a vector, X, Y, and Z, are modified by twisting encoder knobs. The device acts as a keyboard to

  1. select the relevant value
  2. replace it with an updated value
  3. refresh the display
  4. move the cursor back to the starting point

There is no software to install and it runs off a Teensy-LC so reprogramming it for other programs is possible in any program where rotary encoders may be useful. Additional modes include a mouse, arrow keys, Audacity editing controls, and VLC time searching.

Here’s an article in favor of OpenSCAD and here’s one against it. This article does a good job of explaining OpenSCAD.

Continue reading “Add Intuitiveness To OpenSCAD With Encoders”

Hackaday Prize Entry: Volturnus ROV Rules The River

Water is kind of like information: both are a vital part of life and are found all around us. But not all water or information is healthy. Much of it may look harmless, but is actually polluted. A staggering number of people in the world have no access to fresh, clean water. ROVs can collect samples and detect pollution, but commercial types are way too expensive for the legions of people who need them.

UV light reveals the presence of optical brightening agents in a sample of lake water.

[allai5] wants to be the catalyst for change. She’s the president of Rogue Robotics, a group of high school students throughout central New Jersey who have pooled their talents to design and build a simple, open-source ROV that’s affordable, repeatable, and environmentally friendly. The team uses Volturnus ROV to collect water samples and UV light to determine the presence of a general type of pollutant known as optical brightening agents (OBAs). This is the stuff they add to laundry detergents and copy paper to whiten the fibers’ appearance. By design, OBAs fluoresce brightly under UV light. After soaking a cotton pad in water sample, it’s easy to see if OBAs are present.

At 12″ x 12″ x 18″, Volturnus ROV is compact enough to explore most of the nooks and crannies of any body of water. It moves under the power of three thrusters—500 GPH bilge pump motors driven by a pair of L298N controllers—and is controlled by an Arduino Mega using a wireless joystick. The driver of the ROV navigates the drink through the eyes of a waterproof car back-up camera whose feed is flipped with a Python script.

Volturnus ROV is not a one-stop solution for dealing with marine pollution. The team would like to add filtration in the future and move the electronics to the bottom so it can go faster. Rogue Robotics’ aim has always been to make an ROV that does a few things well. Right now, it’s an excellent jumping-off point for awareness and blueprint for action. Find your inspiration after the break.

Continue reading “Hackaday Prize Entry: Volturnus ROV Rules The River”

Teardown With A Twist: 1975 Sinclair Scientific Calculator

When writing a recent piece about Reverse Polish Notation, or RPN, as a hook for my writing I retrieved my Sinclair Scientific calculator from storage. This was an important model in the genesis of the scientific calculator, not for being either a trailblazer or even for being especially good, but for the interesting manner of its operation and that it was one of the first scientific calculators at an affordable price.

I bought the calculator in a 1980s rummage sale, bodged its broken battery clip to bring it to life, and had it on my bench for a few years. Even in the early 1990s (and even if you didn’t use it), having a retro calculator on your bench gave you a bit of street cred. But then as life moved around me it went into that storage box, and until the RPN article that’s where it stayed. Finding it was a significant task, to locate something about the size of a candy bar in the storage box it had inhabited for two decades, among a slightly chaotic brace of shelves full of similar boxes.

The Sinclair's clean design still looks good four decades later.
The Sinclair’s clean design still looks good four decades later.

Looking at it though as an adult, it becomes obvious that this is an interesting machine in its own right, and one that deserves a closer examination. What follows will not be the only teardown of a Sinclair Scientific on the web, after all nobody could match [Ken Shirriff]’s examination of the internals of its chip, but it should provide an insight into the calculator’s construction, and plenty of satisfying pictures for lovers of 1970s consumer electronics.

The Sinclair is protected by a rigid black plastic case, meaning that it has survived the decades well. On the inside of the case is a crib sheet for its RPN syntax and scientific functions, an invaluable aid when it comes to performing any calculations.

It shares the same external design as the earlier Sinclair Cambridge, a more humble arithmetic calculator, but where the Cambridge’s plastic is black, on the Scientific it is white. The LED display sits behind a purple-tinted window, and the blue-and-black keyboard occupies the lower two-thirds of the front panel. At 50 x 111 x 16 mm it is a true pocket calculator, with an elegance many of its contemporaries failed to achieve and which is certainly not matched by most recent calculators. Good industrial design does not age, and while the Sinclair’s design makes it visibly a product of the early 1970s space-age aesthetic it is nevertheless an attractive item in its own right.

Continue reading “Teardown With A Twist: 1975 Sinclair Scientific Calculator”

Friday Hack Chat: Fundamentals Of RF

Designing a system for communication over RF is a dark art. It’s an obscure domain filled with photonmancy, wires going every which way, and imaginary numbers. RF is reserved entirely for wizards. The guy who simplified Maxwell’s equations into the form we now use went literally insane and replaced all the furniture in his house with granite blocks. This is weird stuff, man.

For this week’s Hack Chat, we’re talking about RF. Everything from the capabilities of different bands, how bandwidth is incorporated into designs, different modulation schemes, RF concepts, I/Q, Nyquist, and other deep-dive topics that elucidate the mysteries of the universe and include all the math.

If you’ve ever wondered how bits get turned into radio waves, what all the PSKs and SSBs are all about, and how bandwidth and range of a radio system play into what frequencies are used, this is the Hack Chat for you.

Our guest for this week’s Hack Chat is [Nick Kartsioukas]. He’s an infosec engineer, an amateur radio operator with an Extra license, hardware hacker, plays around with radio and antenna projects, SDR, and he’s an RC pilot. There’s a lot of RF swimming around [Nick], and he’s got the skills to pay the bills.

This is a community Hack Chat, and we’re taking questions from the community. If you have a question or something you’d like to discuss, add it to the sheet.

join-hack-chatOur Hack Chats are live community events on the Hackaday.io Hack Chat group messaging. This Hack Chat is going down noon, PDT, Friday, November 3rd. Do you wish every time zone was UTC? Yeah, it’s a great idea, but when you really think about it, it would be terrible. Here’s a time zone converter!

Click that speech bubble to the left, and you’ll be taken directly to the Hack Chat group on Hackaday.io.

You don’t have to wait until Friday; join whenever you want and you can see what the community is talking about.

We’re also looking for new Hack Chat hosts! If you’ve built something cool, you’re working on an interesting project, or you’re about to introduce a really cool product, hit us up! Email our wonderful community managers, and we’ll see if we can slot you in.

How To Build An Airplane In A Month And A Half

For the last few weeks, RC pilot extraordinaire [Peter Sripol] has been working on his biggest project to date. It’s effectively a manned RC plane, now legally a Part 103 ultralight. Now all that work is finally bearing fruit. [Peter] is flying this plane on some short hops down a grass runway. He’s flying it, and proving that you can build a plane in a basement, in under two months, constructed almost entirely out of insulation foam.

[Peter] has been documenting this build on his YouTube channel, and although the materials for this plane are mostly sourced from either Home Depot or Lowes, the construction is remarkably similar to what you would expect to find in other homebuilt aircraft. This thing has plywood gussets, the foam is wearing a thin layer of fiberglass, and the fasteners are from Aircraft Spruce.

The power system is another matter entirely. The engines (all two of them!) are electric and are designed for very large RC aircraft. These engines suck down power from a massive battery pack in the nose, and the twin throttles are really just linear potentiometers hacked onto servo testers. There’s a surprising amount of very important equipment on this plane that is just what [Peter] had sitting around the workshop.

As far as the legality of this ultralight experiment is concerned, [Peter] is pretty much above-board. This is a Part 103 ultralight, and legally any moron can jump in an ultralight and fly. There are some highly entertaining YouTube videos attesting this fact. However, in one of [Peter]’s livestreams, he flew well after sunset without any strobes on the plane. We’re going to call this a variant of go-fever, technically illegal, and something that could merit a call from the FAA. We’re going to give him a pass on this, though.

This build still isn’t done, though. The pitot tube is held onto the windshield with duct tape. The plane was slightly nose heavy, but shifting the batteries around helped with that. [Peter] is running the motors on 12S batteries, and the prop/motor combo should be run on 14S batteries — $1200 of batteries are on order. The entire plane needs a paint job, but there’s no indication that will ever be done. With all that said, this is a functional manned aircraft built in a basement in less than two months.

With the plane complete and ground tests quickly moving on to flight tests, it’s only fitting to mention [Peter]’s GoFundMe page for a parachute. [Peter] is going to fly this thing anyway, and this is a great way to deflect Internet concern trolls. [Peter]’s just short of the $2600 needed for a parachute, but if the funds received go over that amount by a few hundred, a ballistic parachute will save [Peter] and the plane.

Beyond Conway: Cellular Automata From All Walks Of Life

There’s a time in every geek’s development when they learn of Conway’s Game of Life. This is usually followed by an afternoon spent on discovering that the standard rule set has been chosen because most of the others just don’t do interesting things, and that every idea you have has already been implemented. Often enough this episode is then remembered as ‘having learned about cellular automata’ (CA). While important, the Game of Life is not the only CA out there and it’s not even the first. The story starts decades before Life’s publication in 1970 in a place where a lot of science happened at that time: the year is 1943, the place is Los Alamos in New Mexico and the name is John von Neumann.

Recap: What is a CA?

A cyclic CA making some waves

The ‘cellular’ part in the name comes from the fact that CAs represent a grid of cells that can be in a number of defined states. The grid can have any number of dimensions, but with three dimensions the visual representation starts to get into the way, and above that most human brains stop working, so two-dimensional grids are the most common — with the occasional one-dimensional surprise. The cells’ states are in most cases discrete but a subset of continuous CAs exists. During the operation of a CA the future state of every cell in the grid is determined from each cells state according to a set of rules which in most cases take into account the states of neighboring cells.

Continue reading “Beyond Conway: Cellular Automata From All Walks Of Life”