BCD To I2C: Turning A Nixie Counter Into Whatever You Want It To Be

Whenever a project calls for displaying numbers, a 7-segment display is the classic and straightforward choice. However, if you’re more into a rustic, retro, almost mystical, and steampunky look and feel, it’s hard to beat the warm, orange glow of a Nixie tube. Once doomed as obsolete technology of yesteryear, they have since reclaimed their significance in the hobbyist space, and have become such a frequent and deliberate design choice, that it’s easy to forget that older devices actually used them out of necessity for lack of alternatives. Exhibit A: the impulse counter [soldeerridder] found in the attic that he turned into a general-purpose, I2C controlled display.

Instead of just salvaging the Nixie tubes, [soldeerridder] kept and re-used the original device, with the goal to embed an Intel Edison module and connect it via I2C. Naturally, as the counter is a standalone device containing mainly just a handful of SN74141 drivers and SN7490 BCD counters, there was no I2C connectivity available out of the box. At the same time, the Edison would anyway replace the 7490s functionality, so the solution is simple yet genius: remove the BCD counter ICs and design a custom PCB containing a PCF8574 GPIO expander as drop-in replacement for them, hence allowing to send arbitrary values to the driver ICs via I2C, while keeping everything else in its original shape.

Containing six Nixie tubes, the obvious choice is of course to use it as a clock, but [soldeerridder] wanted more than that. Okay, it does display the time, along with the date, but also some sensor values and even the likes on his project blog. If you want to experiment with Nixie tubes yourself, but lack a matching device, Arduino has you obviously covered. Although, you might as well go the other direction then.

Continue reading “BCD To I2C: Turning A Nixie Counter Into Whatever You Want It To Be”

Debugging PCBs With Augmented Reality

Mihir Shah has designed many a PCB in his time. However, when working through the development process, he grew tired of the messy, antiquated methods of communicating design data with his team. Annotating photos is slow and cumbersome, while sending board design files requires everyone to use the same software and be up to speed. Mihir thinks he has a much better solution by the name of InspectAR, it’s an augmented reality platform that lets you see inside the circuit board and beyond which he demoed during the 2019 Hackaday Superconference.

The InspectAR package makes it easy to visualise signals on the board.

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.

Obviously, the electronic design space is a fragmented one, with plenty of competing software in the market. Whether you’re an Eagle diehard, Altium fanatic, or a KiCad fan, it’s possible to get things working with InspectAR. Mihir and the team are currently operating out of office space courtesy of Autodesk, who saw the value in the project and have supported its early steps. The software is available free for users to try, with several popular boards available to test. As a party piece for Supercon, our very own Hackaday badge is available if you’d like to give it a spin, along with several Arduino boards, too. We can’t wait to see what comes next, and fully expect to end up using InspectAR ourselves when hacking away at a fresh run of boards!

Decorative Light Box Lets You Guess The Time

Telling time by using the current position of the sun is nothing revolutionary — though it probably was quite the “life hack” back in ancient times, we can assume. On the other hand, showing time by using the current position of the sun is what inspired [Rich Nelson] to create the Day Cycle Clock, a color changing light box of the Philadelphia skyline, simulating a full day and night cycle in real time — servo-controlled sun and moon included.

At its core, the clock uses an Arduino with a real-time clock module, and the TimeLord library to determine the sunrise and sunset times, as well as the current moon phase, based on a given location. The sun and moon are displayed on a 1.44″ LCD which doubles as actual digital clock in case you need a more accurate time telling after all. [Rich] generally went out of his way with planning and attention to detail in this project, as you can see in the linked video, resulting in an impressively clean build surely worthy as gift to his brother. And if you want to build one for yourself, both the Arduino source code and all the mechanical parts are available on GitHub.

An interesting next iteration could be adding internet connectivity to get the current weather situation mixed into the light behavior — not that it would be the first time we’d see weather represented by light. And of course, simulating the northern lights is also always an option.

Continue reading “Decorative Light Box Lets You Guess The Time”

Create Your Own ESP8266 Shields

The ESP8266 has become incredibly popular in a relatively short time, and it’s no wonder. Cheap as dirt, impressively powerful, Arduino-compatible, and best of all, includes Wi-Fi right out of the box. But for all its capability and popularity, it’s still lagging behind the Arduino in at least one respect. Namely, the vast collection of add-on “Shields” which plug into the Arduino to add everything from breadboards to GPS receivers.

Until such time as the free market decides to pick up the pace and start making standardized shields for the various ESP8266 development boards, it looks as if hackers are going to have to pick up the slack. [Rui Santos] has put together a very detailed step-by-step guide on the creation of a simple shield for the popular Wemos D1 Mini board, which should give you plenty of inspiration for spinning up your own custom add-on modules.

Presented as a written tutorial as well as a two part video, this guide covers everything from developing and testing your circuit on a breadboard to designing your PCB in KiCad and sending it off for fabrication. The end result is a professional looking PCB that matches the footprint of the stock D1 Mini and adds a DS18B20 temperature sensor, PIR motion detector, photoresistor, and some screw down terminals.

