Emergency DIP Pin Repair For Anyone

Who has not at some point in their lives experienced the horror of a pin on a DIP package breaking off? It’s generally game over, but what if you don’t have another chip handy to substitute? It’s time to carefully grind away some of the epoxy and solder on a new pin, as [Zafer Yildiz] has done in the video below the break.

The technique relies on the pins continuing horizontally inside the package , such that they provide a flat surface. He’s grinding with the disk on a rotary tool, we have to say we’d use one of the more delicate grinding heads for something more akin to a miniature die grinder.

Once the flat metal surface is exposed, the chip is placed in a socket, and a new pin is cut from the leg of a TO-220 power device. This is carefully bent over, inserted in the socket, and soldered into place. The whole socket and chip arrangement is then used in place of the chip, making for something a little bulky but one infinitely preferable to having to junk the device.

There are many useful skills to be learned when it comes to reworking, and we’ve covered a few in our time. Most recently we saw a guide to lifting SMD pins.

Continue reading “Emergency DIP Pin Repair For Anyone”

The I2C extender board on a white background, fully assembled, with two connectors and two indicator LEDs

Extenders And Translators For Your I2C Toolkit

If you’ve ever been laying out a network I2C devices inside a project box or throughout your robot’s body, you’ll probably know that I2C is not without its pitfalls. But for many of those pitfalls, there’s a handy chip you can use. [Roman Dvořák] from ThunderFly has experienced it on their drone building journeys, and that’s why they bring us two wonderful open source hardware boards: an I2C bus extender, and an I2C address translator.

The first board, an I2C bus extender, is based around the TCA4307 chip, and not only it lets you extend the bus further than it would normally go, it would also protect you. When the bus capacity is no longer handleable by your devices, or a particular misbehaving device gets the bus stuck, this chip will take care of it and dissipate your troubles. It will even let you know when your bus is wired up correctly, with a handy shine-through LED!

The second board is an I2C address translator. We’ve covered them before, but in short, address translators let you avoid I2C address conflicts while using multiple devices that share the same address. This particular module uses the LTC4317 chip, a common choice for such translation, and the board leaves no feature unimplemented. In the README, there’s quite a few pictures with examples of where this sensor proves mighty useful, too!

It appears that ThunderFly open sources a lot of their designs on GitHub, an effort that we salute. The designs are great to learn from, but if you’re just looking for turn-key hardware, you can get both of these boards from their Tindie store. The cables they use have locking connectors, but as long as the pinout matches, you should be able to solder a JST-SH socket and add these modules to your QWIIC toolkit.

Espressif’s ESP32-P4 Application Processor: Details Begin To Emerge

Every now and then there’s a part that comes along which is hotly anticipated, but which understandably its manufacturer remains tight-lipped about in order to preserve maximum impact surrounding its launch. Right now that’s Espressif’s ESP32-P4: a powerful application processor with dual-core 400 MHz and a single-core low power 40 MHz RISC-V processors. Interestingly it doesn’t appear to have the radios which have been a feature of previous ESP parts, but it makes up for those with a much more comprehensive array of peripherals.

Some details are beginning to emerge, whether from leaks or in preparation for launch, including the first signs of support in their JTAG tool, and a glimpse in a video from another Chinese company of a development board. We got our hopes up a little when we saw the P4 appearing in some Espressif documentation, but on closer examination there’s nothing there yet about the interesting new peripherals.

Looking at the dev board and the video we can see some of what the thing is capable of as it drives a large touchscreen and a camera. There are two MIPI DSI/CSI ports on  the PCB, as well as three USB ports and a sound codec. A more run-of-the-mill ESP32-C3 is present we think to provide wireless networking, and there’s a fourth USB port which we are fairly certain is in fact only for serial communications via a what our best blurry photograph reading tells us is a Silicon Labs USB-to-serial chip. Finally there’s large Raspberry Pi-style header which appears to carry all the GPIOs and other pins. We’ve placed the video below the break, if you see anything we’ve missed please tell us in the comments.

We first covered this chip back in January, and then as now we’re looking forward to seeing what our community does with it.

Continue reading “Espressif’s ESP32-P4 Application Processor: Details Begin To Emerge”

Why Is My 470uF Electrolytic Cap More Like 20uF?

The simple capacitor equivalent circuit taught in school

Inductors are more like a resistor in series with an ideal inductor, resistors can be inductors as well, and well, capacitors aren’t just simply a capacitance in a package. Little with electronics is as plain and simple in reality as basic theory would have you believe. [Tahmid Mahbub] was measuring an electrolytic capacitor with an LCR and noticed it measuring 19 uF despite the device being rated at 470 uF. This was because such parts are usually specified at low frequencies, and at a mere 100 kHz, it was measuring way out of the specification they were expecting. [Tahmid] goes into a fair bit of detail regarding how to model the equivalent circuit of a typical electrolytic capacitor and how to determine with a bit more accuracy what to expect.

