Ask Hackaday: How Do You Draw Schematics?

The lingua franca of electronic design is the schematic. I can pick up a datasheet written in Chinese (a language I do not read or speak) and usually get a half-decent idea of what the part is all about from the drawings. Unfortunately, even as my design experience has grown over the years, I haven’t quite learned to think in schematics — I need to see it on paper (or on a screen) to analyze a circuit. Whether it’s literally on the back of an envelope or sketched in the condensation on the shower stall, actually drawing a design or idea makes a huge difference in being able to understand it. And, if you’ve ever tried to explain a circuit without a schematic — in an on-line forum or over the phone, for instance — you know how difficult it is.

So, given the importance of the schematic for design and communication, you’d think choosing a tool to draw them would be an easy task. Not so. There are dozens of choices, from dedicated schematic drawing programs to using the schematic-capture facilities of simulation or PCB design tools, or even old-fashioned pencil-and-paper and its modern equivalents. Each one has its pros and cons, and may be better suited to one specific application, but you have to choose something.

So, readers of Hackaday, what do you use to convey your electronic design ideas to the world?

Continue reading “Ask Hackaday: How Do You Draw Schematics?”

Ask Hackaday: Earth’s Magnetic Field Shifting Rapidly, But Who Will Notice?

Just when you though it was safe to venture out, the National Oceanic and Atmospheric Administration released an unexpected update. Magnetic North is on the move — faster than expected. That’s right, we know magnetic north moves around, but now it’s happened at a surprising rate. Instead of waiting for the normal five year interval before an update on its position, NOAA have given us a fresh one a bit earlier.

There are some things that we can safely consider immutable, reliable, they’ll always be the same. You might think that direction would be one of them. North, south, east, and west, the points of the compass. But while the True North of the Earth’s rotation has remained unchanged, the same can not be said of our customary method of measuring direction.

Earth’s magnetic field is generated by a 2,000 km thick outer core of liquid iron and nickel that surrounds the planet’s solid inner core. The axis of the earth’s internal magnet shifts around the rotational axis at the whim of the currents within that liquid interior, and with it changes the readings returned by magnetic compasses worldwide.

The question that emerged at Hackaday as we digested news of the early update was this: as navigation moves inexorably towards the use of GPS and other systems that do not depend upon the Earth’s magnetic field, where is this still relevant beyond the realm of science?

Continue reading “Ask Hackaday: Earth’s Magnetic Field Shifting Rapidly, But Who Will Notice?”

Ask Hackaday: Is There A Legit Use For Operator Precedence?

Computing is really all about order. If you can take data, apply an operation to it, and get the same result every single time, then you have a stable and reliable computing system.

So it makes total sense that there is Operator Precedence. This is also called Order of Operations, and it dictates which computations will be performed first, and which will be performed last. To get the same results every time, you must perform addition, multiplication, power functions, bitwise math, and all other calculations in a codified order.

The question I’ve had on my mind lately is, does this matter to us or just the compiler?

Continue reading “Ask Hackaday: Is There A Legit Use For Operator Precedence?”

Ask Hackaday: Help Me Pick A CAD Package

Of all the skills that I have picked up over the years as an engineer, there is one that has stayed with me and been a constant over the last three decades. It has helped me work on electronic projects, on furniture, on car parts, robots, and even garments, and it is likely that I will continue using it periodically for the rest of my career. You see, I am a trained PAD expert.

Don't build this, it's fundamentally flawed! Sometimes the front of an envelope is as effective as its back.
Don’t build this, it’s fundamentally flawed! Sometimes the front of an envelope is as effective as its back.

PAD, you ask? OK, it’s an acronym of my own coinage, it stands for Pencil Aided Design, and it refers to the first-year undergraduate course I sat many years ago in which I learned technical drawing to the old British standard BS308. If I’m making something then by far the quickest way for me to visualise its design is to draw it, first a freehand sketch to get a feel of how everything will sit, then a series of isometric component drawings on graph paper with careful attention to dimensions and angles. Well, maybe I lied a little there, the graph paper only comes in when I’m doing something very fancy; the back of an envelope is fine as long as the dimensions on the diagram are correct.

Continue reading “Ask Hackaday: Help Me Pick A CAD Package”

Drone over a wheat field

Ask Hackaday: How Would You Detect A Marauding Drone?

The last few days have seen drone stories in the news, as London’s Gatwick airport remained closed for a couple of days amid a spate of drone reports. The police remained baffled, arrested a couple who turned out to be blameless, and finally admitted that there was a possibility the drone could not have existed at all. It emerged that a problem with the investigation lay in there being no means to detect a drone beyond the eyesight of people on the ground, and as we have explored in these pages already, eyewitness reports are not always trustworthy.

Not much use against a small and mostly plastic multirotor. Sixflashphoto [CC BY-SA 4.0]
Not much use against a small and mostly plastic multirotor. Sixflashphoto [CC BY-SA 4.0]

Radar Can’t See Them

