Motor-Driven Movement Modernizes POV Toy

Just as we are driven today to watch gifs that get better with every loop, people 100+ years ago entertained themselves with various persistence of vision toys that used the power of optical illusions to make still images come to life. [jollifactory] recently recreated one of the first POV devices — the phenakistoscope — into a toy for our times.

The original phenakistoscopes were simple, but the effect they achieved was utterly amazing. Essentially a picture disk with a handle, the user would hold the handle with one hand and spin the disk with the other while looking in a mirror through slits in the disk. Unlike the phenakistoscopes of yore that could only be viewed by one person at a time, this one allows for group watching.

Here’s how it works: an Arduino Nano spins a BLDC motor from an old CD-ROM drive, and two strips of strobing LEDs provide the shutter effect needed to make the pictures look like a moving image.The motor speed is both variable and reversible so the animations can run in both directions.

To make the disks themselves, [jollifactory] printed some original phenakistiscopic artwork and adhered each one to a CD that conveniently snaps onto the motor spindle. Not all of the artwork looks good with a big hole in the middle, so [jollifactory] created a reusable base disk with an anti-slip mat on top to spin those.

If you just want to watch the thing in action, check out the first video below that is all demonstration. There be strobing lights ahead, so consider yourself warned. The second and third videos show [jollifactory] soldering up the custom PCB and building the acrylic stand.

There are plenty of modern ways to build old-fashioned POV toys, from all-digital to all-printable.

Continue reading “Motor-Driven Movement Modernizes POV Toy”

Hacking A Non-Dimmable LED Fixture

For most of us, the solution to having a non-dimmable LED light bulb but needing a dimmable one is a simple as a drive to the store to get the right kind of bulb. But that seems downright boring, not to mention wasteful, so when [Leo Fernekes] was faced with this problem, he looked for a way to make a non-dimmable bulb dimmable.

To be fair, there was a financial aspect to this hack, too. [Leo] had a bunch of cheap non-dimmable light fixtures he wanted to put to use. He started with a teardown and reverse-engineering of a light strip, which contains little more than LEDs and a small buck converter. His analysis of the circuit led him to a solution for dimming the light: inserting a MOSFET as a shunt around the LEDs. That and the addition of a diode to isolate the LEDs from the current regulator would allow for simple PWM-control of the lights via a microcontroller.

As is typical with these things, there were complications. [Leo] found that a timing problem resulted in flickering LEDs; the fix came from adding a sync circuit that cleverly leveraged a flip-flop inside the PIC16 microcontroller he chose for the circuit. His prototype incorporates these modifications, plus an interface that supports the DALI protocol for architectural lighting control. As always, [Leo] is quick to point out that mixing line voltage into your projects is not without risks, which he takes pains to mitigate. And as is also typical for his projects, [Leo] gives just the right amount of detail to understand the theory behind his design.

Continue reading “Hacking A Non-Dimmable LED Fixture”

Taking A Capacitor Microphone To The Next Level

There was a time when a microphone for most people was a cheap plastic affair that probably came for free with their sound card, but in the age of pandemic video streaming no desktop is complete without a chunky model that looks for all the world as though it escaped from a studio. Few people make their own microphones, so the work of [DJJules] in building very high quality condenser microphones is a particularly fascinating read.

A condenser microphone is a capacitor in which one plate is formed by a conductive diaphragm. A bias voltage is supplied to the diaphragm via a resistor, and since the charge on the plate remains constant as its capacitance changes with the sound vibrations, the voltage on the capacitor changes accordingly. This is picked up by a high impedance buffer and from there fed to a normal microphone input. This Instructable uses a commercial condenser microphone capsule, and takes the reader through generating the bias voltage for it before describing the op-amp buffer circuit.

The most interesting part comes at the end, as we’re shown how the sensitivity pattern of a dual-microphone array can be tuned to be omnidirectional, cardoid, or figure-of-eight. This is probably the norm among audio engineers, but we rarely see this sort of insight in our community. We may never build a microphone of our own, but it’s fascinating to see this one from the ground up in the video below the break.

If you’re confused about the difference between a condenser microphone and the more common electret condenser microphone, we have published a guide to that topic. Continue reading “Taking A Capacitor Microphone To The Next Level”

Free RTOS

Real-Time OS Basics: Picking The Right RTOS When You Need One

When do you need to use a real-time operating system (RTOS) for an embedded project? What does it bring to the table, and what are the costs? Fortunately there are strict technical definitions, which can also help one figure out whether an RTOS is the right choice for a project.

The “real-time” part of the name namely covers the basic premise of an RTOS: the guarantee that certain types of operations will complete within a predefined, deterministic time span. Within “real time” we find distinct categories: hard, firm, and soft real-time, with increasingly less severe penalties for missing the deadline. As an example of a hard real-time scenario, imagine a system where the embedded controller has to respond to incoming sensor data within a specific timespan. If the consequence of missing such a deadline will break downstream components of the system, figuratively or literally, the deadline is hard.

