Four square, unpopulated purple PCBs sit in front of a tube of soldering flux on a light grey work surface. The PCBs are only 1"x1".

BeagleStamp Makes Soldering Linux Into Your Projects Easier

There are a lot of things you can do with today’s powerful microcontrollers, but sometimes you really need a full embedded Linux setup. [Dylan Brophy] wanted to make it easier to add Linux to his own projects and designed the BeagleStamp.

A populated purple PCB propped against a piece of wood on a light grey work surface. The bulk of the PCB is covered in an Ocatavo processor chip.Squeezed onto a 1″ square, the BeagleStamp puts the power of a PocketBeagle into an easy to solder module you can add to a project without all that tedious mucking about with individually soldering all the components of a tiny Linux computer every time. As a bonus, the 4 layer connections are constrained to the stamp as well, so you can use lower layer count boards in your project and have your Linux too.

The first run of boards was delivered with many of the pins unplated, but [Brophy] plans to work around it for the time being so he can spot any other bugs before the next board revision. Might we suggest a future version using RISC-V?

Op-Amp Challenge: Reliable Peak Power Measurement

As part of our Op-Amp Challenge we’re seeing a wide diversity of entries showcasing the seemingly endless capabilities of these extremely versatile parts. Another one comes from [Joseph Thomas], who when faced with the need to measure the properties of an automotive spark plug, came up with a precision peak detector to hold on to the energy level used when firing it.

It starts with an op-amp buffer feeding a diode and capacitor. The capacitor is charged through the diode and holds the level, which can be read through another op-amp. Finally there’s an opto-isolated transistor to discharge the capacitor before a fresh reading is taken.

It’s a simple enough circuit but a very effective one. The op-amps used are bit old-school FET devices, but aside from the high impedance input their performance is hardly critical. Yet another op-amp circuit to hold in reserve should you ever need to perform this task.

An image of a powered-off device screen. Part of the screen is raised in the configuration of a mobile keyboard. A ribbon cable extends from the left of a PCB underneath the screen and the PCB extends below the bottom edge of the screen with a sticker that has a stylized manufacturer logo that may read "Wisecoco."

Electroosmotic Haptics For More Tactile Touch Devices

If you’re like us, one of the appeals of retro tech is the tactile feedback you get from real buttons. Researchers at Carnegie Mellon have developed a new method for bringing haptic feedback to touchscreen devices.Labeled exploded view of the device stackup. The individual layers from top (output) to bottom (reservoir) are labeled Silicone, PCB & Electrodes, Adhesive, Glass Fiber, PET, Adhesive, PCB & Electrodes, Adhesive, Delrin, Adhesive, and PET. It also shows the different parts as sections of Output Layer (silicone), Pumping Layer, and Reservoir Layer (Adhesive, Delrin, Adhesive, PET).

Using an array of miniaturized electroosmotic pumps, the current prototype devices offer 5 mm of displacement from a 5 mm stackup which is a significant improvement over previous technologies which required a lot more hardware than the displacement provided. When placed under a flexible screen, notifications and other user interactions like the keyboard can raise and lower as desired.

Each layer is processed by laser before assembly and the finished device is self-contained, needing only electrical connections. No need for a series of tubes carrying fluid to make it work. Interaction surfaces have been able to scale from 2-10 mm in diameter with the current work, but do appear to be fixed based on the video (below the break).

You might find applications for haptics in VR or want to build your own Haptic Smart Knob.

Continue reading “Electroosmotic Haptics For More Tactile Touch Devices”

Op Amp Challenge: An Ultra-Cheap PH Sensor Amplifier

It’s rare in 2023 for an instrument to be entirely analog, instead it’s more normal for a front-end to feed the analog-to-digital converter (ADC) in a microcontroller. Typically the front-end will do the job of transforming whatever the output range of the sensor is, and present it to the microcontroller in whatever range it accepts. [David] had exactly this problem with a pH sensor, and rather than buy an expensive module to do the job he designed his own.

The sensor in question produces a relatively tiny voltage of -0.414 to +0.414 volts, and requires a very high input impedance. A FET input op-amp is selected, with the ground of the sensor shifted upwards into the positive range by a voltage divider. This then feeds a second op-amp that amplifies the resulting DC voltage for the microcontroller input.

