Machine Builds Rise From The Ashes

I was enchanted by a failed project this week. [Andrew Consroe]’s CNC scroll saw doesn’t work yet, but the emphasis is on the word “yet”. Heck, even when it does work, it might not make sense, but that’s not the point anyway.

cncsaw_thumb.jpg?w=250

A scroll saw table has a vertical reciprocating blade perpendicular to a table, a lot like a band saw but with a shorter blade. You push the wood sheet to be cut into the blade, and because it’s thin, you can twist and turn all sorts of interesting jigsaw-puzzle shapes. [Andrew] automated this with an X-Y gantry and an innovative geared rotating ring, needed to keep the wood fed into the cutting edge of the blade.

It’s a crazy contraption, and a difficult and unique movement planning problem, and watching it move in the video is a joy. But it’s not working either: errors in the motion add up over a cut, and he’s ended up snapping a blade on every piece. And this is version three of the device!

But here comes the inspiration. First, the only reason he’s filming this is to keep a log of how the project looked at this phase — he’s already planning out the next one. Second, this is the soul of learning by doing. You don’t learn anything unless you’re trying something new.

And finally, [Andrew]’s project reminds me of why I love machine builds in the age of rapid prototyping. Blazing through three entirely different machines cost him essentially nothing. Tearing apart version one left him with the same stepper motors, aluminum extrusions, and electronics as when he started out. Except that he now knew so much more about his particular problem space. Now he’s ready to go again.

So if you’re at all robotically inclined, but you’re looking at the cost of motors, belts, bearings, and steel, don’t think of it as an expense for this project, but for years’ worth of iterations, and maybe even fully different machines.

Just be sure to take [Andrew]’s lead and get it down and documented before you take it apart! Heck, send it in to Hackaday and it’ll live forever.

Engineers Develop A Brain On A Chip

Our abilities to multitask, to quickly learn complex maneuvers, and to instantly recognize objects even as infants are just some of the ways that human brains make use of our billions of synapses. Biologically, our brain requires fluid-filled cavities, nerve fibers, and numerous other cells and connections in order to function. This isn’t the case with a new kind of brain recently announced by a team of MIT engineers in Nature Nanotechnology. Compared to the size of a typical human brain, this new “brain-on-a-chip” is able to fit on a piece of confetti.

When you take a look at the chip, it is more similar to tiny metal carving than to any neurological organ. The technology used to design the chip is based on memristors – silicon-based components that mimic the transmissions of synapses. A concatenation of “memory” and “resistor”, they exist as passive circuit elements that retain a relationship between the time integrals of current and voltage across an element. As resistance varies, tiny read charges are able to access a history of applied voltage. This can be accomplished by hysteresis and other non-linear properties of passive circuitry.

These properties can be best observed at nanoscale levels, where they aren’t dwarfed by other electronic and field effects. A tiny positive and negative electrode are separated by a “switching medium”, or space between the two electrodes. Voltage applied to one end causes ions to flow through the medium, forming a conduction channel to the other end. These ions make up the electrical signal transmitted through the circuit.

In order to fabricate these memristors, the researchers used alloys of silver for the positive electrode, and copper alongside silicon for the negative electrode. They sandwiched the two electrodes along an amorphous medium and patterned this on a silicon chip tens of thousands of times to create an array of memristors. To train the memristors, they ran the chips through visual tasks to store images and reproduce them until cleaner versions were produced. These new devices join a new category of research into neuromorphic computing – electronics that function similar to the way the brain’s neural architecture operates.

The opportunity for electronics that are capable of making instantaneous decisions without consulting other devices or the Internet spell the possibility of portable artificial intelligence systems. Though we already have software systems capable of simulating synaptic behavior, developing neuromorphic computing devices could vastly increase the capability of devices to do tasks once thought to belong solely to the human brain.

Office Status Light Turns “Do Not Disturb” To “Busy”

Open-plan offices with too many desks crammed into them are the scourge of many a tech start-up, and at [Danny Salzman]’s employer, distractions reached an all-time high. His boss instigated a free/busy indicator using coloured cards, but he felt he could do one better and came up with an IoT status light to do the job.

At its heart is a machinery status light of the tri-colour “traffic light” variety, driven by a set of relays under the command of a Particle Photon STM32 ARM Cortex M3 based microcontroller board. The plan to write a super-clever API and integration with Slack or Google Calendar never came together, instead it’s operated by a set of bash shell aliases.

Unfortunately for [Danny] though, it didn’t work as intended. Instead of his colleagues staying away as he had hoped, they flocked to his desk to ask about the new feature, making it not entirely useful as a “Do Not Disturb” light. Still, we like it, and it’s given us ideas about those machinery status lights.

He says he may dig it out for his home during the COVID-19 lockdown. Perhaps he could take some inspiration from this home WiFi status dongle.

