No Signal For Your Radio-Controlled Watch? Just Make Your Own Transmitter

You can win any argument about the time when you have a radio controlled watch. Or, at least, you can if there’s any signal. [Henner Zeller] lives in a place where there is no reception of the DCF77 signal that his European wristwatch expects to receive. Consequently, he decided to make his own tiny transmitter, which emulates the DCF77 signal and allows the watch to synchronise.

A Raspberry Pi Zero W is the heart of the transmitter, and [Henner] manages to coax it into generating 77500.003Hz on a GPIO pin – close enough to the 77.5kHz carrier that DCF77 uses. …read more

Continue reading No Signal For Your Radio-Controlled Watch? Just Make Your Own Transmitter

Intro to Docker: Why and How to Use Containers on Any System

If you have your ear even slightly to the ground of the software community, you’ll have heard of Docker. Having recently enjoyed a tremendous rise in popularity, it continues to attract users at a rapid pace, including many global firms whose infrastructure depends on it. Part of Docker’s rise to fame can be attributed to its users becoming instant fans with evangelical tendencies.

But what’s behind the popularity, and how does it work? Let’s go through a conceptual introduction and then explore Docker with a bit of hands-on playing around.

What is Docker?

Docker allows you to run software in …read more

Continue reading Intro to Docker: Why and How to Use Containers on Any System

A Servo Powered Robotic Arm, But Like You’ve Never Seen Before

We’ve written about a lot of DIY robotic arms. Some of them are high-performance, some are inexpensive, and some are just uniquely fun. This one certainly falls into the last category; whilst watching an episode of Black Mirror, [Gear Down For What] was struck by inspiration for a thin robotic limb. After some iterations he has a final prototype, and it’s quite something to see in action.

To make a robotic arm as slender as possible, the actuators can’t be mounted on the arm itself but must instead drive the arm remotely. There are a number of ways of doing …read more

Continue reading A Servo Powered Robotic Arm, But Like You’ve Never Seen Before

Hummingbirds, 3D Printing, and Deep Learning

Setting camera traps in your garden to see what local wildlife is around is quite popular. But [Chris Lam] has just one subject in mind: the hummingbird. He devised a custom setup to capture the footage he wanted using some neat tech.

To attract the hummingbirds, [Chris] used an off-the-shelf feeder — no need to re-invent the wheel there. To obtain the closeup footage required, a 4K action cam was used. This was attached to the feeder with a 3D-printed mount that [Chris] designed.

When it came to detecting the presence of a hummingbird in the video, there were various …read more

Continue reading Hummingbirds, 3D Printing, and Deep Learning

Make Your Python Prettier With Decorators

Many Pythonistas are familiar with using decorators, but far fewer understand what’s happening under the hood and can write their own. It takes a little effort to learn their subtleties but, once grasped, they’re a great tool for writing concise, elegant Python.

This post will briefly introduce the concept, start with a basic decorator implementation, then walk through a few more involved examples one by one.

What is a decorator

Decorators are most commonly used with the @decorator syntax. You may have seen Python that looks something like these examples.

To understand what a decorator does, we first have to …read more

Continue reading Make Your Python Prettier With Decorators

Make Your Python Prettier With Decorators

Many Pythonistas are familiar with using decorators, but far fewer understand what’s happening under the hood and can write their own. It takes a little effort to learn their subtleties but, once grasped, they’re a great tool for writing concise, elegant Python.

This post will briefly introduce the concept, start with a basic decorator implementation, then walk through a few more involved examples one by one.

What is a decorator

Decorators are most commonly used with the @decorator syntax. You may have seen Python that looks something like these examples.

To understand what a decorator does, we first have to …read more

Continue reading Make Your Python Prettier With Decorators

PiPod: A Raspberry Pi Zero Portable Music Player

[Bram] wasn’t satisfied with the portable music playback devices that were currently available. He craved an offline music player that had a large storage capacity but found that this was only available in high-end, off-the-shelf options, which were far too expensive. [Bram] decided to make his own, powered by a Raspberry Pi zero. After building an initial prototype, the design was iterated a few times, with the latest version featuring a BOM cost of roughly €80.

The whole project is open source, with hardware and software files available on the project GitHub. A 2.2″ TFT displays the UI, which is …read more

Continue reading PiPod: A Raspberry Pi Zero Portable Music Player

Power Over Ethernet Splitter Improves Negotiating Skills

Implementing PoE is made interesting by the fact that not every Ethernet device wants power; if you start dumping power onto any device that’s connected, you’re going to break things. The IEEE 802.3af standard states that the device which can source power should detect the presence of the device receiving power, before negotiating the power level. Only once this process is complete can the power sourcing device give its full supply. Of course, this requires the burden of smarts, meaning that there are many cheap devices available which simply send power regardless of what’s plugged in (passive PoE).

[Jason Gin] …read more

Continue reading Power Over Ethernet Splitter Improves Negotiating Skills

Stop Using Python 2: What You Need to Know About Python 3

Though Python 3 was released in 2008, many projects are still stuck on Python 2.

It’s understandable that porting large existing codebases to a new version is a prospect which sends a shiver down many a developer’s spine. But code inevitably needs to be maintained, and so when all the shiny new features that would fix everything are in a new version, is it really worth staying rooted in the past?

We’ll take you through some of the features that Python 2 programs are missing out on, not only from 3.0 but up to the current release (3.7).

Why Python

…read more

Continue reading Stop Using Python 2: What You Need to Know About Python 3

Op Amps Before Transistors: A 600V Vacuum Tube Monster

Op amps. Often the first thing that many learn about when beginning the journey into analog electronics, they’re used in countless ways in an overwhelmingly large array of circuits. When we think about op amps, images of DIPs and SOICs spring to mind, with an incredibly tiny price tag to boot. We take their abundance and convenience for granted nowadays, but they weren’t always so easy to come by.

[Mr Carlson] serves up another vintage offering, this time in the form of a tube op amp. The K2-W model he acquired enjoyed popularity when it was released as one of …read more

Continue reading Op Amps Before Transistors: A 600V Vacuum Tube Monster