This circuit is an especially simple op-amp application, and is a typical one for a sensor interface where a DC voltage needs to be brought into range of a microcontroller. If you’re not used to op-amp circuits then take a look, this type of analogue circuit is not difficult and might just save your butt some time.

Want to know more about simple op-amp circuits? Have we got the video for you!

An IN-12B Nixie tube on a compact driver PCB

Modern Components Enable Cheap And Compact Nixie Driver Circuit

Nixie tubes can add some retro flair to any project, but they can also complicate your electronics quite a bit: after all, you need to generate a voltage high enough to ignite the tube and then switch that between ten separate display segments. Traditionalists may want to stick with chunky mains transformers and those unobtainium 74141 segment drivers, but modern components allow you to make things much more compact, not to mention way cheaper. [CNLohr] took this to an extreme, and used clever design tricks and his sharp online shopping skills to make an exceptionally compact Nixie driver circuit that costs less than $2.50.

That price doesn’t include the tubes themselves, but [CNLohr] nevertheless bought the cheapest Nixies he could find: a pair of IN-12B tubes that set him back just $20. He decided to generate the necessary 180 volts through a forward converter built around a $0.30 transformer and a three-cent MOSFET, controlled by software running on a CH32V003. This is one of those ultra-cheap microcontrollers that manage to squeeze a 48 MHz RISC-V core plus a bunch of peripherals into a tiny QFN package costing just 12 cents.

The existing toolchain to program these micros left a lot to be desired, so [CNLohr] wrote his own, called
ch32v003fun. He used this to implement all the control loops for the forward converter as well as PWM control of the display segments – a feature that adds a beautifully smooth turn-on and turn-off effect to the Nixie tubes. There’s still plenty of CPU capacity left to implement other features, although [CNLohr] isn’t sure what to put there yet. Turning the tubes into a clock would be an obvious choice, but the basic system is flexible enough to implement almost anything requiring a numeric display.

The compactness of this circuit is impressive, especially if you compare it to earlier solutions. There’s plenty of fun to be had with cheap-yet-powerful micros like the ch32v003, provided you can find them.

Continue reading “Modern Components Enable Cheap And Compact Nixie Driver Circuit”

Op Amp Challenge: An Op-Amp Buck Regulator

Switching regulators have delivered such convenience and efficiency compared to their linear siblings, that it’s now becoming rare to see an old-style three-terminal regulator. Modern designs have integrated to such an extent that for many of us the inner workings remain something of a mystery. It’s still possible to make switching regulators from first principles though, which is what [Aaron Lager] has done by designing a buck regulator from a quad op-amp IC,

It’s an entry in our Op Amp Challenge and it appears to be a work in progress, but the design is solid enough. We’re no fans of the schematic style of representing an op-amp chip as a rectangle rather than individual op-amps, but it’s simply a PWM generator with a final op-amp used as a driver for the usual diode-inductor-capacitor network. We’re guessing that the op-amp driver won’t make this the most powerful of switchers, but in this case that’s hardly the point. Build this if you’re interested in taking an op-amp out of its normal sphere, or if you’re interested in the workings of a buck converter.

Need more in the way of switching regulators from first principles? We’ve got you covered, with the ultimate regulator kit of parts, the Fairchild UA723.

Op Amp Challenge: What’s Your Monitor’s Delay?

In the days of CRT displays, the precise synchronization between source and display meant that the time between a video line appearing at the input and the dot writing it to the screen was constant, and very small. Today’s display technologies deliver unimaginable resolutions compared to the TV your family had in the 1970s, but they do so at the expense of all their signal processing imposing a much longer delay before a frame is displayed. This can become an issue for gamers, but also with normal viewing, because in some circumstances the delay can be long enough for it to be audible in a disconnect between film and soundtrack. It’s something [Mike Kibbel] has addressed with his video input delay meter, and it makes for a very interesting project.

At its heart is an FPGA, and in the video below the break he goes into great detail about its programming. It both generates a DVI output to drive the monitor and performs the measurement. The analog to digital converter side of the circuit is interesting, he has a photodiode and an op-amp driving a comparator to form a simple 1-bit converter. He takes us through the design process in detail, with such useful little gems as the small amount of hysteresis applied to the comparator.

There are probably many ways this project could have been implemented, but this one is both technically elegant and extremely well documented. Definitely worth a look!

Continue reading “Op Amp Challenge: What’s Your Monitor’s Delay?”