An aluminium electrolytic capacitor is more like this

The basic equivalent circuit for a capacitor has a series resistance and inductance, which covers the connecting leads and any internal tabs on the plates. A large-valued parallel resistor models the leakage through the dielectric in series with the ideal capacitance, which is responsible for the capacitor’s self-discharge property. However, this model is still too simple for some use cases. A more interesting model, shown to the left, comprises a ladder of distributed capacitances and associated resistances that result in a progressively longer time-constant component as you move from C1 to C5. This resembles more closely the linear structure of the capacitor, with its rolled-up construction. This model is hard to use in any practical sense due to the need to determine values for the components from a physical part. Still, it is useful to understand why such capacitors perform far worse than you would expect from just a simple equivalent model that looks at the connecting leads and little else.

Continue reading “Why Is My 470uF Electrolytic Cap More Like 20uF?”

Drop-In Switch Mode Regulators

Perhaps the simplest way to regulate a DC voltage is using a voltage divider and/or an active device like a Zener diode. Besides simplicity, they have the additional advantage of not being particularly noisy, but with a major caveat: they are terribly inefficient. To solve this problem a switching regulator can be used instead, but that generally increases complexity and noise. With careful design, though, a switching regulator can be constructed to almost completely replicate a linear regulator like this drop-in TO3 replacement. (Google Translate from German)

While the replacement regulator was built by [Mr. Floppy], the units are being put to the test in the linked video below by [root42]. The major problem these solve compared to other switching regulators is the suppression of ripple, which is a high-frequency artifact that appears on the DC voltage. Reducing ripple in this situation involved designing low-inductance circuit traces on the PCB as well as implementing a number of EMI filters on both input and output. The final result is an efficient voltage supply for retrocomputers which has a ripple lower than their oscilloscopes can measure without special tools.

[root42] is not only testing these, but the linked video also has him using the modules to repair a Commodore 1541 which originally had the linear TO3 voltage regulators. It’s definitely a non-trivial task to build a switching power supply that meets the requirements of sensitive electronics like these. Switch mode power supplies aren’t new ideas, either, and surprisingly pre-date the first commercially-available transistor although modern ones like these are much less expensive to build.

Continue reading “Drop-In Switch Mode Regulators”

This Air Particulate Sensor Can Also Check Your Pulse Rate

The MAX30105 is an optical sensor capable of a great many things. It can sense particulate matter in the air, or pick up the blinking of an eye. Or, you can use it as a rudimentary way to measure your heart rate and blood oxygen levels. It’s by no means a medical grade tool, but this build from [Taste The Code] is still quite impressive.

The MAX30105 contains red, green, and infrared LEDs, and a very sensitive light detector. The way it works is by turning on its different LEDs, and then carefully measuring what gets reflected back. In this way it can measure particles in the air,  such as smoke, which is actually what it was designed for originally. Or, if you press your finger up against it, it can measure the light coming back from your blood and determine its oxygenation level. By detecting the variation in the light over time, it’s possible to pick up your pulse, too.

Getting this data out of the sensor is remarkably easy. One need only hook it up to a suitable microcontroller like the ESP8266 and use the MAX3010X library to talk to it. [Taste The Code] did exactly that, and also hooked up a screen for displaying the captured data. Alternatively, if you want the raw data from the sensor, you can get that too.

It should be noted that this build was done for educational purposes only. You shouldn’t rely on a simple DIY device for gathering useful medical data; there are reasons the real gear is so expensive, after all. We’ve looked at this sensor before, too, not long after it first hit the market. Continue reading “This Air Particulate Sensor Can Also Check Your Pulse Rate”

An ASIC For A Secret File

Some time over a decade ago, the arrival of inexpensive PCB fabrication revolutionised the creation of custom electronics on a budget. It’s now normal for even the smallest projects we feature here to have a professional PCB, which for those of us who started by etching their own with ferric chloride is nothing short of a miracle. When it comes to the ultimate step in custom electronics of doing the same for integrated circuits though, it’s fair to say that this particular art is in its infancy. The TinyTapeout project is a collaborative effort in which multiple designers have the chance to make their own ASIC as a single tile on a chip along others, and [Bitluni] had the chance to participate. His ASIC? A secret file which could be read through his ESP32 to VGA board.

The video below the break then is both the tale of the secret file project, and that of TinyTapeout itself, which is a clever design involving an on-board microcontroller that selects the tile and manages the bus. This revision is Tiny Tapeout 3, which includes 249 tiles of contributor-generated circuitry holding a diverse array of projects.

The secret file itself is a motion GIF, compressed down until the point at which it will just fit on a tile. We’ll preserve the fun by not reveling what it us, but you probably won’t be surprised when you see it in the video.

We’ve featured TinyTapeout more then once, not least when [Matt Venn] gave a talk about it for Supercon 2022.

Continue reading “An ASIC For A Secret File”