Is It On Yet? Sensing The World Around Us, Starting With Light

Arduino 101 is getting an LED to flash. From there you have a world of options for control, from MOSFETs to relays, solenoids and motors, all kinds of outputs. Here, we’re going to take a quick look at some inputs. While working on a recent project, I realized the variety of options in sensing something as simple as whether a light is on or off. This is a fundamental task for any system that reacts to the world; maybe a sensor that detects when the washer has finished and sends a text message, or an automated chicken coop that opens and closes with the sun, or a beam break that notifies when a sister has entered your sacred space. These are some of the tools you might use to sense light around you.

Continue reading “Is It On Yet? Sensing The World Around Us, Starting With Light”

Clive Sinclair, The Other Author

A reasonable selection of the Hackaday readership will have had their first experiences of computing on an 8-bit machine in a black case, with the word “Sinclair” on it. Even if you haven’t work with one of these machines you probably know that the man behind them was the sometimes colourful inventor Clive (now Sir Clive) Sinclair.

The finest in 1950s graphic design, applied to electronics books.
The finest in 1950s graphic design, applied to electronics books.

He was the founder of an electronics company that promised big results from its relatively inexpensive electronic products. Radio receivers that could fit in a matchbox, transistorised component stereo systems, miniature televisions, and affordable calculators had all received the Sinclair treatment from the early-1960s onwards. But it was towards the end of the 1970s that one of his companies produced its first microcomputer.

At the end of the 1950s, when the teenage Sinclair was already a prolific producer of electronics and in the early stages of starting his own electronics business, he took the entirely understandable route for a cash-strapped engineer and entrepreneur and began writing for a living. He wrote for electronics and radio magazines, later becoming assistant editor of the trade magazine Instrument Practice, and wrote electronic project books for Bernard’s Radio Manuals, and Bernard Babani Publishing. It is this period of his career that has caught our eye today, not simply for the famous association of the Sinclair name, but for the fascinating window his work gives us into the state of electronics at the time.

Continue reading “Clive Sinclair, The Other Author”

A Lesson On Zener Regulators

For the longest time, Zener diode regulators have been one of those circuits that have been widely shared and highly misunderstood. First timers have tried to use it to power up their experiments and wondered why things did not go as planned. [James Lewis] has put up a worth tutorial on the subject titled, “Zener Diode makes for a Lousy Regulator”  that clarifies the misconceptions behind using the device.

[James Lewis] does an experiment with a regulator circuit with an ESP8266 after a short introduction to Zener diodes themselves. For the uninitiated, the Zener diode can operate in the reverse bias safely and can do so at a particular voltage. This allows for the voltage across the device to be a fixed value.

This, however, depends on the current flowing through the circuit which in turn relies on the load. The circuit will work as expected for loads the draw a small amount of current. This makes it suitable for generating reference voltages for microcontrollers and such.

To make a Zener into a “proper” voltage regulator, you just need to buffer the output with an amplifier of some kind. A single transistor is the bare minimum, but actually can work pretty well. You might also add a capacitor in parallel with the Zener to smooth out some of its noise.

Zener diodes are wonderful little devices and write-ups like these are indispensable for beginners and should be shared more often like the Zener and Schottky Tutorial and Diodes as a Switch.

 

Automatic Phone Dialer Illuminates Inner Workings

The invention of the transistor ushered in a lot of technologies that we now take for granted, and one of the less-thought-about areas that it improved living conditions worldwide was by making the touch-tone phone possible. No longer would the world have to fuss with dials to make phone calls, they could simply push some buttons. This technology is still in use today, and it is possible to build external phone dialers that use these tones to make phone calls, as [SunFounder] demonstrates with his latest project.

The tones that a phone makes when a button is pressed correlate with specific frequencies for each number. Automatic dialers like this one help when there are multiple carriers (like different long-distance carriers, for example) where different prefixes can be used to make calls cheaper depending on the destination of the call. A preprogrammed dialer can take all of this complication out of making phone calls. [SunFounder] is able to make a simple dialer from scratch, using an Arduino, its “tone” library, and a speaker that is simply held up to the phone that the call will be placed on.

