Showing KiCanvas board viewer component inside a browser window, with a board being displayed and toggleable layers

KiCanvas Helps Teach And Share KiCad Projects In Browsers

KiCad is undeniably the hacker favourite when it comes to PCB design, and we’ve built a large amount of infrastructure around it – plugins, integrations, exporters, viewers, and much more. Now, [Stargirl Flowers] is working on what we could call a web viewer for KiCad files – though calling the KiCanvas project a “KiCad viewer” would be an understatement, given everything it aims to let you do. It will help you do exciting things like copy-pasting circuits between KiCad and browser windows, embed circuits into your blog and show component properties/part numbers interactively, and of course, it will work as a standalone online viewer for KiCad files!

Continue reading “KiCanvas Helps Teach And Share KiCad Projects In Browsers”

The hack's author performing the operation described at his workdesk, with a separate camera window showing the acupuncture needles being used to touch the board points

Find SWD Points Quickly, No Extra Hardware Needed

Say you’re tinkering with a smart device powered by a CPU that uses Serial Wire Debug (SWD), but doesn’t mark the testpoints. Finding SWD on a board — how hard could it be? With [Aaron Christophel]’s method, you can find the SWD interface on a PCB within a few minutes’ time. All you need is two needles, a known-to-be-ground connection, an SWD dongle of some kind, and a computer with an audio output. What’s best — you could easily transfer the gist of this method to other programming interface types!

The idea is simple: you wire the ground up, connect the needles to SWDIO and SWCLK, launch [Aaron]’s Python script, then start poking around all the unnamed test points. The script runs JLink software to probe for SWD devices attached to the probes — if an SWD interface isn’t found, it beeps idly, but as soon as the device is detected, your computer will start beeping at you in a lively manner. In this way, you don’t have to re-scan devices manually, solder to any test points except the GND one, or try and hold both probes on test points with one hand – the scanning process itself is hands-free.

Depending on how many points your board has and whether you try to optimize the process by probing points closest to the SWD pins on the CPU, you might hit the jackpot immediately, or you might have to poke around for a minute-two. That said, [Aaron]’s method seems to be the best you can do while remaining relatively extra-hardware-free, and if you want to make it a tinge more permanent, clothespins are there for you.

In case you don’t mind extra hardware – could we interest you in some 3D printed needle probe desks? There’s a wide variety of those, whether you’d like some tentacle-like ones, or ones that make your desk look like like an acupuncture table. Or, say, would you like a more automatic method of finding all kinds of debug interfaces? Then JTAGulator might be what you’re looking for.

Continue reading “Find SWD Points Quickly, No Extra Hardware Needed”

Driverless Buses Take To The Road In Scotland

Scotland! It’s the land of tartans, haggis, and surprisingly-warm kilts. It’s also ground zero for the first trial of full-sized driverless buses in the United Kingdom.

It’s not just automakers developing driverless technologies. Transit companies are desperate to get in on the action because it would completely upend their entire existing business structure. Now that self-driving buses are finally approaching a basic level of competence, they’re starting to head out to haul passengers from A to B. Let’s look at how the UK’s first driverless bus project is getting on out in the real world. 

Continue reading “Driverless Buses Take To The Road In Scotland”

A grey smartphone sits inside a sleeve made of light brown wood veneer and a black felt interior.

Wooden Smartphone Sleeve Keeps You On Task

Smartphones are amazing tools, but sometimes they can be an equally amazing time suck. In an effort to minimize how much precious time goes down the drain, [Lance Pan and Zeynep Kirmiziyesil] decided to make a functional and beautiful smartphone sleeve to keep you on task.

Most modern smartphones have some form of Do Not Disturb mode available, but having the phone visible can still be an invitation for distraction. By tucking the phone into an accessible but less visible sleeve, one can reduce the visual trigger to be on the phone while keeping it handy in the even of an emergency.

Once in the sleeve, the NFC tag sandwiched between the felt and wood veneer triggers an automation to put the phone into Do Not Disturb mode. This hack looks like something that you could easily pull off in an afternoon and looks great which is always a winning combination in our book.

To see some more focus-oriented hacks, checkout the Pomodachi or this Offline E-Paper Typewriter.

