Vista Normal

Hay nuevos artículos disponibles. Pincha para refrescar la página.
AnteayerSalida Principal

Comparing Those Ten Cent Microcontrollers

Por: Jenny List
10 Junio 2024 at 11:00

If you follow the world of microcontrollers, then you’ll probably be familiar with the most recent crop of ten cent parts. They bring power and features previously the preserve of much more expensive chips into the super-budget arena, and they’re appearing in plenty of projects on these pages.

If you’re not familiar with them it can seem daunting to decide which one to use, so to help you [Zach of All Trades] is comparing two of the more common ones. The CH32V003 with a RISC-V core and the PY32F002 with an ARM Cortex M0+ core are both pretty similar on paper, but which should you use?

The video below gives a run-down of each part along with some demonstrations before making its conclusions. The ARM-based part isn’t as quick as the RISC-V one but has a slight edge on peripherals, while the support is where a potential winner emerges in the shape of the CH32. That should be the last word, but for that the PY32 has the distance advantage over its rival of ready availability.

So this look at two families of cheap microcontrollers reveals the pros and cons of each, but in reality it provides an introduction to two sets of powerful chips for pennies.

As we’ve observed before, there are more chips to be found in this market.

Flute Now Included on List of Human Interface Devices

24 Abril 2024 at 08:00

For decades now, we’ve been able to quickly and reliably interface musical instruments to computers. These tools have generally made making and recording music much easier, but they’ve also opened up a number of other out-of-the-box ideas we might not otherwise see or even think about. For example, [Joren] recently built a human interface device that lets him control a computer’s cursor using a flute instead of the traditional mouse.

Rather than using a MIDI interface, [Joren] is using an RP2040 chip to listen to the flute, process the audio, and interpret that audio before finally sending relevant commands to control the computer’s mouse pointer. The chip is capable of acting as a mouse on its own, but it did have a problem performing floating point calculations to the audio. This was solved by converting these calculations into much faster fixed point calculations instead. With a processing improvement of around five orders of magnitude, this change allows the small microcontroller to perform all of the audio processing.

[Joren] also built a Chrome browser extension that lets a flute player move a virtual cursor of sorts (not the computer’s actual cursor) from within the browser, allowing those without physical hardware to try out their flute-to-mouse skills. If you prefer your human interface device to be larger, louder, and more trombone-shaped we also have a trombone-based HID for those who play the game Trombone Champ.

❌
❌