This module helps you talk USB-C PD, with a RP2040 for implementing your custom behaviour. Works with C++ and MicroPython!
Designed by FairywrenTech in LatviaThis seller is taking a break. Sign up below to get an email when they're back!
No shipping info available.
Set destination country to see options
Shipping to starts at
Free shipping is available to !
Ships from
This item does not ship to .
More Info
Sign up and we'll send a reminder when the seller returns!
Let's bring your projects to life! If you want advice on a project of yours, use contact info in my store description. + check out my store, I have some cool items you might want to add to your order!
Do you want a trigger board for your project, but one that works exactly the way you want? Do you want a USB-C adapter that fast charges your phone but also makes it work as a data host? Do you want …
Read More…Do you want a trigger board for your project, but one that works exactly the way you want? Do you want a USB-C adapter that fast charges your phone but also makes it work as a data host? Do you want to build a USB-PD tester or sniffer, but one that's more flexible than any of the available ones on the market? Do you want to get DisplayPort out of your USB-C laptop while also charging it, with all the custom behaviour you might want? Do you want to reuse USB-C peripherals with older devices, or perhaps add a USB-C port to your not-as-modern laptop? Reverse-engineer USB-C peripherals? Any other project where you want to speak USB-C PD? I've designed the Altmode Friend for all of these goals, and more.
The Altmode Friend module:
This small friendly module will help you in your USB-C PD pursuits! It's self-sufficient for all your PD negotiation needs and more, super flexible and small, letting you add a ton of external hardware to your project - you can even use this module as your project's main MCU. You don't need a separate chip with a very specific purpose to talk a limited amount of PD in your projects anymore - just put this castellated module onto your PCB or breadboard, connect the CC pins to your USB-C port, tweak the module's software if needed, and have it talk PD for you - with any kinds of custom behaviour you could want. What's more, this RP2040 exposes enough GPIOs that it could easily be the main MCU for your project!
PPS voltage extraction
The Altmode Friend has an RP2040 paired with a FUSB302B USB-PD frontend, and I provide a MicroPython interface so that you can implement your own behaviour by writing Python code. My goal is to let you talk PD from a comfortable MicroPython environment with GPIOs aplenty, adding as much custom behaviour as your projects need.
Here's the code I've created so far:
Again, everything is fully open-source, and the code is well-structured and documented. I'm currently working on custom USB-PD power supply code - stay tuned!
If you ever need help hacking on this code, let me know - I'd be glad to help. If you're reasonably experienced and looking for a mature stack in a low-level language, you can also already use this module to talk USB-PD by using one of the openly available USB-PD stacks; there's quite a few - the IronOS stack, a stack from MicroChip, and even one for Arduino.
Sniffing USB-C packets using the Altmode Friend
I've listed quite a few usecases for module, that you can't achieve with typical PD stuff available for sale, such as trigger boards and pre-made devboards. In general, with this module, you can do anything with a USB-C port - get custom voltages and currents, sink or source, use alternate modes like USB3 and DisplayPort, and tap into proprietary or debug features. You can also create a USB-C port that provides anything you'd like! It's perfect for use in larger project where you want a separate PD controller so that your main MCU or the CPU can free up some resources and avoid any software bringup conflicts with the hardware requirements. So, if you're building a custom motherboard with USB-C, feel free to use this module as a dedicated USB-C peripheral, as it can free you up from a lot of USB-C worries. And, of course, you can use it as a trigger board - it's hardly more expensive than one, and significantly more fully-featured whenever you run into limitations, like trigger boards simply picking the highest voltage available, or not communicating the supported current levels to you.
A custom board using the Altmode Friend as the main MCU and the PD controller
There are large benefits to a separate and configurable module for USB PD, whether you compare it to trigger chips or wiring up a PD PHY to your main MCU. It's a standalone part of your project that can easily integrate into other parts, and the RP2040 can also act as the main MCU for your goals if the project's small enough. It also lets you easily create custom PD behaviour, like powering a device of yours only after a proper voltage and current have been negotiated, or controlling high-speed signal switches without getting your main CPU involved. In fact, your main CPU doesn't have to be awake, especially if getting it awake is a catch-22 without PD - this module can negotiate any voltage or altmode your CPU could need before it boots up. I've been creating highly featured PD-chatting gadgets with these modules, and if you too want to harness the power of USB-C ports around us, this module is a perfect fit.
Need PCB designs for inspiration, or for KiCad symbols/footprints/3D files? The example design is the devboard you can use for inspiration or add to your PCB order, already fully tested - it has KiCad symbols and footprints. Second example design is the Framework laptop mainboard replacement project that turns the Framework laptop chassis into a KVM - the design is currently WIP, but files are already available.
As usual, I've packed this module with as many features as could fit while keeping it easy to work with - let's go through them!
Using the devboard to build DisplayPort sink communication code
There's a power-application-intended devboard available for use with the Altmode Friend! It's a PCB with a protoboard space, two USB-C ports and power management, that an Altmode Friend solders onto. It's intended as a devboard for the Altmode Friend as much as it's intended to be a reference design. Most of all, this board is a USB-C playground!
Of course, the devboard is also packed with features!
Building a USB-C PSU platform using the devboard's prototyping space
The Altmode Friend can be used as a building block of your own board, or it can be used standalone, or perhaps, copy-pasted wholesale as the PD heart of your new design. Whichever path you take, I hope this module helps you on your journey!
This is a fully open-source product! Use the "Design files" link below to get the KiCad files for your own research.
No country selected, please select your country to see shipping options.
No rates are available for shipping to .
Enter your email address if you'd like to be notified when Altmode Friend - a module for your USB-C PD needs can be shipped to you:
Thanks! We'll let you know when the seller adds shipping rates for your country.
Shipping Rate | Tracked | Ships From | First Item | Additional Items |
---|---|---|---|---|
:
|
Our post is reliable + you will get a tracking number! Use EMS (priority mail with a courier, will need your phone number) if you're worried about postal services on your end, or need your package delivered quickly. I ship packages on business days - otherwise it will just collect dust in the postal office till Monday -, and I'll prepare your shipment as quickly as possible. If there's any problems with your order, I'll get in touch with you through the email you have listed on Tindie and let you know how soon I can prepare your package for shipping, as well as ask any additional questions I might have.
Product: (3.00)
Documentation: (3.00)
Shipping: (3.00)
Communication: (3.00)
Rafał | March 17, 2024
Davis | Oct. 26, 2023
No shipping info available.
Set destination country to see options
Shipping to starts at
Free shipping is available to !
Ships from
This item does not ship to .
More Info
Sign up and we'll send a reminder when the seller returns!
$8.00
Free Shipping!
$12.00
Free Shipping!
$12.00
Free Shipping!
$20.00
Free Shipping!
$12.00
Free Shipping!
$5.00
Free Shipping!
$1.50
Free Shipping!
$2.00
Free Shipping!
By clicking Register, you confirm that you accept our Terms & Conditions
We recognize our top users by making them a Tindarian. Tindarians have access to secret & unreleased features.
We look for the most active & best members of the Tindie community, and invite them to join. There isn't a selection process or form to fill out. The only way to become a Tindarian is by being a nice & active member of the Tindie community!