Friday Hack Chat: FPGA Bootcamp

For this week’s Hack Chat, we’re going to be talking all about FPGAs, with our own resident FPGA expert.

This summer, Hackaday.io launched FPGA bootcamps, simple, easy-to-follow tutorials that will get you up and running with Verilog. These were all done by Al Williams, Hackaday’s resident FPGA hacker. Al’s an electrical engineer, author of over thirty books, countless magazine articles, and thousands of blog posts. He’s been an amateur radio operator for 41 years, and his first computer used an 1802 chip.

Now Al is putting a little bit of his wisdom over on Hackaday.io. He’s written up a bunch of tutorials that will get you started in programmable digital logic. Everything from a refresher on the ins and outs of nands and nors. a short introduction to Verilog, moving into sequential logic, to putting that code on real FPGA hardware is already up, and this bootcamp isn’t done yet.

If you want to get started in FPGA design, Al’s the guy you want to talk to. During this Hack chat, you’ll be able to ask questions about FPGAs, and about what’s coming up in future bootcamps. We’ll also be talking about Al’s other projects that you might see on Hackaday in the future, like the embedded logic analyzer, his IceStorm workflow, and much more.

During this Hack Chat, we’re going to be talking about:

  • How to use the FPGA tutorials
  • What other FPGAs you can use the tutorials for and how
  • Other Hackaday Bootcamp topics — FPGA or otherwise — that you’d like to see.

You are, of course, encouraged to add your own questions to the discussion. You can do that by leaving a comment on the FPGA Bootcamp Hack Chat and we’ll put that in the queue for the Hack Chat discussion.

join-hack-chat

Our Hack Chats are live community events on the Hackaday.io Hack Chat group messaging. This week we’ll be sitting down on Friday, October 12th, at noon, Pacific time. If time zones got you down, we have a handy time zone converter.

Click that speech bubble to the right, and you’ll be taken directly to the Hack Chat group on Hackaday.io.

You don’t have to wait until Friday; join whenever you want and you can see what the community is talking about.

A Better Charger For Your Coin Cell Batteries

Rechargeable coin cell batteries are great for all your small projects. They look exactly like regular coin-cell batteries, but in a shocking turn of events you can recharge these little guys. They can put out a reasonable amount of current, and they’re small. Just what you need for your Arduino smart watch, or whatever else the kids are doing these days.

But if these batteries are rechargeable, you need a charger. That’s where [Jon]’s entry for the Hackaday Prize comes in handy. It’s a small, cheap charger for LIR2032 and other rechargeable batteries comes in. It’s barely larger than the battery itself, and it plugs right into a USB port. How this isn’t a product already, we’ll never know.

The circuit on this coin cell charger is built from an MCP73831, a nice single cell, lithium ion and lithium polymer charge management controller. In the standard, ‘I only need to read the first page of the datasheet’ configuration, this chip can put 500 mA into a battery. Standard rechargeable coin cells only have a capacity of 40 mAh, so you’ve got plenty of headroom at 1C.

The total cost for this project was under $8 for three boards, and a BOM cost of $2 for one. That’s fourteen bucks for three of them, if you know how to solder, compared to a standard, off-the-shelf charger for about $20. Building this is cheaper than buying the equivalent product. It’s unbelievable, but true.

The Incredible Judges Of The Hackaday Prize

The last challenge of The Hackaday Prize has just ended. Over the past few months, we’ve gotten a sneak peek at over a thousand amazing projects, from Open Hardware to Human Computer Interfaces. This is a contest, though, and to decide the winner, we’re tapping some of the greats in the hardware world to judge these astonishing projects.

Below are just a preview of the judges in this year’s Hackaday Prize. In the next few weeks, we’ll be sending the judging sheets out to them, tallying the results, and in just under a month we’ll be announcing the winners of the Hackaday Prize at the Hackaday Superconference in Pasadena. This is not an event to be missed — not only are we going to hear some fantastic technical talks from the hardware greats, but we’re also going to see who will walk away with the Grand Prize of $50,000.


Kipp Bradford

Kipp Bradford is a biomedical engineer and Research Scientist at the MIT Media Lab. His work focuses on reinventing cool. He is a leader in the maker movement and has founded a variety of start-ups. He was a presenter at the Hackaday Superconference last year where he talked about the importance of building boring projects. It’s a great talk about Devices for Controlling Climates, or quite simply, an HVAC system. This isn’t a flashy project by any means — refrigeration has been around for a hundred years, and air conditioning has been common for fifty. Still, there’s a lot to learn about building infrastructure, and given the ubitquity of climate control systems, small efficiency gains can add up to a huge impact.

