NOTE: make sure to check “After Dark” in the cart
Hackaday Remoticon happens November 6-8 worldwide!
The weekend will be packed with virtual activities, and most of them are hands-on workshops that you can participate in from the comfort of your home, lab, garage, basement, lair, or other socially distanced location of your choosing.
The news today is that everyone should register for Remoticon right now, and that we’re opening up registration for about half of the total workshops. More details on the remaining workshops, demos, and some special events will be available in a future article.
Here are some of the workshops:
- Basics of RF Emissions Debugging
- Crowd-Controlled Robots
- The Hackers Guide to Hardware Debugging
- How to 3D Print onto Fabric
- Introduction to Firmware Reverse Engineering
- Introduction to Modular Synthesis using VCV Rack
- KiCad to Blender > Photorealistic PCB renders
- Learn How to Hack a Car
- Live Breaking into Encrypted 3D Printer Firmware
- MachineChat – JEDI One – A Universal Sensor Hub
- PCB Reverse Engineering
- Prototyping to the Max
- Soldering, Nothing To Be Afraid Of!
- Tiny ML
- Zero to ASIC in Two Hours
Congratulations, you have just finished assembling your electronics project. After checking for obvious problems you apply power and… it didn’t do what you wanted. They almost never work on the first try, and thus we step into the world of electronics debugging with Daniel Samarin as our guide at Hackaday Superconference 2019. The newly published talk video embedded below.
Beginners venturing just beyond blinking LEDs and premade kits would benefit the most from information here, but there are tidbits useful for more experienced veterans as well. The emphasis is on understanding what is actually happening inside the circuit, which explains the title of the talk: Debugging Electronics: You Can’t Handle the Ground Truth! So we can compare observed behavior against designed intent. Without an accurate understanding, any attempted fix is doomed to failure.
To be come really good at this, you need to embrace the tools that are often found on a well stocked electronics bench. Daniel dives into the tricks of the trade that transcend printf and blinking LED to form a plan to approach any debugging task.
Having found success in different areas, it’s a pleasure to hear from Erika Earl, Paul Beech, and Spencer Owen during a panel discussion at the 2019 Hackaday Superconference. Led by Tindie’s Jasmine Brackett, the panel covers some of the background needed to develop a product and get it into the hands of your customers.
Erika’s origin story begins with an interest in electronics during her teenage years that led to work in recording studios. It seems nobody on staff there was interested in repairing anything. Every company needs a hacker to make sure everything continues to work and she decided to take on the role.
From there Erika found her way into the world of manufacturing and has never looked back. You may remember hearing some of her experiences in her 2016 Hackaday Supercon talk on turning your manufacturing mistakes in a learning experience. During this panel she recounts one particularly painful experience when over-torque on a six-layer PCB damaged traces and led to extensive manual rework; always include a torque-spec!
The idea of InspectAR is to use augmented reality to help work with and debug electronics. It’s a powerful suite of tools that enable the live overlay of graphics on a video feed of a circuit board, enabling the user to quickly and effectively trace signals, identify components, and get an idea of what’s what. Usable with a smartphone or a webcam, the aim is to improve collaboration and communication between engineers by giving everyone a tool that can easily show them what’s going on, without requiring everyone involved to run a fully-fledged and expensive electronics design package.
The Supercon talk served to demonstrate some of the capabilities of InspectAR with an Arduino Uno. With a few clicks, different pins and signals can be highlighted on the board as Mihir twirls it between his fingers. Using ground as an example, Mihir first highlights the entire signal. This looks a little messy, with the large ground plane making it difficult to see exactly what’s going on. Using an example of needing a point to attach to for an oscilloscope probe, [Mihir] instead switches to pad-only mode, clearly revealing places where the user can find the signal on bare pads on the PCB. This kind of attention to detail shows the strong usability ethos behind the development of InspectAR, and we can already imagine finding it invaluable when working with unfamiliar boards. There’s also the possibility to highlight different components and display metadata — which should make finding assembly errors a cinch. It could also be useful for quickly bringing up datasheets on relevant chips where necessary.
Some people like to do things the hard way. Maybe they drive a manual transmission, or they bust out the wire wrap tool instead of a soldering iron, or they code in assembly to stay close to the machine. Doing things the hard way certainly has its merits, and we are not here to argue about that. Scott Shawcroft — project lead for CircuitPython — on the other hand, makes a great case for doing things the easy way in his talk at the 2019 Hackaday Superconference.
In fact, he proved how easy it is right off the bat. There he stood at the podium, presenting in front of a room full of people, poised at an unfamiliar laptop with only the stock text editor. Yet with a single keystroke and a file save operation, Scott was able make the LEDs on his Adafruit Edge Badge — one of the other pieces of hackable hardware in the Supercon swag bag — go from off to battery-draining bright.
Last year’s Hackaday Superconference badge was an electronic tour de force, packing an ECP5 FPGA shoehorned into a Game Boy-like form factor and shipping with a RISC-V core installed that together gave an almost infinite badge hacking potential. It did not however run Linux, and that’s something [Greg Davill] has addressed, as he’s not only running Linux on his badge, but also a framebuffer that allows him to use the badge screen as the Linux terminal screen. Finally you can watch Linux boot on your Superconference badge itself, rather than over its serial port.
He’s achieved this by changing essentially everything: from the new VexRiscv CPU core, to new video drivers and a VGA terminal courtesy of Frank Buss, now part of the LiteVideo project. It’s not quite a fully fledged Linux powerhouse yet, but you can find it in a GitHub repository should you have a mind to try it yourself. Paging back through his Twitter feed reveals the effort he’s put into this work over the last few months, and shows that it’s been no easy task.
For those keeping score at home, this is an open hardware design, running an open CPU core, with community-designed open-source peripherals, compiled by an open-source toolchain, running an open-source operating system. And it’s simply a fantastic demo for the badge, showing off how flexible the entire system is. One of the best parts of writing for Hackaday is that our community is capable of a huge breadth of amazing pieces of work, and this is an exemplar of that energy. We can’t wait to see what Greg and any other readers tempted to try it will come up with.
If you’d like to refresh your memory over the 2019 Supercon badge, here’s our write-up at the time.
Software defined radio has become a staple of the RF tinkerer, but it’s likely that very few of us have ever taken their software defined toolchain outside the bounds of radio. It’s an area explored by Mike Ossmann and Kate Temkin in their newly published Supercon talk as they use GNU Radio to do some things that you might find unexpected.
For most people, a software defined radio is a device. An RTL-SDR dongle perhaps, or the HackRF that a popular multi-tool for working in the radio frequency realm. But as they explain, the SDR hardware can be considered merely as the analogue front end, being just the minimal analogue circuitry coupled with a digitiser. The real software-defined part comes — as you might expect — in the software
Kate and Mike introduce GNU Radio Companion — the graphical UI for GNU Radio — as their tool of choice and praise it’s use as a general purpose digital signal processing system whether or not that includes radio. Taking their own Great Scott Gadgets GreatFET One USB hackers toolkit peripheral as an input device they demonstrate this by analysing the output from a light sensor. Instantly they can analyse the mains frequency in a frequency-domain plot, and the pulse frequency of the LEDs. But their bag of tricks goes much deeper, exploring multiple “atypical use cases” that unlock a whole new world through creative digital signal processing (DSP).
Those of us who work with electronics will usually come to the art through a particular avenue that we master while imbibing what we need from those around it. For example, an interest in audio circuitry may branch into DSP and microcontrollers as projects become more complex. Some realms though retain an aura of impossibility, a reputation as a Dark Art, and chief among them for many people is radio frequency (RF). Radio circuitry is often surprisingly simple, yet that simplicity conceals a wealth of complexity because the medium does not behave in the orderly manner of a relatively static analogue voltage or a set of low-frequency logic levels.
Chris Gammell is a familiar face to many Hackaday readers for his mastery of much electronic trickery, so it comes as something of a surprise to find that RF has been one of the gaps in his knowledge. In his talk at the Hackaday Superconference he took us through his journey into RF work, and the result is a must-watch for anyone with a curiosity about radio circuitry who didn’t know where to start.
Jacob Creedon designed an a cartridge board that adds 32MB of SDRAM to the Hackaday Supercon badge. Michael Welling just assembled a version of the PCB made with the OSH Park “After Dark” black FR-4 service:
Read more about “Team Linux on Badge” in this Hackaday post:
And finally, receiving the biggest applause was Linux-on-Badge: this team used all the badge hacking tricks in the book. The hardware component was a 32 MiB SDRAM cartridge by [Jacob Creedon]. The default badge SOC FPGA bitstream was entirely replaced in order to support a minimalist Linux. Much of the development was done on [Michael Welling]’s computer, guided by the precedence of a LiteX project putting Linux on the Radiona ULX3S. This is a true success story of Supercon collaboration as the team (including [Drew Fustini], [Tim Ansell], [Sean Cross], and many others) came together and worked late into nights, drawing from the massive body of collective expertise of the community.
Watch the demo during the Badge Hacking ceremony (jump to 17m 35s):
- support for the Hackaday badge has now been merged into Linux-on-LiteX
- KiCad design files are available on GitHub: jcreedon/dram-cart
- Shared DigiKey cart of the parts
- Shared project on OSH Park: Hackaday Supercon badge SDRAM cartridge
Demo of Linux-on-LiteX booting on the badge:
Wondering what LiteX is?
LiteX is a FPGA design/SoC builder that can be used to build cores, create SoCs and full FPGA designs