Tiny Barcode Scanner Beeps Your Shopping List Together

Taking a paper list to the grocery store seems like a good idea, at least until you get there and try to use it. Did you remember to bring a pen? Great. How about a clipboard so you don’t punch through the paper when crossing something off? Apps are easier to use for this, especially the ones with checkboxes, but you’ll still have to enter everything manually. Wouldn’t it be easier (and way more fun) to just scan the barcodes of stuff you need into a list before you chuck the packaging?

That’s exactly the idea behind [DavidE281]’s barcode scanner, which is designed to work with the Bring! app. All he has to do is scan a barcode, and the product ends up in a tidy list on his phone. It’s a simple build that’s based around the M5StickC, which is an ESP32 dev kit that has a small display and a 6-axis IMU along with some other goodies. [David] combined it with a 2D barcode scanner that has a serial port and designed a printed case that joins them together.

Here’s how it works: the M5Stick sends the barcode over MQTT to an external Raspberry Pi that’s running Home Assistant. The Pi does a lookup in a spreadsheet and sends the data to the Bring! app over a community-built API. At the same time, it sends the product name back to the M5Stick’s display to confirm that it was added to the list. Check out bite-sized demo video after the break.

Scanning barcodes is super fun. So why not use an IoT barcode scanner to keep track of everything you own?

Continue reading “Tiny Barcode Scanner Beeps Your Shopping List Together”

Programming In Plain English

Star Trek had really smart computers, that you could simply tell what you wanted to do and they did it. The [Rzeppa] family has started a plain English compiler. It runs under Windows and appears to be fairly capable.

Plain language programming isn’t exactly a new idea. COBOL was supposed to mimic natural language with statements like:

MULTIPLY HOURS BY RATE GIVING PAYAMOUNT

You could argue this didn’t go over very well, but there is still a whole lot of COBOL doing a whole lot of things in the business world. Today computers have more memory and speed, so programmers have been getting more and more verbose for decades. No more variable names such as X1 and fprdx. Maybe this will catch on.

Continue reading “Programming In Plain English”

Cheap Lab Balance Needs Upgrades, Gets Gutted Instead

What is this world coming to when you spend seven bucks on a digital scale and you have to completely rebuild it to get the functionality you need? Is nothing sacred anymore?

Such were the straits [Jana Marie] found herself in with his AliExpress special, a portable digital scale that certainly looks like it’s capable of its basic task. Sadly, though, [Jana] was looking for a few more digits of resolution and a lot more in the way of hackability. And so literally almost every original component was ripped out of the scale, replaced by a custom PCB carrying an STM32 microcontroller and OLED display. The PCB has a complicated shape that allows the original lid to attach to it, as well as the stainless steel pan and load cell. [Jana] developed new firmware that fixes some annoying traits, for example powering down after 30 seconds, and adds new functionality, such as piece-counting by weight. The video below shows some of the new features in action.

Alas, [Jana] reports that even the original load cell must go, as it lacks the accuracy her application requires. So she’ll essentially end up building the scale from scratch, which we respect, of course. At this rate, she might even try to build her own load cell from SMD resistors too.

Continue reading “Cheap Lab Balance Needs Upgrades, Gets Gutted Instead”

Mobile Power From Cordless Tool Batteries

For years, [Michael Davis] has been using a large lead-acid battery to power the electronic components of his custom Dobsonian telescope; but that doesn’t mean he particularly enjoyed it. The battery was heavy, and you always had to be mindful of the wires connecting it to the scope. Looking to improve on the situation somewhat, he decided to build an adapter for Ryobi cordless tool batteries.

[Michael] had already seen similar 3D printed adapters, but decided to make his the traditional way. Well, sort of. He used a CNC router to cut out the distinctive shape required to accept the 18 V lithium-ion battery pack, but the rest was assembled from hardware store parts.

Bent mending plates with nuts and bolts were used to create adjustable contacts, and a spring added to the top ensures that there’s always a bit of tension in the system so it makes a good electrical contact. This setup makes for a very robust connector, and as [Michael] points out, the bolts make a convenient place to attach your wires.

With the logistics of physically connecting to the Ryobi batteries sorted out, the next step was turning that into useful power for the telescope. A stable 12 V is produced by way of a compact DC-DC converter, and a toggle switch and fuse connect it to a pair of automotive-style power sockets. Everything is held inside of a wooden box that’s far smaller and lighter than the lead-acid monster it replaced, meaning it can get mounted directly to the telescope rather than laying on the ground.

If you want to build a similar adapter, the 3D printing route will potentially save you some time and effort. But we have to admit that the heavy-duty connection [Michael] has rigged up here looks quite stout. If you’ve got an application where the battery could be knocked around or vibrated lose, this may be the way to go.