FPGA 6800 Uses Python Toolbox

Usually, when you think of designing — or recreating — a CPU on an FPGA, you assume you’ll have to use Verilog or VHDL. There are other options, as well, but those are the biggest two players in FPGA configuration. [Robert Baruch] has a multipart series where he uses nMigen — a Python toolbox — to recreate a 6800 CPU like the one used in many vintage video games and pinball machines.

Unlike some tools that try to convert software written in some language to an FPGA configuration, nMigen uses Python as a scripting language to create code in FHDL. This is similar in concept to VHDL or Verilog, but gives up the event-driven paradigm, opting instead to allow designers to explicitly call out synchronous and combinatorial logic.

Continue reading “FPGA 6800 Uses Python Toolbox”

Magic-Angle Twisted Bilayer Graphene – Yes, That’s The Scientific Name

In the world of physics research, graphene has been gaining popularity as one of the most remarkable materials in the last 15 years. While it may appear unassuming in common household goods such as pencil leads, the material boasts a higher strength than steel and a higher flexibility than paper. On top of all that, it is also ultra-light and an excellent conductor of electric current and heat.

Recently, physicists from the Massachusetts Institute of Technology discovered that stacking two sheets of graphene and twisting a small angle between them reveals an entire new field of material science – twistronics. In a paper published in Nature, researchers have taken a look into this new material, known as the magic-angle twisted bilayer graphene. By modifying the graphene’s temperature, they were able to cause the material to shift from behaving like an insulator to transforming into a superconductor.

A graphic in the New York Times demonstrates some of the interesting properties that arise from stacking and twisting two sheets. Scientists have long known that graphene is a one-layer-thick honeycombed pattern of carbon atoms, but actually separating a single sheet of graphene has been fairly difficult. A low-tech method pioneered by two physicists at the University of Manchester involves using sticky tape to pull apart graphene layers until a single layer is left.

Small imperfections that arise from slightly misaligned sheets manifests in a pattern that allows electrons to hop between atoms in regions where the lattice line up, but unable to flow in regions that are misaligned. The slower moving electrons are thus more likely to interact with each other, becoming “strongly correlated”.

The technique for measuring the properties of this new twisted graphene is similarly low-tech. After a single layer of graphene is separated by sticky tape, the tape is torn in half to reveal two halves with perfectly aligned lattices. One of the sides is rotated by about 1.3 degrees and pressed onto the other. Sometimes, the layers would snap back into alignment, but other times they would end up at 1.1 degrees and stop rotating.

When the layers were cooled to a fraction of a degree above absolute zero, they were observed to become a superconductor, an incredibly discovery for the physicists involved in the experiment. Further studies showed that different permutations of temperature, magnetic field, and electron density were also able to turn the graphene into a superconductor. On top of this, the graphene was also able to exhibit a form of magnetism arising from the movement of electrons rather than the intrinsic properties of the atoms. With so many possibilities still unexplored, it’s certain that twistronics will reveal some remarkable findings pretty soon.

[Thanks Adrian for the tip!]

Drill Thrice, Solder Once

If you design printed circuit boards, then you will have also redesigned printed circuit boards. Nobody gets it right the first time, every time. Sometimes you can solder a scrap of 30gauge wire, flip a component 180°, or make a TO-92 transistor do that little pirouette thing where the legs go every-which-way. If you angered the PCB deities, you may have to access a component pad far from an edge. [Nathan Seidle], the founder of Sparkfun, finds himself in this situation, but all hope is not lost.

Our first thought is to desolder everything, then take a hot iron and tiny wires to each pad. Of course, this opens up a lot of potential for damage to the chip, cold joints, and radio interference. Accessing the pin in vivo has risks, but they are calculated. The idea is to locate the pin, then systematically drill from the backside and expose the copper. [Nate] also discovers that alcohol will make the PCB transparent so you can peer at the underside to confirm you have found your mark.

In a real, “fight fire with fire” idea, you can rework with flex PCBs or push your PCB Fu to the next level and use PCBs as your enclosure.

Breathe Easy With This Online Dust Sensor Box

