Now The V In RISC-V Stands For VRoom

Hundreds of variations of open-source CPUs written in an HDL seem to float around the internet these days (and that’s a great thing). Many are RISC-V, an open-source instruction set (ISA), and are small toy processors useful for learning and small tasks. However, if you’re [Paul Campbell], you go for a high-end super-scalar, out-of-order, speculative, 8 IPC monster of a RISC-V CPU known as VRoom!.

That might seem a bit like word soup to the uninitiated in the processor design world (which is admittedly relatively small) but what makes this different from VexRISC is the scale and complexity. Rather than executing one instruction at a time sequentially, it executes multiple instructions, completing them concurrently in whatever order it can handle. The VexRISC chip is a good 32-bit modular design that can run Linux. It pulls a solid 1.57 DMIPS/MHz with everything turned on. The VRoom already clocks in at mighty 6.5 DMIPS/MHz, with more performance gains. It peaks at 8 instructions every clock cycle with a dual register file and a clever committing system to keep up.

VRoom is written in System Verilog to leverage Verilator (a handy linting and simulation framework), and while there is some C that generates different files, we’d wager it is pretty run-of-the-mill compared to a TypeScript based project. VRoom currently boots Linux thanks to an AWS-FPGA instance (a Xilinx VU9P Ultrascale), though it has to be trimmed to fit. [Paul] has big plans working his way up to a server-class chip with lots of cores and a huge cache.

It’s all on GitHub under a GPLv3 license; go check it out! [Paul] also has a talk with lots of great details. If you’re interested in getting into RISC-V but a server-class isn’t your speed, we heard Espressif is starting to use RISC-V cores in their ever-popular ESP series.

Reverse Engineering Your Own Bluetooth Audio Module

There was a time when we would start our electronic projects with integrated circuits and other components, mounted on stripboard, or maybe on a custom PCB. This is still the case for many devices, but it has become increasingly common for an inexpensive ready-built module to be treated as a component where once it would have been a project in its own right. We’re pleased then to see the work of [ElectroBoy], who has combined something of both approaches by reverse engineering the pinout of a Chinese Bluetooth audio chip with minimal datasheet, and making his own take on an off-the-shelf Bluetooth audio module.

The JL_AC6939B comes in an SOIC16 package and requires a minimum number of components. The PCB is therefore a relatively simple proposition and indeed he’s fitted all parts and traces on one side with the other being a copper ground plane. It’s dangerous to assume that’s all there is to a board like this one though, because many an engineer has come unstuck trying to design a PCB antenna. We’d hazard a guess that the antenna here is simply a wavy PCB line rather than an antenna with a known impedance and bandwidth, at the very least it looks to have much thicker traces than the one it’s copying.

It’s possible that it’s not really worth the effort of making a module that can be bought for relative pennies ready-made, but to dismiss it is to miss the point. We make things because we can, and not merely because we should.

Polar Planimeter Quantifies Area By Plotting Perimeter

These days it’s hard to be carry the label “maker” or “hacker” without also being proficient in some kind of CAD- even if the C is for Cardboard. But before there was CAD there was Drafting and its associated arts, and one couldn’t just select a shape and see its area in the square unit of your choice. So how could an old school draftsman figure out the area of complex shapes? [Chris Staecker] introduces us to the polar planimeter, a measuring tool created specifically for the purpose and explained in full in the video below the break.

The polar planimeter being discussed is a higher end unit from the 1960’s. Interestingly, the first polar planimeters were invented in the early 19th century even before the math that describes their function was completed. A lever is placed in a fixed position on one end and into the planimeter on the other. The planimeter itself has another arm with a reticle on it. The unit is zero’d out with a button, and the outline of the shape in question is traced in a clockwise fashion with the reticle.

What makes the polar planimeter capable of measuring in multiple dimensions is the fixed arm. The fixed arm pivots around, allowing the planimeter to track angle changes which affects the output. So, the planimeter isn’t just measuring the length of the perimeter, but the size of the perimeter. The final measurement is output in square inches.

Overall it’s a really slick tool we didn’t know existed, and it’s fascinating to see how such problems were solved before everything could be done with a mouse click or two. Be sure to check out this 100+ year old reference set to round out your knowledge of past knowledge. Thanks to [Zane] for the great tip!

Continue reading “Polar Planimeter Quantifies Area By Plotting Perimeter”

Get GitHub Tickets IRL With A Raspberry Pi And A Receipt Printer

Thermal receipt printers are finding their way into all sorts of projects that are well beyond the point-of-sale environment that they normally inhabit. And while we applaud all the creative and artistic uses hackers have found for these little gems, this GitHub physical ticket printer has to be the best use for one yet.

