Flash Programmer Shows Some Nifty Tricks

A handy tool to have on the bench is a Flash chip programmer, and the ones based around the CH341A USB bus converter chip are readily available. But the chip is capable of so much more than simply programming nonvolatile memory, so [Tomasz Ostrowski] has created a utility program that expands its capabilities. The software provides easy access to a range of common i2c peripherals. He’s got it talking to smart batteries, GPIOs, environmental sensors, an OLED display, and even an FM radio module. The code can all be found in a GitHub repository. The software is Windows-only so no fun and games for Linux users yet — but since it’s open source, new features are just a pull request away.

The CH341A is much more than an i2C controller, it also supports a surprising range of other interfaces including SPI, UARTs, and even a bidirectional parallel printer port. Maybe this software will serve to fire the imagination of a few others, and who knows, we could see more extended use of this versatile chip. Oddly we’ve featured these programmer boards before, though in a tricky flashing job.

A woman with a black vest and pink shirt with curly hair stands behind a podium in front of a projected presentation. She is speaking and has her hands moving in a vague guesture.

Supercon 2022: Carrie Sundra Discusses Manufacturing On A Shoestring Budget

Making hardware is hard. This is doubly true when you’re developing a niche hardware device that might have a total production run in the hundreds of units instead of something mass market. [Carrie Sundra] has been through the process several times, and has bestowed her wisdom on how not to screw it up.

The internet is strewn with the remains of unfulfilled crowdfunding campaigns for tantalizing devices that seemed so simple when they showed of the prototype. How does one get something from the workbench into the world without losing their life savings and reputation?

[Sundra] walks us through her process for product development that has seen several products successfully launch without an army of pitchfork-wielding fiber crafters line up at her door. One of the first concepts she stresses is that you should design your products around the mantra, “Once it leaves your shop IT SHOULD NEVER COME BACK.” If you design for user-serviceability from the beginning, you can eliminate most warranty returns and probably make it easier to manufacture your widget to boot. Continue reading “Supercon 2022: Carrie Sundra Discusses Manufacturing On A Shoestring Budget”

African man hunched over a small robot car chassis

The Dar Es Salaam Hacker Scene And Gamut Detection

We’re on a sort of vacation in Tanzania at the moment and staying in a modest hotel away from the tourist and government district. It’s a district of small shops selling the same things and guys repairing washing machines out on the sidewalk. The guys repairing washing machines are more than happy to talk. Everybody’s amazingly friendly here, the hotel guy grilled us for an hour about our home state. But I really didn’t expect to end up in a conversation about computer vision.

In search of some yogurt and maybe something cooler to wear, we went on a little walk away from the hotel. With incredible luck we found a robotics shop a few blocks away. Mecktonix is a shop about two meters each way, stuffed full of Arduinos, robots, electronics components, servos, and random computer gear, overseen by [Yohanna “Joe” Harembo]. Nearby is another space with a laser engraver and 3D printer. The tiny space doesn’t stop them from being busy. A constant stream of automotive tech students from the nearby National Institute of Transport shuffle in for advice and parts for class assigned projects.

In between students, Joe demos an autonomous car he’s working on. In classic hacker fashion, he first has to reattach the motor driver board and various sensors, but then he demos the car and its problem –  the video frame rate is very slow. We dive in with him and try to get some profiling using time.monotonic_ns(). He’s never done profiling before, so this is a big eye opener. He’s only processing one video frame every 4.3 seconds, using YOLO on a Pi 3, and yup, that’s the problem.  I suggest he change to gamut detection or a Pi 4. Continue reading “The Dar Es Salaam Hacker Scene And Gamut Detection”

The Magic Of A Diode Sampler To Increase Oscilloscope Bandwidth