[Rui] goes on to show how you can utilize the new sensors shield via a web interface hosted on the ESP8266, and even wraps the whole thing up in a 3D printed enclosure. All worthwhile skills to check out if you’re looking to produce more cohesive finished products.

If you’re looking for a similar project for the ESP32, [Rui] has you covered there as well. You may also be interested in the series of ESP8266 tutorials we recently highlighted.

Continue reading “Create Your Own ESP8266 Shields”

The Square-Inch Project Rides Again!

Want to play a game? Your challenge is to do something incredible with a printed circuit board that measures no more than one inch by one inch. It’s The Return of the One Square Inch Project and it’s going to be amazing!

We can’t believe that it’s been three years! The original One Square Inch Project was a contest dreamt up by Hackaday.io user [alpha_ninja] back in 2015, and we thought it was such a great idea that we ponied up some prizes. The entries were, frankly, the best we’ve ever seen. So we’re doing it again!

Last time around, the size constraint focused the minds and brought out the creativity in some of the best and brightest of Hackaday.io. What functionality or simply amusement can you pack into a square PCB that’s just a tad over 25 mm on a side? We’d like to see.

We’ll be featuring entries throughout the contest. We think geek ‘cred is the best reward but if you want something more to sweeten the pot here you go:

  • Grand Prize:

    • $500 Cash!
  • Four Top Entries Win Tindie Gift Certificates:

    • Best Project – $100
    • Best Artistic PCB Design – $100
    • Best Project Documentation – $100
    • Best Social Media Picture or Video – $100
  • Five Runner-Up Entries:

    • $100 OSH Park gift cards
Quadcopter in One Inch

Want some inspiration? Last time the winner was a quadcopter in one square inch, but there were tons of useful and amusing projects crammed into tight quarters, and many of them transcend their constraints. There were not one but two hi-fi sound cards: one for your laptop’s USB port and one for your microcontroller projects that is now officially supported by the Teensy Audio Library. Need a MPPT power converter for a small solar project? How about a plug-load meter that fits on a US mains plug or an I2C to WS2818 converter to make blinking easier?

There were breakout boards for nearly every imaginable chip, a radio downconverter from our own [Jenny List], and a great magnetic rotary encoder design. Key Pass, an Arduino in the size of a DIP-8, and of course a bat detector, a bubble display volt meter, a smart watch, and a capacitive touch wheel.

It’s been three years, and parts have gotten cheaper, smaller, and more capable. What’s newly feasible in a square inch that wasn’t way back in 2015? Show us what you got.

Friday Hack Chat: Eagle One Year Later

Way back in June of 2016, Autodesk acquired Cadsoft, and with it EagleCAD, the popular PCB design software. There were plans for some features that should have been in Eagle two decades ago, and right now Autodesk is rolling out an impressive list of features that include UX improvements, integration with MCAD and Fusion360, and push and shove routing.

Six months into the new age of Eagle, Autodesk announced they would be changing their licensing models to a subscription service. Where you could pay less than $100 once and hold onto version 6.0 forever, now you’re required to pay $15 every month for your copy of Eagle. Yes, there’s still a free, educational version, but this change to a subscription model caused much consternation in the community when announced.

For this week’s Hack Chat, we’re going to be talking about Eagle, one year in. Our guest for this Hack Chat is Matt Berggren, director of Autodesk Circuits, hardware engineer, and technologist that has been working on bringing electronic design to everyone. We’ll be asking Matt all about Eagle, with questions including:

  • What new features are in the latest edition of Eagle?
  • What’s on the Eagle wishlist?
  • What technical challenges arise when designing new features?
  • Where can a beginner find resources for designing PCBs in Eagle?

Join the chat to hear about new features in Eagle, how things are holding up for Eagle under new ownership, and how exactly the new subscription model for Eagle is going. We’re looking for questions from the community, so if you have a question for Matt or the rest of the Eagle team, put it on the Hack Chat event page.

If you’re wondering about how Altium and KiCad are holding up, or have any questions about these PCB design tools, don’t worry: we’re going to have Hack Chats with these engineers in the new year.

join-hack-chat

Our Hack Chats are live community events on the Hackaday.io Hack Chat group messaging. This Hack Chat is going down on noon, PST, Friday, December 15th. Time Zones got you down? Here’s a handy count down timer!

Click that speech bubble to the left, 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.

The Components Are INSIDE The Circuit Board

Through-hole assembly means bending leads on components and putting the leads through holes in the circuit board, then soldering them in place, and trimming the wires. That took up too much space and assembly time and labor, so the next step was surface mount, in which components are placed on top of the circuit board and then solder paste melts and solders the parts together. This made assembly much faster and cheaper and smaller.

Now we have embedded components, where in order to save even more, the components are embedded inside the circuit board itself. While this is not yet a technology that is available (or probably even desirable) for the Hackaday community, reading about it made my “holy cow!” hairs tingle, so here’s more on a new technology that has recently reached an availability level that more and more companies are finding acceptable, and a bit on some usable design techniques for saving space and components.

Continue reading “The Components Are INSIDE The Circuit Board”