According to [Andrew Schmelyun], seeing a fast-food order pop up on a thermal printer was the inspiration for this build. Maintaining over one hundred GitHub repos as he does, it’s easy for the details of any one bug report or feature request to get lost in the swarm of sticky notes that [Andrew] previously used to keep track of his work. To make it happen, he teamed an Epson thermal printer up to a Raspberry Pi Zero W and worked out the details of sending data to the printer using PHP. Luckily, there’s a library for that — the beauty of GitHub.

With the “Hello, World!” bit out of the way, [Andrew] turned his attention to connecting to GitHub. He set up some webhooks on the GitHub side to send a POST request every time an issue is reported on one of his repos. The POSTs are sent via ngrok to a PHP web server running on the Pi, which formats the data and sends the text to the printer. There’s a short video in the tweet below.

Between the sound of the printer working and the actual dead-tree ticket, it’ll be hard for [Andrew] to miss issues now. We’ve seen thermal printers stuffed into cameras, used to send pictures to Grannie, and even watched them commit suicide slowly, but we say hats off to [Andrew] for his solid work ethic and a fun new way to put a receipt printer to use.

Continue reading “Get GitHub Tickets IRL With A Raspberry Pi And A Receipt Printer”

DIY Prony Dyno Properly Displays Power Production

When hackers in the US think of a retailer called Harbor Freight, we usually think of cheap tools, workable but terrible DVM’s, zip ties, and tarps. [Jimbo] over at [Robot Cantina] looked at the 212cc “Predator” engine that they sell and thought “I bet I could power my Honda Insight with that.” And he did, successfully! How much power did the heavily modified engine make? In the video below the break, [Jimbo] takes us through the process of measuring its output using a home built dyno.

The dyno that [Jimbo] has built is a Prony Dyno, and it’s among the oldest and simplest designs available. A torque arm is extended from a disk brake caliper and connects to a force gauge. The engine is ran up to its highest speed, and then he brake is applied to the crankshaft until the engine almost stalls. A tachometer keep track of the RPM, and the force gauge measures the force on the torque arm. Torque is multiplied by RPM and the result is divided by a constant of 5252, and voilĂ : Horsepower. A computer plots the results across the entire range, and the dyno test is complete.

That only tells part of the story, and the real hack comes when you realize that the dyno stand, the force gauge setup and pretty much everything that can be built at home has been built at home. You’ll also enjoy seeing the results of some driving tests between the 212cc engine and its bigger 420cc brother, how even minor changes to the engine affect the horsepower and torque curves, and how that affects the Honda that he calls his “Street legal go cart.”

Speaking of unusual power plants, how about plant some hobby sized jet turbines on the back of your Tesla for fun?

Continue reading “DIY Prony Dyno Properly Displays Power Production”

DIY SLS 3D Printer Getting Ready To Print

Ten years ago the concept of having on our desks an affordable 3D printer knocking out high quality reproducible prints, with sub-mm accuracy, in a wide range of colours and material properties would be the would be just a dream. But now, it is reality. The machines that are now so ubiquitous for us hackers, are largely operating with the FDM principle of shooting molten plastic out of a moving nozzle, but they’re not the only game in town. A technique that has also being around for donkeys’ years is SLS or Selective Laser Sintering, but machines of this type are big, heavy and expensive. However, getting one of those in your own ‘shop now is looking a little less like a dream and more of a reality, with the SLS4All project by [Tomas Starek] over on hackaday.io.

[Tomas] has been busy over the past year, working on the design of his machine and is now almost done with the building and testing of the hardware side. SLS printing works by using a roller to transfer a layer of powdered material over the print surface, and then steering a medium-power laser beam over the surface in order to heat and bond the powder grains into a solid mass. Then, the bed is lowered a little, and the process repeats. Heating of the bed, powder and surrounding air is critical, as is moisture control, plus keeping that laser beam shape consistent over the full bed area is a bit tricky as well. These are all hurdles [Tomas] has to overcome, but the test machine is completed and is in a good place to start this process control optimisation fun. Continue reading “DIY SLS 3D Printer Getting Ready To Print”

A Robot Game To Open Your Hackerspace

It’s always good to welcome a new hackerspace to the fold, and thus we’re pleased to hear about the upcoming opening of Hackerspace Drenthe, on the north-eastern edge of the Netherlands. Starting a new space during a global pandemic is something of a feat. As part of their opening something is required to demonstrate a robot for the curious public, and what could be more accessible than a robot arm playing tic-tac-toe!

It would be correct to say that a robot moving blocks with precision is not necessarily a ground-breaking achievement, but in its purpose of providing eye-candy for a hackerspace opening while also serving as an experiment for some of the students from the school adjacent to the space it is a success. The interface is a pleasingly retro War Games style terminal, and the software is written in Python. For the curious all can be found on a GitHub repository, and should you be in that region of Europe you can find Hackerspace Drenthe in the Netherlands border town of Coevorden and attend their opening on the 2nd of April.

Continue reading “A Robot Game To Open Your Hackerspace”