Flashing TI Chips With An ESP

Texas Instruments is best known to the general public for building obsolete calculators and selling them at extraordinary prices to students, but they also build some interesting (and reasonably-priced) microcontrollers as well. While not as ubiquitous as Atmel and the Arduino platform, they can still be found in plenty of consumer electronics and reprogrammed, and [Aaron] aka [atc1441] demonstrates how to modify them with an ESP32 as an intermediary.

Specifically, the TI chips in this build revolve around the 8051-coreĀ  microcontrollers, which [Aaron] has found in small e-paper price tags and other RF hardware. He’s using an ESP32 to reprogram the TI chips, and leveraging a web server on the ESP in order to be able to re-flash them over WiFi. Some of the e-paper displays have built-in header pins which makes connecting them to the ESP fairly easy, and once that’s out of the way [Aaron] also provides an entire software library for interacting with these microcontrollers through the browser interface.

Right now the project supports the CC2430, CC2510 and CC1110 variants, but [Aaron] plans to add support for more in the future. It’s a fairly comprehensive build, and much better than buying the proprietary TI programmer, so if you have some of these e-paper displays laying around the barrier to entry has been dramatically lowered. If you don’t have this specific type of display laying around, we’ve seen similar teardowns and repurposing of other e-paper devices in the past as well.

Continue reading “Flashing TI Chips With An ESP”

Using Statistics Instead Of Sensors

Statistics often gets a bad rap in mathematics circles for being less than concrete at best, and being downright misleading at worst. While these sentiments might ring true for things like political polling, it hides the fact that statistical methods can be put to good use in engineering systems with fantastic results. [Mark Smith], for example, has been working on an espresso machine which can make the perfect shot of coffee, and turned to one of the tools in the statistics toolbox in order to solve a problem rather than adding another sensor to his complex coffee-brewing machine.

To make espresso, steam is generated which is then forced through finely ground coffee. [Mark] found that his espresso machine was often pouring too much or too little coffee, and in order to improve his machine’s accuracy in this area he turned to the linear regression parameter R2, also known as the coefficient of determination. By using a machine learning algorithm tuned to this value, which assesses predictable variation in a data set, a computer can more easily tell when the coffee begins pouring out of the portafilter and into the espresso cup based on the pressure and water flow in the machine itself rather than using some other input such as the weight of the cup.

We have seen in the past how seriously [Mark] takes his coffee-making, and this is another step in a series of improvements he has made to his equipment. In this iteration, he has additionally produced a simulation in JupyterLab to better assist him in modeling the system and making even more accurate predictions. It’s quite a bit more effort than adding sensors, but since his espresso machine already included quite a bit of computing power it’s not too big a leap for him to make.

Stresses Revealed With A Polariscope

There are a lot of ways that stresses can show up, at least when discussing materials science. Cracks in concrete are a common enough example, but any catastrophic failure in a material is often attributable to some stress that couldn’t be withstood. If you’re interested in viewing those stresses before they result in damage to the underlying material, take a look at this DIY polariscope which can view internal stresses in glass and other clear objects.

The polariscope takes its name from the fact that it uses polarized light to view the internal structure of a transparent object such as glass. When the polarized light passes through glass in a certain way, the stresses show up as lighter areas thanks to the stressed glass bending the light back into view. This one is constructed with a polarizing filter placed in front of an LCD screen set to display a completely white image. When glass is placed between the screen and the filter no light is seen through the polariscope unless there are stresses in the glass. Even placing a force on an otherwise un-stressed glass tube can show this effect, and [Advanced Tinkering], this project’s creator, has several other creations which show this effect in striking detail.

The effect can also be observed as colored areas in other plastic materials as well. It’s an interesting tool which can help anyone who frequently works with glass, but it’s also interesting on its own to see clues left behind from the manufacturing process of various household items. We’ve seen some other investigative methods for determining how other household items are mass produced as well, like this project which breaks down the injection molding process.

Continue reading “Stresses Revealed With A Polariscope”

Raspberry Pi Creates Melody

For those who are not into prog rock in the 70s or old radio shows from the 40s, the Theremin may be an unfamiliar musical instrument. As a purely electronic device, it’s well outside the realm of conventional musical instruments. Two radio antennas detect the position of the musician’s hands to make a unique sound traditionally associated with eeriness or science fiction.