All About USB-C: Pinecil Soldering Iron

As many people have pointed out, what matters with USB-C isn’t just the standard, it’s the implementations. After all, it’s the implementations that we actually have to deal with, and it’s where most of the problems with USB-C arise. There is some fault to the standard, like lack of cable markings from the get-go, but at this point, I’m convinced that the USB-C standard is a lot better than some people think.

I’d like to walk you through a few USB-C implementations in real, open-source, adjacent, and just interesting products. They’re all imperfect in some way – it can’t be otherwise, as they have to deal with the messy real world, where perfection is a rarity.

Today, let’s check out the Pinecil. A soldering iron by Pine64, released a few years ago, keeping the price low and quality high. It sports both a barrel jack and a USB-C port for its power input – a welcome departure from the Miniware iron strategy, where neither the barrel-jack-only TS100 nor the low-power proprietary-tip TS80 irons quite did it. And, given its design around TS100 T12-style tips, it’s no wonder Pinecil took a well-deserved spot in hobbyist world.

Can’t Just Pull The Trigger

Now, you might be thinking that Pinecil ought to be a simple device. The usual way to get high power out of a USB-C port is a Power Delivery (PD) trigger IC, and you could merely use that. However, if you’ve read the USB-C power article, you might remember the 45 W vs 60 W charger scenario, where such an arrangement would fail immediately. Overall, the configurability of trigger ICs is quite low, and when encountering a PD compatibility problem with some PSU, you can’t do anything about it except replace the IC with a slightly-different-logic IC- if a replacement even exists, and it usually does not. This is costly and limiting for a real-world use product. Continue reading “All About USB-C: Pinecil Soldering Iron”

A Reverse Polish Calculator For Your Keychain

As the smartphone has eaten ever more of the gatgets with which we once surrounded ourselves, it’s with some sadness that we note the calculator becoming a less common sight. It’s with pleasure then that we bring you [Nekopla]’s keychain calculator, not least because it’s a little more than a conventional model. This is a calculator which uses Reverse Polish Notation, or RPN.

A full write-up in Japanese (Google Translate link) carries an impressive level of detail about the project, but in short, it takes an Arduino Pro Micro, an array of keys, and an OLED display, and packages them on a couple of fiberglass prototyping boards in a sandwich between laser-cut Perspex front and rear panels.

The RPN notation is what makes it especially interesting,a system in which where you might be used to writing 2+2=  to get 4, in RPN you would write 2 2 + . It allows the use of much simpler code with a stack-based architecture than that used in a conventional calculator. It’s a system that’s usually the preserve of some pretty exclusive machines, so it’s great to see on something with more of the toy about it.

If RPN interests you, then you might like to read our look at the subject, and even feast your eyes on the teardown of a vintage 1975 Sinclair RPN calculator.

A desktop weather display, with two yellow pointers, one for the time frame (Now, 3hr, 6hr, 12hr, 24hr, 48hr) and the other pointing to an iconographic description of the weather (sunny, cloudy, cloud with rain, cloud with lightning, snowflake and fog)

Let This Minimal Desktop Weather Display Point The Way

Much of the Northern Hemisphere is currently in the middle of winter, so what better way to brighten a potentially gloomy day than to put this charming, minimalist weather display on your desk.

[Joe] has created a weather gauge that uses two servo motors to position mechanical pointers to indicate weather symbols and time ranges. The electronics consists of a push button and two SG90 servos driven by a Raspberry Pi Zero W 2. The case is 3D printed including the pointers attached to the servos and the button brim of the switch. The Raspberry Pi Zero W 2 is programmed to automatically connect to the OpenWeather API to retrieve the latest weather conditions, with the latitude and longitude being configured into the update script during the configuration and assembly stages.

[Joe] has provided extensive documentation about the build and software setup, in addition to releasing the source code and STL files for anyone wanting to make their own. [Joe] even offers kits for those who don’t want to go through the trouble of putting one together themselves — not that we imagine many in this particular audience would fall into that category.

We love to see these delightful weather builds and we’ve featured others in the past, like a converted weather house for weather prediction or a weather reporting diorama.

Continue reading “Let This Minimal Desktop Weather Display Point The Way”