Light The Way To Every Component

How do you organize your stock of components and modules? If an unruly pile of anti-static bags and envelopes from China stuffed into a cardboard box sounds familiar, then you need help from [Dimitris Tassopoulos]. He’s organized his parts into drawers and created a database, then linked it via an ESP8266 and a string of addressable LEDs to light up the individual drawer in which any given component resides. It’s a genius idea, as you can see in action in the video below the break.

Behind the scenes is a web server sitting atop an SQL database, with a PHP front end. It’s running on a Banana Pi board, but it could just as easily be running on any other similar SBC. The ESP8266 has a REST API to which the webserver connects when a component is sought, and from that it knows which LED to light.

The LED strip is not the tape with which most readers will be familiar, but a string of the type we might be more used to as Christmas lights. These have a 100mm spacing between LEDs, allowing them to be easily positioned behind each drawer. The result is a very effective parts inventory system. We’re not entirely sure that it would entirely banish the tide of anti-static bags here, but we’re impressed nevertheless.

Continue reading “Light The Way To Every Component” →

Tracking Cancer Treatment With An ESP8266-Based Radiation Sensor

Those of us who have not been in that position can only imagine the anguish of learning that your teenager has cancer. This happened to [Rob], whose child was diagnosed with papillary thyroid cancer. It’s a condition that can be treated with surgery followed by a course of radioactive iodine to kill any remaining cancer cells. During iodine treatment, the patient is radioactive enough that other people must maintain a distance of 3m from them, and as a learning exercise for both father and teen he created and refined the design of a portable wireless radioactivity monitor.

There are a variety of sensors for radiation monitoring including the well-known Geiger–Müller tube, but he settled on a PIN photodiode based sensor supplied by radiation-watch.org. This sensor is not at its most sensitive at the energy levels emitted by the iodine isotope used in the treatment, but the relatively high intensity of the radiation meant that enough would register for a useful reading to be taken. The sensor board he was mated to an ESP8266 module. [Rob] went through three iterations of the balance of the hardware before settling on a lithium-ion battery and a plastic case.

On the software side, the ESP connects to an MQTT server, from which a CSV file of data is derived. On a computer, the CSV data is collected and plotted to a graph. The data take during treatment clearly shows the reduction in radiation following the isotope’s half-life. The graph isn’t perfect though, there is a gap due to the second prototype’s batteries running flat

From his epilogue it appears that his son has recovered, and we wish them further good health. The details have been published in the hope that other young people facing the same trial might benefit from building their own radiation monitor.

Review: Testdriving LibrePCB Shows That It’s Growing Up Fast

There are a host of PCB CAD tools at the disposal of the electronic designer from entry-level to multi-thousand-dollar workstation software. It’s a field in which most of the players are commercial, and for the open-source devotee there have traditionally been only two choices. Both KiCad and gEDA are venerable packages with legions of devoted fans, but it is fair to say that they both present a steep learning curve for newcomers. There is however another contender in the world of open-source PCB CAD, in the form of the up-and-coming LibrePCB.

This GPL-licensed package has only been in development for a few years. LibrePCB brought out its first official release a little over a year ago, and now stands at version 0.1.3 with builds for GNU/Linux, Windows, MacOS, and FreeBSD. It’s time to download it and run it through its paces, to see whether it’s ready to serve its purpose.

Continue reading “Review: Testdriving LibrePCB Shows That It’s Growing Up Fast” →

A Kill Cord To End Laptop Skulduggery

In our community it is common for ancient laptops to be used way beyond their usual service life, held together by stickers and lovingly upgraded to their maximum capabilities. We hope it’s unusual for such a venerable machine to be stolen, but it seems that grab-and-run thefts are very much a thing for owners of much shinier hardware. [Michael Altfield] has a solution to this problem, in the form of a kill cord that when broken by the crook making off with the loot, triggers a set of scripts that can wipe the device or otherwise make it useless.