Making an oscilloscope is relatively easy, while making a very fast oscilloscope is hard. There’s a trick that converts a mundane instrument into a very fast one, it’s been around since the 1950s, and [CuriousMarc] has a video explaining it with an instrument from the 1960s. The diode sampler is the electronic equivalent of a stroboscope, capturing parts of multiple cycle of a waveform to give a much-slowed-down representation of it on the screen. How it works is both extremely simple, and also exceptionally clever as some genius-level high-speed tricks are used to push it to the limit. We’ve put the video below the break.

[Marc] has a Keysight 100 MHz ‘scope and the sampler allows him to use it to show 4 GHz. Inside the instrument is a pair of sample-and-hold circuits using fast diodes as RF switches, triggered by very low-rise-time short pulses. Clever tricks abound, such as using the diode pair to cancel out pulse leakage finding its way back to the source. To complete this black magic, an RF-tuned stub is utilized to help filter the pulses and further remove slower components.

It’s slightly amusing to note that the Keysight 100 MHz ‘scope is now “slow” while the early sampling ‘scopes had their “fast” capabilities in that range. The same technique is still used today, in fact, you probably have one on your bench.

The sampler he’s showing us is an accessory for another instrument we’ve previously shown you his work with.

Continue reading “The Magic Of A Diode Sampler To Increase Oscilloscope Bandwidth”

Driving A Motor With An Audio Amp Chip

[InazumaDenki] wanted to answer the question: can you drive a motor with an audio amplifier chip? The answer, of course, is yes. The TDA7052 has a single input, and a bridge output meant to drive a speaker differentially. It should work if the motor doesn’t present more of a load than a speaker.

The plan was to use a resistive divider to provide several discrete voltages to the input. At precisely the half-way mark, there should be no voltage across the load. Altering the input to go higher than halfway should make the motor turn one way, and making it go lower should turn the motor the other way. As you can see in the video below, it does work, although it may not be ideal for this application.

Continue reading “Driving A Motor With An Audio Amp Chip”

Finally, A Machine To Organize Resistors!

Perhaps it’s a side-effect of getting older, but it seems like reading the color bands on blue metal-film resistors is harder than it was on the old brown carbon ones. So often the multimeter has to come out to check, but it’s annoying. Thus we rather like [Mike]’s Resistorganizer, which automates the process of keeping track of the components.

At its heart is a fairly simple concept, with the microcontroller reading the value of a resistor by measuring the voltage from a potential divider. The Resistorganizer extends this using an array of analogue multiplexer chips, and is designed to plug into one side of a breadboard with the idea being that each line can have a resistor connected to earth through it. Of course it’s not quite as simple as that, because to maintain a readable range a set of resistors must be switched in and out to form the other half of the divider for different ranges. Thus another multiplexer chip performs that task.

Finally a set of digital multiplexers handles an LED to see which of the many resistors is currently selected through a pair of buttons, and a dot-matrix LCD display delivers the value. We want one already!

The Device That Won WW2: A History Of The Cavity Magnetron

[Curious Droid] is back with a history lesson on one of the most important inventions of the 20th century: The cavity magnetron. Forged in the fighting of World War II, the cavity magnetron was the heart of radar signals used to identify attacking German forces.

The magnetron itself was truly an international effort, with scientists from many countries providing scientific advances. The real breakthrough came with the work of  [John Randall] and [Harry Boot], who produced the first working prototype of a cavity magnetron. The device was different than the patented klystron, or even earlier magnetron designs. The cavity magnetron uses physical cavities and a magnetic field to create microwave energy.  The frequency is determined by the size and shape of the cavities.

While the cavity magnetron had been proven to work, England was strapped by the war effort and did not have the resources to continue the work. [Henry Tizzard] brought the last prototype to the USA where it was described as “the most valuable cargo ever brought to our shores”. The cavity magnetron went on to be used throughout the war in RADAR systems both air and sea.

Today, many military RADAR systems use klystrons or traveling wave tube amplifiers due to requirements for accurate frequency pulses.  But the cavity magnetron still can be found in general and commercial aviation RADAR systems, as well as the microwave ovens we all know and love.

Check the video out after the break.

Continue reading “The Device That Won WW2: A History Of The Cavity Magnetron”