Vista Normal

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

Try Out MCUs With This Jumperable TSSOP20 Adapter

30 Junio 2024 at 05:00
Two of these boards next to each other, one showing the front, assembled, side with the MCU and supporting components soldered on, and the other showing the back, patch panel, side, with wires connecting the MCU pads to testpoints leading to the supporting components

There are so many new cool MCUs coming out, and you want to play with all of them, but, initially, they tend to be accessible as bare chips. Devboards might be hard to get, not expose everything, or carry a premium price. [Willmore] has faced this problem with an assortment of new WCH-made MCUs, and brings us all a solution – a universal board for TSSOP20-packaged MCUs, breadboard-friendly and adaptable to any pinout with only a few jumpers on the underside.

The board brings you everything you might want from a typical MCU breakout – an onboard 3.3V regulator, USB series resistors, a 1.5K pullup, decoupling capacitors, and a USB-C port. All GPIOs are broken out, and there’s a separate header you can wire up for all your SWD/UART/USB/whatever needs – just use the “patch panel” on the bottom of the board and pick the test points you want to join. [Willmore] has used these boards for the CH32Vxxx family, and they could, no doubt, be used for more – solder your MCU on, go through the pin table in the datasheet, do a little point-to-point wiring, and you get a pretty functional development board.

Everything is open-source – order a few of these boards from your fab of choice, and you won’t ever worry about a breakout for a TSSOP20 MCU or anything that would fit the same footprint. It could even be used in a pinch for something like an I2C GPIO expander. This is also a technique worth keeping in mind – a step above the generic footprint breakouts. Looking for more universal breakouts to keep? Here’s one for generic LCD/OLED panel breakouts.

Make a Super Cute LiDAR Measurement Module

2 Junio 2024 at 20:00

This ultra-cute tiny LiDAR rangefinder project by [gokux] can be thought of as a love letter to the incredible resources and components hobbyists and hackers of all types have access to nowadays. In fact, it all stemmed from coming across a miniscule half-inch 64×32 OLED display module that was simply too slick to pass up.

USB connector for charging on the bottom, hole for distance sensor out the top.

To use it, one simply powers it on and the display will read out the distance in millimeters. The VL53L0X time-of-flight sensor inside works by sending out a laser pulse and measuring how long it takes for the pulse to bounce back. We hope you’re curious about what such a sensor looks like on the inside, because here’s a nifty teardown of these fantastic devices. The device can technically measure distances of up to 2 m, but [gokux] says accuracy drops off after 1 m.

The main components besides the OLED display and VL53L0X sensor are an ESP32-C3 board (which handily integrates battery charging circuitry), 3D-printed enclosure, tiny rechargeable battery, and power switch. The whole thing is under one cubic inch. Not bad, and it even makes a passable keychain. Parts list, code, and 3D model files, including STEP format, are all available if you’d like to spend an afternoon making your own.

MUDLink Is Making UART Data Links More Reliable

Por: Lewin Day
3 Mayo 2024 at 08:00

Many of us have used UARTs to spit data from one system or chip to another. Normally, for quick and dirty maker projects, this is good enough. However, you’ll always get the odd dropped transmission or glitch that can throw a spanner in the works if you’re not careful. [Jake Read] decided to work on a system that could use UARTs while being far more reliable. Enter MUDLink.

MUDLink is a library that works with an Arduino’s UART port and stacks on a bit of protocol to clean things up. It uses a packetized method of sending data to ensure that transmissions are received reliably as intended by the sender. Packets are framed using a method called Consistent Overhead Byte Stuffing, which is a nice lightweight way of doing so. The system also uses CRC16-CCITT as an error checking mechanism. There’s also an ack-and-retransmit system for ensuring any dropped transmissions are repeated and received successfully.

If you need reliable UART transmissions without too much overhead, you might want to look at what Jake is doing. It’s a topic we’ve looked at before, too.

❌
❌