Hardware-wise it’s simple enough, a USB magnetic breakaway adapter and a USB extension cable to a drive clipped to the laptop owner’s belt. On the software side it’s as straightforward as a udev rule to launch the disaster script of your choice. Perhaps you could link it to something like a glitter bomb and fart spray. But we can’t help worrying that it might be too easy to get up and accidentally detach yourself from the laptop, making it deploy whatever anti-theft measure you’d installed in error. If this goes some way to reducing theft though, it has to be worth a second look.

Thanks [bluewraith] for the tip.

A Strange Display Gives Up Its Secrets

Providing a display for a project in 2020 is something of a done deal. Standard interfaces and off-the-shelf libraries for easily available and cheap modules mean that the hardest choice you’ll have to make about a display will probably relate to its colour. Three decades ago though this was not such a straightforward matter though, and having a display that was in any way complex would in varying proportion take a significant proportion of your processing time , and cost a fortune. [AnubisTTP] has an unusual display from that era, a four-digit LED dot matrix module, and the take of its reverse engineering makes for a fascinating read.

The LITEF 104267 was made in 1986, and is a hybrid circuit in a metal can with four clear windows , one positioned over each LED matrix. Inside are seven un-encapsulated chips alongside the LED matrices on a golf plated hybrid substrate. The chips themselves are not of a particularly high-density process, so some high-resolution photography was able to provide a good guess at their purpose. A set of shift registers drive the columns through buffers, while the rows are brought out to a set of parallel lines. Thus each column can be illuminated sequentially with data presented on the rows. It’s something that would have saved a designer of the day a few extra 74-series chips, though we are guessing at some significant cost.

This display may seem antiquated to us today, but it wasn’t the only option for 1980s designers. There’s one display driver from back then that’s very much still with us today.

Car Alternators Make Great Electric Motors; Here’s How

The humble automotive alternator hides an interesting secret. Known as the part that converts power from internal combustion into the electricity needed to run everything else, they can also themselves be used as an electric motor.

The schematic of a simple automotive alternator, from US patent 3329841A filed in 1963 for Robert Bosch GmbH .
The schematic of a simple automotive alternator, from US patent 3329841A filed in 1963 for Robert Bosch GmbH.

These devices almost always take the form of a 3-phase alternator with the magnetic component supplied by an electromagnet on the rotor, and come with a rectifier and regulator pack to convert the higher AC voltage to 12V for the car electrical systems. Internally they have three connections to the stator coils which appear to be universally wired in a delta configuration, and a pair of connections to a set of brushes supplying the rotor coils through a set of slip rings. They have a surprisingly high capacity, and estimates put their capabilities as motors in the several horsepower. Best of all they are readily available second-hand and also surprisingly cheap, the Ford Focus unit shown here came from an eBay car breaker and cost only £15 (about $20).

We already hear you shouting “Why?!” at your magical internet device as you read this. Let’s jump into that.

Continue reading “Car Alternators Make Great Electric Motors; Here’s How” →

One ESP8266, One Battery, One Year… And Counting.

There are times when a sensor is required that does its job without the need for human attention over a long period, and for those applications a minimal power drain is a must. [Dave Davenport] had an EPS8266-based moisture sensor, and became disappointed in having to replace its AA batteries every few months. With an 18650 Li-ion cell and a bunch of power-saving tricks that time has been extended so far to over a year and still going, so he’s written a blog post detailing how he did it.

Some of his techniques such as turning off the sensor or using a better LDO regulator than the stock Wemos one are straightforward. Others though are unexpected, such as using the memory associated with the on-board RTC to store the WiFi connection info and channel number during sleep. The normal ESP8266 connection sequence involves a network scan, by hanging onto what it found last time the extra time and thus power expended by it can be avoided. Similarly switching from a DHCP lease to a fixed IP address cuts the time the device waits for a lease and thus the time it has to stay awake.

We might not all have ESP8266 moisture sensors to build, but we’re many of us on a quest to sip less power in our projects. Let us help you with a previous sojourn into that arena.

ESP8266 image: connorgoodwolf [CC BY-SA 4.0].