Madison Maxey

Madison Maxey is a internationally renowned technologist and multidisciplinary creative. Maxey has pioneered work in bringing flexible, robust circuitry to scale as Founder of LOOMIA, a technology that implants coats and jackets with soft, flexible circuitry that can heat, light, sense and track data. If you’re looking for wearable technology that isn’t made of copper and Kapton, look no further. LOOMIA has been featured by Business Insider, Forbes, and Huffington Post. This little bit of hardware can serve as a heater, keeping you warm, or as lighting to illuminate the headliner of a car or keep you visible at night. Maddy is a member of Forbes 30 under 30, a Thiel Fellow, and a Lord and Taylor Rose Award recipient.

Mark Rober

Mark Rober is a former NASA engineer, an inventor, and current YouTuber with nearly three million subscribers, all of them interested in science and engineering. He’s been featured on Hackaday numerous times for engineering the perfect throw for skipping a rock across a lake, filling a hot tub with sand, then swimming in it, building a dart board that always catches your dart for the perfect bullseye, and building the world’s largest Super Soaker (yes, it’s the classic, original Super Soaker). His work has been featured in dozens of publications around the Internet. Mark is full of awesome ideas and through his YouTube channel is able to explain science and engineering clearly to millions of people around the globe.

Colin Furze

Colin Furze is a mad Englishman in a shed who was formerly a plumber and now creates amazing inventions and incredible vehicles. His YouTube channel has over five million subscribers and his videos have been viewed over six hundred million times. He’s built a real hoverbike which must someday be taken to the forest moon of Endor, the world’s fastest bumper car that is also remarkably unsafe to actually use as a bumper car, and a knife that toasts bread as you slice it. But of course his most impressive achievement is gigantic pulse jet that was heard across the English Channel. And all of this without scorching his safety tie.

These are just four of the amazingly accomplished judges we have lined up to determine the winner of this year’s Hackaday Prize. The winner will be announced on November 3rd at the Hackaday Superconference. There are still tickets available, and you really want to be there if you can make it. Still, we’re going to be live streaming everything, including the prize ceremony, where one team will walk away with the grand prize of $50,000. It’s not an event to miss.

New Part Day: The RISC-V Chip With Built-In Neural Networks

After exploring a few random online shops one day, [David] (thanks for sending this in, by the way) ran across a very interesting chip. It’s a dual-core, RISC-V chip running at 400MHz. There’s 6 MB of SRAM on the CPU, and there’s 2MB for convolutional neural network acceleration. There is, apparently, WiFi on some versions. There are already SDKs available on GitHub, and a bare chip costs a dollar or two. Interested? Log in to Taobao, realize Taobao does pre-orders, and all this can be yours.

This is a preorder — because apparently you can do that as a seller on TaoBao, but the Sipeed M1 K210 is available as a ‘core’ board with 72 pins in a one-inch square package, a version with WiFi, or as a complete development board with an OV2640 camera, 2.4 inch LCD, microphone, and onboard USB. There are videos of this chip running a face detection routine. It found Obama.

A bit of googling tells us this chip comes from a company named Kendryte, and here the specs are repeated: this is a dual-core RISC-V with an FPU, a bunch of RAM, and can run TensorFlow. Documentation is available, although the datasheet will need to be translated, and as of this writing there’s a GitHub filled with SDKs and examples, with some of the repos updated in the last hour.

Over the years we’ve seen a few RISC-V chips given development boards, and you can buy them right now. The HiFive 1 is an exceptionally powerful microcontroller with processing power that puts it right up against the Teensy (which is built around a Freescale chip), but it’s also fairly expensive. We’re not sure the Arduino Cinque (also RISC-V) ever made it to production, but again, expensive. The idea that a RISC-V microcontroller could be available for just a few dollars is very interesting, it even comes with SDKs and utilities to make the chip useful.

Hackaday Links Column Banner

Hackaday Links: October 7, 2018

Ah, crap. We lost a good one, people. [Samm Sheperd] passed away last month. We’ve seen his stuff before, from a plane with a squirrel cage fan, to completely owning a bunch of engineering students by auditing a class. The obit is available as a Google Doc, and there’s a Samm Sheperd Memorial Fund for the Big Lake Youth Camp in Gladstone, Oregon.

