FPGA used VHDL for Fractals

Over on GitHub, [ttsiodras] wanted to learn VHDL. So he started with an algorithm to do Mandelbrot sets and moved it to an FPGA. Because of the speed, he was able to accomplish real-time zooming. You can see a video of the results, below.

The FPGA board is a ZestSC1 that has a relatively old Xilinx Spartan 3 chip onboard. Still, it is plenty powerful enough for a task like this.

The project doesn’t directly drive a display. It does the math, stores the results in the board’s onboard RAM and then sends a frame to the PC using the …read more

Continue reading FPGA used VHDL for Fractals→

Crystal Oscillators Explained

We’ve read a lot about oscillators, but crystal oscillators seem to be a bit of a mystery. Hobby-level books tend to say, build a circuit like this and then mess with it until it oscillates. Engineering texts tend to go on about loop gains but aren’t very clear about practice. A [circuit digest] post that continues a series on oscillators has a good, practical treatment of the subject.

Crystals are made to have a natural resonant frequency and will oscillate at that frequency or a multiple thereof with the proper excitation. The trick, of course, is finding the proper excitation. …read more

Continue reading Crystal Oscillators Explained→

VexRISC-V Exposed

If you want to use FPGAs, you’ll almost always use an HDL like Verilog or VHDL. These are layers of abstraction just like using, say, a C compiler is to machine language or assembly code. There are other challenges to the throne such as SpinalHDL which have small but enthusiastic followings. [Tom] has a post about how the VexRISC-V CPU leverages SpinalHDL to make an extremely flexible system that is as efficient as plain Verilog. He says the example really shows off why you should be using SpinaHDL.

Like a conventional programming language, it is easy to find niche languages …read more

Continue reading VexRISC-V Exposed→

Magic Wand Learns Spells through Machine Learning and an IMU

Jennifer Wang likes to dress up for cosplay and she’s a Harry Potter fan. Her wizarding skills are technological rather than magical but to the casual observer she’s managed to blur those lines. Having a lot of experience with different sensors, she decided to fuse all of this together to make a magic wand. The wand contains an inertial measurement unit (IMU) so it can detect gestures. Instead of hardcoding everything [Jennifer] used machine learning and presented her results at the Hackaday Superconference. Didn’t make it to Supercon? No worries, you can watch her talk on building IMU-based gesture recognition …read more

Continue reading Magic Wand Learns Spells through Machine Learning and an IMU→

Fail of the Week: A Candle Caused Browns Ferry Nuclear Incident

A colleague of mine used to say he juggled a lot of balls; steel balls, plastic balls, glass balls, and paper balls. The trick was not to drop the glass balls. How do you know which is which? For example, suppose you were tasked with making sure a nuclear power plant was safe. What would be important? A fail-safe way to drop the control rods into the pile, maybe? A thick containment wall? Two loops of cooling so that only the inner loop gets radioactive? I’m not a nuclear engineer, so I don’t know, but ensuring electricians at a nuclear …read more

Continue reading Fail of the Week: A Candle Caused Browns Ferry Nuclear Incident→

Fail of the Week: A Candle Caused Browns Ferry Nuclear Incident

A colleague of mine used to say he juggled a lot of balls; steel balls, plastic balls, glass balls, and paper balls. The trick was not to drop the glass balls. How do you know which is which? For example, suppose you were tasked with making sure a nuclear power plant was safe. What would be important? A fail-safe way to drop the control rods into the pile, maybe? A thick containment wall? Two loops of cooling so that only the inner loop gets radioactive? I’m not a nuclear engineer, so I don’t know, but ensuring electricians at a nuclear …read more

Continue reading Fail of the Week: A Candle Caused Browns Ferry Nuclear Incident→

A Christmas Tree for your Lab

It seems like holiday decorations come up earlier and earlier every year. You might not have room for a full-blown tree in your lab, but if you have an arbitrary waveform generator and a scope, Tektronix has a way for you to show your spirit electronically.

You can see the video below. Naturally, it features Tektronix gear, but we are pretty sure you could make it work with any arbitrary waveform generator that has at least two channels and a scope with an XY mode.

The key to making this easy isn’t a Tektronix app. It is WebPlotDigitizer, a web …read more

Continue reading A Christmas Tree for your Lab→

A Christmas Tree for your Lab

It seems like holiday decorations come up earlier and earlier every year. You might not have room for a full-blown tree in your lab, but if you have an arbitrary waveform generator and a scope, Tektronix has a way for you to show your spirit electronically.

You can see the video below. Naturally, it features Tektronix gear, but we are pretty sure you could make it work with any arbitrary waveform generator that has at least two channels and a scope with an XY mode.

The key to making this easy isn’t a Tektronix app. It is WebPlotDigitizer, a web …read more

Continue reading A Christmas Tree for your Lab→

Linux Fu: Turn a Web App into a Full Program

I hate to admit it. I don’t really use Linux on my desktop anymore. Well, technically I do. I boot into Linux. Then I do about 95% of my work in Chrome. About the only native applications I use anymore are development tools, the shell, emacs, and GIMP. If I really wanted to, I could probably find replacements for nearly all of those that run in the browser. I don’t use it, but there’s even an ssh client in the browser. Mail client? Gmail. Blogging? WordPress. Notes? OneNote or Evernote. Wouldn’t it be great to run those as actual applications …read more

Continue reading Linux Fu: Turn a Web App into a Full Program→

Getting Started with Free ARM Cores on Xilinx

We reported earlier about Xilinx offering free-to-use ARM Cortex M1 and M3 cores. [Adam Taylor] posted his experiences getting things working and there’s also a video done by [Geek Til It Hertz] based on the material that you can see in the second video, below.

The post covers using the Arty A35T or Arty S50 FPGA boards (based on Artix FPGAs) and the Xilinx Vivado software. Although Vivado will allow you to do conventional FPGA development, it also can work to compose function blocks to produce CPUs and that’s really what’s going on here.

The final design has an M3 …read more

Continue reading Getting Started with Free ARM Cores on Xilinx→