Learning Verilog For FPGAs: Hardware At Last!

Getting into FPGA design isn’t a monolithic experience. You have to figure out a toolchain, learn how to think in hardware during the design, and translate that into working Verliog. The end goal is getting your work onto an actual piece of hardware, and that’s what this post is all about.

In the previous pair of installments in this series, you built a simple Verilog demonstration consisting of an adder and a few flip flop-based circuits. The simulations work, so now it is time to put the design into a real FPGA and see if it works in the real world. The FPGA board we’ll use is the Lattice iCEstick, an inexpensive ($22) board that fits into a USB socket.

Like most vendors, Lattice lets you download free tools that will work with the iCEstick. I had planned to use them. I didn’t. If you don’t want to hear me rant about the tools, feel free to skip down to the next heading.

Continue reading “Learning Verilog For FPGAs: Hardware At Last!”

Ubuntu Core Supports Raspberry Pi 2 I/O

Although it isn’t official, Ubuntu Core–the tiny Internet of Things version of Ubuntu–now runs on the Raspberry Pi 2. There are prebuilt binaries as well as instructions for how to roll your own, if you prefer. You can even access GPIO

Ubuntu Core abandons the old-style Debian packages, in favor of Snap, a new version of the Ubuntu phone’s Click package manager. Snap offers transactional updates. The idea is that all of these “things” on the IoT need to be updated to patch security holes or fix other issues.

Continue reading “Ubuntu Core Supports Raspberry Pi 2 I/O”

Data Logging In The Picoampere Range

You probably know that to transfer the most energy between a source and a load their impedance needs to match. That’s why a ham radio transmitter needs a 50 ohm antenna (at least, usually). The transmitter is 50 ohms and you want a match. Some test equipment matches impedance, but for multimeters, oscilloscopes and a lot of other gear, the instrument just presents a very large impedance. As long as it is much larger than the measured circuit’s impedance, the effect will be small.

With today’s MOSFET instrumentation amplifiers, it isn’t uncommon to see very high input impedances.  However, you sometimes run into something that has a low input Z and that can cause issues if you don’t account for them. On the other hand, where some people see issues, others see opportunities.

Continue reading “Data Logging In The Picoampere Range”

Raspberry Pi Halt And Catch… Well, Halt

As far back as we can remember, there have always been hacks, exploits, and just curiosity about undocumented CPU instructions. The Z80 had them. Even the HP41C calculator had some undocumented codes. The HCF (Halt and Catch Fire) instruction was apocryphal, but we always heard the old video controller chips could be coaxed into blowing up certain monitors. You don’t hear too much about things like that lately, perhaps because fewer people are working in assembly language.

[Sergi Àlvarez i Capilla] not only works in assembly language, he was writing an ARM assembler when he noticed something funny. Instructions are built in a regular pattern and some of the patterns were missing. What to do? [Sergi] lost no time trying them out.

Continue reading “Raspberry Pi Halt And Catch… Well, Halt”

VirtualBench Tear Down

What do you get when you cross a mixed-signal oscilloscope, a function generator, a multimeter, a power supply, and some programmable digital I/O in a box? Sounds like the set up to a very geeky joke, but it is actually National Instrument’s VirtualBench product. [Shahriar] has one and wanted to know what was inside, so he did a tear down.

Continue reading “VirtualBench Tear Down”

Breadboards Go To Pot

Solderless breadboards are great for ICs and discrete components like resistors, capacitors, and transistors (at least the through hole kind). They aren’t so good at holding big components like potentiometers. Sure, you can jam trimmers in maybe. You can also solder leads to a pot, but that’s not pretty and tend to pull out when handled. [PaulStoffregen] got tired of it, so he put together some good looking PC boards that mount a 6mm shaft pot securely to a breadboard.

[Paul] noticed that having delicate or knobless adjustments on a breadboard inhibited people from playing with demo circuits. The new set up invites people to make adjustments. The pictures and video show an early version with six pins, but [Paul] added two more pins on the recent batch to increase the grip of the breadboard.

Continue reading “Breadboards Go To Pot”

Transfer Data Via YouTube

The original steganography technique dates back to 440 BC (according to Wikipedia) when a Greek wrote secret messages on a piece of wood, covered it in wax, and then wrote innocent text on the wax. The term, in general, means hiding a message in something that looks harmless. The LVDO project (and a recent Windows fork) says it is steganography, but we aren’t quite sure it meets the definition. What it does is converts data into a video that you can transfer like any other video. A receiver that knows what LVDO parameters you used to create the video can extract the data (although, apparently, the reproduction is not always completely error-free).

The reason we aren’t sure if this really counts as steganography is that–judging from the example YouTube video (which is not encoded)–the output video looks like snow. It uses a discrete cosine transform to produce patterns. If you are the secret police, you might not know what the message says, but you certainly know it must be something. We’d be more interested in something that encodes data in funny cat videos, for example.

Continue reading “Transfer Data Via YouTube”