In comparison soft real-time would be the kind of operation where it would be great if the controller responded within this timespan, but if it takes a bit longer, it would be totally fine, too. Some operating systems are capable of hard real-time, whereas others are not. This is mostly a factor of their fundamental design, especially the scheduler.

In this article we’ll take a look at a variety of operating systems, to see where they fit into these definitions, and when you’d want to use them in a project. Continue reading “Real-Time OS Basics: Picking The Right RTOS When You Need One”

Deleting The Camshafts From A Miata Engine

The idea of camless automotive engines has been around for a while but so far has been limited to prototypes and hypercars. [Wesley Kagan] has been working on a DIY version for a while, and successfully converted a Mazda Miata to a camless valve system. See the videos after the break.

There have been many R&D projects by car manufacturers to eliminate camshafts in order to achieve independent valve timing, but the technology has only seen commercial use on Koenigsegg hypercars. [Wesley] started this adventure on a cheap single cylinder Harbor Freight engine, and proved the basic concept, so he decided to move up to an actual car. He first sourced a junkyard engine head to convert, and use as a drop-in replacement for the head on the complete project car. An off-the-shelf double-acting pneumatic cylinder is mounted over each valve and connected to the valve stem with a custom adaptor. The double-acting cylinder allows the valve to be both opened and closed with air pressure, but [Wesley] still added the light-weight return spring to keep the valve closed if there is any problem with the pneumatic system.

The controller is an Arduino, and it receives a timing signal from a factory crankshaft and operates the pneumatic solenoid valves via MOSFETs. After mounting the new head and control box into the Miata, it took a couple of days of tuning to get the engine running smoothly. Initial tests were done using the compressor in his garage, but this was replaced with a small compressor and air tank mounted in the Miata’s boot for the driving tests.

Although the pneumatic system works well for short test drives, the compressor is quite noisy and adds a couple of points of failure. [Wesley] is also working on a solenoid actuated system, which would require a lot more current from the battery and alternator, but he believes it’s a better long-term solution compared to compressed air. However, he is still struggling to find solenoids with the required specifications. Continue reading “Deleting The Camshafts From A Miata Engine”

Increasing The Resolution Of The Electrical Grid

As a society in the USA and other parts of the world, we don’t give much thought to the twisting vines of civilization that entangle our skies and snake beneath our streets. The humming electrical lines on long poles that string our nations together are simply just there. Ever-present and immutable. We expect to flick the switch and power to come on. We only notice the electrical grid when something goes wrong and there is a seemingly myriad number of ways for things to go wrong. Lighting strikes, trees falling on lines, fires, or even too many people trying to crank on the A/C can all cause rolling blackouts. Or as we found out this month, cold weather can take down generation systems that have not been weatherized.

We often hear the electrical grid described as aging and strained. As we look to the future and at the ever-growing pressure on the infrastructure we take for granted, what does the future of the electrical grid look like? Can we move past blackouts and high voltage lines that criss-cross the country?

Continue reading “Increasing The Resolution Of The Electrical Grid”

30 FPS Flip-Dot Display Uses Cool Capacitor Trick

Most people find two problems when it comes to flip-dot displays: where to buy them and how to drive them. If you’re [Pierre Muth] you level up and add the challenge of driving them fast enough to rival non-mechanical displays like LCDs. It was a success, resulting in a novel and fast way of controlling flip-dot displays.

Gorgeous stackup of the completed display. [Pierre] says soldering the 2500 components kept him sane during lockdown.
If you’re lucky, you can get a used flip-dot panel decommissioned from an old bus destination panel, or perhaps the arrivals/departures board at a train station. But it is possible to buy brand new 1×7 pixel strips which is what [Pierre] has done. These come without any kind of driving hardware; just the magnetized dots with coils that can be energized to change the state.

The problem comes in needing to reverse the polarity of the coil to achieve both set and unset states. Here [Pierre] has a very interesting idea: instead of working out a way to change the connections of the coils between source and sink, he’s using a capacitor on one side that can be driven high or low to flip the dot.

Using this technique, charging the capacitor will give enough kick to flip the dot on the display. The same will happen when discharged (flipping the dot back), with the added benefit of not using additional power since the capacitor is already charged from setting the pixel. A circuit board was designed with CMOS to control each capacitor. A PCB is mounted to the back of a 7-pixel strip, creating modules that are formed into a larger display using SPI to cascade data from one to the next. The result, as you can see after the break, does a fantastic job of playing Bad Apple on the 24×14 matrix. If you have visions of one of these on your own desk, the design files and source code are available. Buying the pixels for a display this size is surprisingly affordable at about 100 €.

We’re a bit jealous of all the fun displays [Pierre] has been working on. He previously built a 384 neon bulb display that he was showing off last Autumn.

Continue reading “30 FPS Flip-Dot Display Uses Cool Capacitor Trick”