It seems odd at first sight, that a 21st century airport lacks the ability to spot a drone in the air above it, but a few calls to friends of Hackaday in the business made it clear that drones are extremely difficult to spot using the radar systems on a typical airport. A system designed to track huge metal airliners at significant altitude is not suitable for watching tiny mostly-plastic machines viewed side-on at the low altitudes. We’re told at best an intermittent trace appears, but for the majority of drones there is simply no trace on a radar screen.

We’re sure that some large players in the world of defence radar are queueing up to offer multi-million-dollar systems to airports worldwide, panicked into big spending by the Gatwick story, but idle hackerspace chat on the matter makes us ask the question: Just how difficult would it be to detect a drone in flight over an airport? A quick Google search reveals multiple products purporting to be drone detectors, but wouldn’t airports such as Gatwick already be using them if they were any good? The Hackaday readership never fail to impress us with their ingenuity, so how would you do it?

Can You Hear What You Can’t See?

It’s easy to pose that question as a Hackaday scribe, so to get the ball rolling here’s my first thought on how I’d do it. I always hear a multirotor and look up to see it, so I’d take the approach of listening for the distinctive sound of multirotor propellers. Could the auditory signature of high-RPM brushless motors be detected amidst the roar of sound near airports?

I’m imagining a network of Rasberry Pi boards each with a microphone attached, doing some real-time audio spectrum analysis to spot the likely frequency signature of the drone. Of course it’s easy to just say that as a hardware person with a background in the publishing business, so would a software specialist take that tack too? Or would you go for a radar approach, or perhaps even an infra-red one? Could you sense the heat signature of a multirotor, as their parts become quite hot in flight?

Whatever you think might work as a drone detection system, give it a spin in the comments. We’d suggest that people have the confidence to build something, and maybe even enter it in the Hackaday Prize when the time comes around. Come on, what have you got to lose!

Ask Hackaday: What Are Your Less Extreme Brain Hacks?

Kahn — perhaps Star Trek’s best-hated villain — said: “Improve a mechanical device and you may double productivity, but improve man and you gain a thousandfold.” In fact, a lot of hacking effort goes into doing just that. Your phone has become an extension of your memory, for example. We use glasses, cameras, and hearing aids to shore up failing senses or even give us better senses than normal. But hacking your body — or someone else’s — has always been controversial. While putting an RFID chip in your finger is one thing, would you consider having a part of your brain removed? That sounds crazy, but apparently, there is a growing interest in having your amygdala removed.

To be clear: we think this is a terrible idea. The science is shaky, at best, and we certainly wouldn’t want to be among the first to try something so radical. But why is anyone even talking about it?

The amygdala is part of your brain that causes at least some of your fear and anxiety. Get rid of your amygdala, get rid of anxiety? What’s even stranger is this the procedure — an amygdalectomy — has been going on since the 1960s! Injections of oil and wax destroy the tissue and this treatment is used for some forms of epilepsy and to manage certain aggressive behavior problems in mentally ill patients. In modern times, the procedure is not very common although it appears that it does still occur in some places. But the technology to do it does exist. There have also been documented cases where people lose their amygdala from natural causes that gives us some clues of what life would be like without one.

However, it is hard to say if these people lost fear. Most of the surgical patients were already suffering from a variety of problems. There is some evidence that the naturally occurring amygdalaless patients experienced less fear in some situations, but may experience more fear in others. They also may have other problems such as difficulty understanding social cues or making eye contact. We’re not 100% sure what the amygdala does, even disregarding potential side effects.

Continue reading “Ask Hackaday: What Are Your Less Extreme Brain Hacks?”

Ask Hackaday: Why Aren’t We Hacking Cellphones?

When a project has outgrown using a small microcontroller, almost everyone reaches for a single-board computer — with the Raspberry Pi being the poster child. But doing so leaves you stuck with essentially a headless Linux server: a brain in a jar when what you want is a Swiss Army knife.

It would be a lot more fun if it had a screen attached, and of course the market is filled with options on that front. Then there’s the issue of designing a human interface: touch screens are all the rage these days, so why not buy a screen with a touch interface too? Audio in and out would be great, as would other random peripherals like accelerometers, WiFi, and maybe even a cellular radio when out of WiFi range. Maybe Bluetooth? Oh heck, let’s throw in a video camera and high-powered LED just for fun. Sounds like a Raspberry Pi killer!

And this development platform should be cheap, or better yet, free. Free like any one of the old cell phones that sit piled up in my “hack me” box in the closet, instead of getting put to work in projects. While I cobble together projects out of Pi Zeros and lame TFT LCD screens, the advanced functionality of these phones sits gathering dust. And I’m not alone.

Why is this? Why don’t we see a lot more projects based around the use of old cellphones? They’re abundant, cheap, feature-rich, and powerful. For me, there’s two giant hurdles to overcome: the hardware and the software. I’m going to run down what I see as the problems with using cell phones as hacker tools, but I’d love to be proven wrong. Hence the “Ask Hackaday”: why don’t we see more projects that re-use smartphones?

Continue reading “Ask Hackaday: Why Aren’t We Hacking Cellphones?”