FranLab is closing down! Fran is one of the hardware greats, and she’s being evicted. If you’ve got 2000sqft of workshop space in Philly you’d like to spare, you know who to talk to. There will, probably, be a crowdfunding thing going up shortly, and we’ll post a link when it’s up.

The Parallax Propeller is probably one of the most architecturally interesting microcontrollers out there. It’s somewhat famous for being a multi-core chip, and is commonly used in VGA generation, reading keyboards, and other tasks where you need to do multiple real-time operations simultaneously. The Parallax Propeller 2, the next version of this chip, is in the works, and now there’s real silicon. Everything is working as expected, and we might see this out in the wild real soon.

Thought artistic PCBs were just a con thing? Not anymore, I guess. There has been a lot of activity on Tindie with the Shitty Add-Ons with [TwinkleTwinkie] and [Potato Nightmare] releasing a host of very cool badges for your badges. Most of these are Shitty Add-Ons, and there will be an update to the Shitty Add-On spec shortly. It’s going to be backwards-comparable, so don’t worry.

Unnecessary drama!?! In my 3D printing community?!? Yes, it’s true, there was a small tiff over the Midwest RepRap Festival this week. Here’s what went down. You got three guys. John, Sonny, and Steve. Steve owns SeeMeCNC, based in Goshen, Indiana. John worked for SeeMeCNC until this year, and has been the ‘community manager’ for MRRF along with Sonny. Seeing as how the RepRap Festival is the only thing that ever happens in Goshen, Steve wanted to get the ball rolling for next year’s MRRF, so he sent out an email, sending the community into chaos. No, there’s not some gigantic fracture in the 3D printing community, John and Sonny, ‘were just slacking’ (it’s five months out, dudes. plenty of time.), and Steve wanted to get everything rolling. No problem here, just a bunch of unnecessary drama in the 3D printing community. As usual.

Towards Open Biomedical Imaging

We live in a world where anyone can build a CT machine. Yes, anyone. It’s made of laser-cut plywood and it looks like a Stargate. Anyone can build an MRI machine. Of course, these machines aren’t really good enough for medical diagnosis, or good enough to image anything that’s alive for that matter. This project for the Hackaday Prize is something else, though. It’s biomedical imaging put into a package that is just good enough to image your lungs while they’re still in your body.

The idea behind Spectra is to attach two electrodes to the body (a chest cavity, your gut, or a simulator that’s basically a towel wrapped around the inside of a beaker). One of these electrodes emits an AC signal, and the second electrode measures the impedance and phase. Next, move the electrodes and measure again. Do this a few times, and you’ll be able to perform a tomographic reconstruction of the inside of a chest cavity (or beaker simulator).

Hardware-wise, Spectra uses more than two electrodes, thirty-two on the biggest version built so far. All of these electrodes are hooked up to a PCB that’s just under 2″ square, and everything is measured with 16-bit resolution at a 160 kSPS sample rate. To image something, each electrode sends out an AC current. Different tissues have different resistances, and the path taken through the body will have different outputs. After doing this through many electrodes, you can use the usual tomographic techniques to ‘see’ inside the body.

This is a remarkably inexpensive way to image the interior of the human body. No, it doesn’t have the same resolution as an MRI, but then again you don’t need superconducting electromagnets either. We’re really excited to see where this project will go, and we’re looking forward to the inevitable project updates.

Challenge Your Perception Of Reality With Emotional Sunglasses

The Peril-Sensitive sunglasses of Hitchhiker’s Guide fame directly affect the user’s response to a stimulus, turning completely opaque in response to danger. That’s a great idea, but what if sunglasses could affect your emotions? That’s what the EmotiGlass project in this year’s Hackaday Prize is doing. It’s a concept that allows a computer to change the user’s emotional perception of reality.

The key idea behind the EmotiGlass comes from a paper published by a researcher at the University of London just this year. Apparently, your emotional reaction to an image can be controlled depending on the point in time during your heartbeat cycle the image is presented. For example, researchers found the perception of pain depended on the point in the cardiac cycle the stimulus was delivered.

In an effort to test out this hypothesis with some Open Source hardware, [David Prutchi] and [Jason Meyers] created a pair of sunglasses with liquid crystal lenses that can either be clear or opaque. With the addition of ECG sensors to detect the cardiac cycle and a microcontroller to tie everything together, you get a device that is the emotional equivalent of Peril-Sensitive sunglass.

This is a great project that won $1000 for making it to the finals of the Hackaday Prize, and we’re proud to have this project in the running for the Grand Prize of $50,000 USD.