[SunFounder] points out that he built this more because he’s interested in the inner workings of phones, and not because he needed a purpose-built dialer. It’s a good demonstration of how phones continue to use DTMF though, and how easy it is to interface with such a system. It might also suit a beginner as an introduction to the world of phreaking.

First Look At ABC: Basic Connections

[Alberto Piganti], aka [pighixxx] has been making circuit diagram art for a few years now, and has just come out with a book that’s available on Kickstarter. He sent us a copy to review, and we spent an hour or so with a refreshing beverage and a binder full of beautiful circuit diagrams. It doesn’t get better than that!

[pighixxx] started out making very pretty and functional pinout diagrams for a number of microcontrollers, and then branched out to modules and development boards like the Arduino and ESP8266. They’re great, and we’ll admit to having a printout of his SMD ATMega328 and the ESP-12 on our wall. His graphical style has been widely copied, which truly is the sincerest form of flattery.

But after pinouts, what’s next? Fully elaborated circuit diagrams, done in the same style, of course. “ABC: Basic Connections” started out life as a compendium of frequently used sub-circuits in Arduino projects. But you can take “Arduino” with a grain of salt — these are all useful for generic microcontroller-based projects. So whether you want to drive a 12 V solenoid from a low-voltage microcontroller, drive many LEDs with shift registers, or decode a rotary encoder, there is a circuit snippet here for you. Continue reading “First Look At ABC: Basic Connections”

A Tiny Bench Power Supply

One of the more popular projects for beginners in electronics is a power supply. Yes, you can always go to Amazon and buy a nice power supply, but unfortunately, we haven’t set up our Amazon affiliate links yet. Instead, we’ll have to go with the next best thing and check out [Tron900]’s mini bench power supply build. It’s extremely capable and cute as a button.

The design goals for this project were to build a small and compact unit using mostly salvaged and recycled components, with all through-hole circuitry. The best guide you’ll ever find for a DIY power supply is one of [Dave Jones]’ earlier video series going over the construction of an adjustable power supply based on an LT3080. [Tron] didn’t have this regulator on hand and wanted to base his design around an op-amp instead. After rummaging through his parts, he found what he was looking for: a TIP3055 power transistor, a neat enclosure that could double as a heatsink and an AD680 voltage reference.

The design of this power supply was simulated in SIMETRIX, and after a few revisions [Tron] had a circuit that worked reasonably well. The circuit was populated on a piece of perfboard, a fantastic front panel was constructed, and one of those ubiquitous volt/ammeter panels added.

This is just a one-off project, but the results are fantastic. This is a very small, very capable power supply that does everything [Tron] needs. It’s accurate enough, at least when measured with a fancy benchtop HP meter, and looks adorable. What more could you want in a benchtop power supply?

Creating A PCB In Everything: KiCad, Part 1

This is the continuation of a series of articles demonstrating how to Create A PCB In Everything. In this series, we take a standard reference circuit and PCB layout — a simple ATtiny85 board — and build it with different PCB design tools. Already, we’ve taken a look at the pre-history of PCB design with Protel Autotrax, we learned Fritzing is a joke for PCB design, and we’ve done a deep dive into Eagle. Each of these tutorials serves two purposes. First, it is a very quick introduction to each PCB design tool. Second, this series provides an overall comparison between different PCB design tools.

Now, finally, and after many complaints, it’s time for the tutorial everyone has been waiting for. It’s time for KiCad.

No, like the head of the Bajoran clergy

Although KiCad (pronounced ‘Kai-Cad’ like the head of the Bajoran clergy, not ‘Key-Cad’ like the thing that goes in a lock) is the new hotness when it comes to PCB design. The amazing growth of KiCad installations over the past few years is a long time coming. In development since 1992, KiCad has cemented itself as the premier Open Source PCB design suite, and since 2013 CERN has been making contributions to the project. More recently, the KiCad project has been showing off some amazing new features. These include 3D rendering of boards, interactive routing, push-and-shove, simulation, and dozens of other features that put it on a path to being on par with the top of the line EDA suites. Add in some great community contributions, and you have something really, really amazing. All of this is wrapped up in an Open Source license, free as in speech and beer. If you’re looking for the future of PCB design, Eagle is going to get very good but KiCad is almost there now while being Open Source.

Continue reading “Creating A PCB In Everything: KiCad, Part 1”