It’s an unfortunate reality that for many of us, our air isn’t nearly as clean as we’d like. From smog to wildfires, there’s a whole lot of stuff in the air that we’d just as soon like to keep out of our lungs. But in order to combat this enemy, you first need to understand it. That means figuring out just what’s in the air you breathe, and how much of it. That’s where devices like the Dust Box from [The IoT GURU] can come in handy.

Inside the 3D printed enclosure is a Wemos D1 Mini ESP8266 development board, sitting on a custom breakout PCB. This board gives you some easy expandability to add your own sensors and hardware, though in this particular configuration, the Dust Box is using the BME280 sensor for general environmental monitoring and the SDS011 laser particle sensor to determine what’s in the air. Just plug it into a convenient USB power source, make sure it’s connected to the WiFi, and off it goes.

But where does all that lovely data end up? That’s up to you, but in this case, the [The IoT GURU] is pushing everything out to a web interface that allows the user to view yearly, monthly, and weekly historical data for each of the parameters the Dust Box can check. This is probably a bit more granular than most of us need, but it’s a good example of what’s possible should you need that much information.

For a similar project that allows you to take your sensors a bit farther off the beaten path, checkout FieldKit, which was recently crowned winner of the 2019 Hackaday Prize.

Bend It Like Bhoite: Circuit Sculptures Shatter The Bounds Of Flatland

As electronics hobbyists, we live in a somewhat two-dimensional world. Our craft is so centered around the printed circuit board that our design tools are specifically geared to spit out files tailored to the board house, who can then ship us a study in fiberglass and copper. We daub on flux and solder, add components, apply heat, and like magic, our circuits come to life, all within a few millimeters above and below the PCB.

Breaking out of this self-imposed Flatland can be therapeutic. At least that’s how Mohit Bhoite sees his free-form circuit sculptures, which he spoke about at length at the Hackaday Superconference this year. By way of disclosure, I have to admit to being a longtime fan of Mohit’s work, both at his day job as a designer at Particle, and with his spare time hobby of creating sculptures from electronic components and brass wire which can be followed on his Twitter feed. He ended up joining us for a circuit sculpture Hack Chat just before heading to Supercon, too, so not only was I looking forward to meeting him, I was sure his talk would reveal the secrets of his art and give me the inspiration to start doing some of my own. I wasn’t disappointed on either score.

Continue reading “Bend It Like Bhoite: Circuit Sculptures Shatter The Bounds Of Flatland”

2019: As The Hardware World Turns

Well, this is it. The end of the decade. In a few days the 2010s will be behind us, and a lot of very smug people will start making jokes on social media about how we’re back in the “Roaring 20s” again. Only this time around there’s a lot more plastic, and drastically less bathtub gin. It’s still unclear as to how much jazz will be involved.

Around this time we always say the same thing, but once again it bears repeating: it’s been a fantastic year for Hackaday. Of course, we had our usual honor of featuring literally thousands of incredible creations from the hacking and making community. But beyond that, we also bore witness to some fascinating tech trends, moments that could legitimately be called historic, and a fair number of blunders which won’t soon be forgotten. In fact, this year we’ve covered a wider breadth of topics than ever before, and judging by the record setting numbers we’ve seen in response, it seems you’ve been just as excited to read it as we were to write it.

To close out the year, let’s take a look at a few of the most popular and interesting stories of 2019. It’s been a wild ride, and we can’t wait to do it all over again in 2020.

Continue reading “2019: As The Hardware World Turns”

3D Printed Pulsejet Uses Tesla Valve

For most people, a jet is a jet. But there are several different kinds of jet engines, depending on how they operate. You frequently hear about ramjets, scramjets, and even turbojets. But there is another kind — a very old kind — called a pulsejet. [Integza] shows how he made one using 3D printed parts and also has a lot of entertaining background information. You can see the video below. (Beware, there is a very little bit of off-color language and humor in the video, so you might not want to watch this one at work.)

They are not ideal from a performance standpoint, but they are easy to make. How easy? A form of pulsejet was accidentally discovered by a young Swiss boy playing with alcohol in the early 1900s. Because of their simplicity, they’ve been built by lots of different people, including rocket pioneer Robert Goddard, who mounted one to a bicycle.

Continue reading “3D Printed Pulsejet Uses Tesla Valve”