Normally a set of filters and amplifiers are used to build this instrument but this build instead replaces almost everything with a Raspberry Pi Zero 2, and instead of radio antennas to detect the position of the musician’s hands a set of two HC-SR04 distance sensors are used instead. With the processing power available from the Pi, the modernized instrument is able to output MIDI as well which makes this instrument easily able to interface with programs like GarageBand or any other MIDI-capable software.

The project build is split into two videos, the second of which is linked below. The project code is also available on the project’s GitHub page, so anyone with the Pi and other equipment available can easily start experimenting with this esoteric and often overlooked musical instrument. It’s been around for over 100 years now, and its offshoots (including this build) are as varied as the sounds they can produce.

Continue reading “Raspberry Pi Creates Melody”

Low Power Mode For Custom GPS Tracker

GPS has been a game-changing technology for all kinds of areas. Shipping, navigation, and even synchronization of clocks have become tremendously easier thanks to GPS. As a result of its widespread use, the cost of components is also low enough that almost anyone can build their own GPS device, and [Akio Sato] has taken this to the extreme with efforts to build a GPS tracker that uses the tiniest amount of power.

This GPS tracker is just the first part of this build, known as the air station. It uses a few tricks in order to get up to 30 days of use out of a single coin cell battery. First, it is extremely small and uses a minimum of components. Second, it uses LoRa, a low-power radio networking method, to communicate its location to the second part of this build, the ground station. The air station grabs GPS information and sends it over LoRa networks to the ground station which means it doesn’t need a cellular connection to operate, and everything is bundled together in a waterproof, shock-resistant durable case.

[Akio Sato] imagines this unit would be particularly useful for recovering drones or other small aircraft that can easily get themselves lost. He’s started a crowdfunding page for it as well. With such a long battery life, it’s almost certain that the operator could recover their vessel before the batteries run out of energy. It could also be put to use tracking things that have a tendency to get stolen.

Solving Grounding Issues On Switch Audio

Grounding of electrical systems is an often forgotten yet important design consideration. Issues with proper grounding can be complicated, confusing, and downright frustrating to solve. So much so that engineers can spend their entire careers specializing in grounding and bonding. [Bsilvereagle] was running into just this sort of frustrating problem while attempting to send audio from a Nintendo Switch into a PC, and documented some of the ways he attempted to fix a common problem known as a ground loop.

Ground loops occur when there are multiple paths to ground, especially in wires carrying signals. The low impedance path creates oscillations and ringing which is especially problematic for audio. When sending the Switch audio into a computer a loop like this formed. [Bsilvereagle] set about solving the issue using an isolating transformer. It took a few revisions, but eventually they settled on a circuit which improved sound quality tremendously. With that out of the way, the task of mixing the Switch audio with sources from other devices could finally proceed unimpeded.

As an investigation into a nuisance problem, this project goes into quite a bit of depth about ground loops and carrying signals over various transforming devices. It’s a great read if you’ve ever been stumped by a mysterious noise in a project. If you’ve never heard of a ground loop before, take a look at this guide to we featured a few years ago.

Custom Controller Ups Heat Pump Efficiency

Heat Pumps are an extremely efficient way to maintain climate control in a building. Unlike traditional air conditioners, heat pumps can also effectively work in reverse to warm a home in winter as well as cool it in summer; with up to five times the efficiency of energy use as a traditional electric heater. Even with those tremendous gains in performance, there are still some ways to improve on them as [Martin] shows us with some modifications he made to his heat pump system.

This specific heat pump is being employed not for climate control but for water heating, which sees similar improvements in efficiency over a standard water heater. The problem with [Martin]’s was that even then it was simply running much too often. After sleuthing the energy losses and trying a number of things including a one-way valve on the heating water plumbing to prevent siphoning, he eventually found that the heat pump was ramping up to maximum temperature once per day even if the water tank was already hot. By building a custom master controller for the heat pump which includes some timing relays, the heat pump only runs up to its maximum temperature once per week.

While there are some concerns with Legionnaire’s bacteria if the system is not maintained properly, this modification still meets all of Australia’s stringent building code requirements. His build is more of an investigative journey into a more complex piece of machinery, and his efforts net him a max energy usage of around 1 kWh per day which is 50% more efficient than it was when it was first installed. If you’re looking to investigate more into heat pumps, take a look at this DIY Arduino-controlled mini heat pump.

Continue reading “Custom Controller Ups Heat Pump Efficiency”