hybridfree/eevblog-posts huggingface dataset:
USB 4 hub with power delivery - Page 1
Forum section: electronics / projects

author: Markus.R
author_rank: Newbie
timestamp: February 20, 2022, 10:27:26 am
content: Hello everyone,I would like to create a USB hub with USB 3.2 gen2x2 or better USB 4 that also supports power delivery with up to 100W. The problem is that I am not really into USB hub making. So I hope there are some people here that are really into USB hubs which can help me.My problem in detail:In the attached schematic, you can see the physical layout of the USB-C ports. The goal would be to have USB 4 and pd on U1-U4 and have U5 or U6 as the pc input. The input of the pc should be able to change to the side where it is plugged in, while the other side should be usable as a normal USB port or to put another hub directly on it.This all sounds easy as a concept, but I sadly can not find any hardware that supports what I want to do. Finding a USB 4 hub controller is not that easy, but finding one with pd on all ports and easily accessible data sheets is a nightmare. And I can not even start drawing a PCB or programming without the hardware.Maybe one of you has an easy solution to my problem or knows just the right components for my idea.Thanks for your answers in advance.

author: ANTALIFE
author_rank: Frequent Contributor
timestamp: March 03, 2022, 02:15:43 am
content: Suggest you have a dig through some Cypress/Infineon hub controllers, particularly the evaluation boards & their design fileshttps://www.infineon.com/cms/en/product/universal-serial-bus-usb-power-delivery-controller/
DC-DC: USB 5V -> transformer (isolated) -> +-17V -> +-15V LDO - Page 1
Forum section: electronics / projects

author: 0xFFF0
author_rank: Regular Contributor
timestamp: February 15, 2022, 10:24:19 am
content: What is the best solution at the moment? Is there a good, economical circuit?

author: deskpro256
author_rank: Contributor
timestamp: February 15, 2022, 10:46:11 am
content: There are these MURATA isolated power supplies.For example:NMA0515SCIt supplies only about 33 mA, but maybe that's enough for you.https://eu.mouser.com/datasheet/2/281/kdc_nma-29224.pdfLook around for similar items.Mouser has an entire section:https://eu.mouser.com/c/power/dc-dc-converters/isolated-dc-dc-converters/Otherwise you would need to roll your own depending on your needs.

author: MasterT
author_rank: Frequent Contributor
timestamp: February 15, 2022, 12:46:11 pm
content: https://www.aliexpress.com/item/33035030881.html

author: 0xFFF0
author_rank: Regular Contributor
timestamp: February 15, 2022, 03:31:45 pm
content: Quote from: MasterT on February 15, 2022, 12:46:11 pmUnfortunately they are not isolated.

author: 0xFFF0
author_rank: Regular Contributor
timestamp: February 15, 2022, 03:33:02 pm
content: Quote from: deskpro256 on February 15, 2022, 10:46:11 amThey can only do 15V. Not enough for a 15V LDO.

author: Ian.M
author_rank: Super Contributor
timestamp: February 15, 2022, 04:32:31 pm
content: Why do you want to post-regulate with LDOs? LDOs almost invariably have poor HF PSRR so are more or less useless for ripple reduction after a decent DC-DC converter that has a well regulated output. OTOH they may be of some use if the converter is unregulated, provided you filter out the switching hash before it reaches the LDO.

author: Benta
author_rank: Super Contributor
timestamp: February 15, 2022, 05:59:17 pm
content: Check Traco Power. They have isolated modules with built-in LDOs. 1 W, 2 W, 5 W etc.Easy.

author: deskpro256
author_rank: Contributor
timestamp: February 15, 2022, 07:16:41 pm
content: After looking around in digikey and mouser I found that most of these modules have 9/12/15/24V outputs. So you either get the 15V and use it as is, maybe get some LC filtering action to reduce noise if that is your problem or get the 24V and hit it with a linear regulator, but then you need to drop 9V which I'd say is a no go.Or make your own with 17V and an LDO if that's what you really want and need.

author: Benta
author_rank: Super Contributor
timestamp: February 15, 2022, 07:47:08 pm
content: The OP's requirements are hazy to say the least. Power level (as it's USB i suspect <1 W), chassis mount, PCB mount, SMD, through hole, plastic case, metal case etc. etc. etc.My crystal ball is in the repair shop.
USB-A "Male" to USB-A "Female" current measument board - Page 1
Forum section: electronics / projects

author: george graves
author_rank: Super Contributor
timestamp: October 13, 2012, 11:01:08 am
content: I need to whip up a break out board for measuring current.Didn't Dave get one in a mailbag segment? Anyone know what show number?My other question is if I should carry the shielding from one side of the connector to the other with a wire?I understand that the shielding on USB cables should only connect on the host end, and connect to nothing on the device end. Is this correcct?

author: digsys
author_rank: Unknown
timestamp: October 13, 2012, 01:19:04 pm
content: Quote from: george gravesFor testing purposes it's fine. If you peek inside most PC boxes, you'll find the front USB ports are just cr@ppy untwisted and unshielded wires.They may suffer speed losses, most people rarely notice.QuoteMostly correct. The shield and ground wiring on USB is a bit complex and has gone through changes. Originally, they had 2 separate un-terminated0V or shield wires, but that caused a lot of sparks when you went to connect a USB cable and had some static on you. I've blown up motherboardsJUST from the damn static spark !! Luckily, I don't see that any more.I've seen driven shields, sometimes terminated, sometimes RF terminated (with a C and R in parallel), sometimes they just ground both.There are "suggested" methods, but you'll find many variations used.

author: notsob
author_rank: Frequent Contributor
timestamp: October 13, 2012, 01:51:15 pm
content: I think it was this one georgehttp://www.youritronics.com/there also was one in s silicon chip magazine,issue 273 june 2011

author: notsob
author_rank: Frequent Contributor
timestamp: October 13, 2012, 02:00:59 pm
content: The silicon chip one has 1R resistor that can be jumpered in to measure current, and the pcb shows the shield connected thru

author: Short Circuit
author_rank: Frequent Contributor
timestamp: October 13, 2012, 05:24:32 pm
content: http://www.hwtools.net/ExtenderBoard/U2EX.htmlhttp://www.hwtools.net/ExtenderBoard/U3EX.html

author: johnboxall
author_rank: Unknown
timestamp: October 14, 2012, 03:08:28 am
content: Should be useful:http://dangerousprototypes.com/2012/10/08/usb-current-and-voltage-tester-designed-on-the-dp5031-standard-pcb/
USB and battery power source - Page 1
Forum section: electronics / projects

author: jmbinette
author_rank: Contributor
timestamp: September 21, 2019, 11:10:47 pm
content: Hi to all,I built a circuit to power a 3.3v power source using both battery and/or USB cable.The battery section of my circuit seems to work fine.the USB section is using a LP2985-33 and I cannot get 3.3v at the output.instead, I get like 1.7vMy schematic is attachedAny suggestions?Is my design good to avoid leakage into the battery ?thanks

author: ledtester
author_rank: Super Contributor
timestamp: September 22, 2019, 05:02:00 am
content: Is GND of the LP2985-33 connected to USB GND?

author: jmbinette
author_rank: Contributor
timestamp: September 22, 2019, 06:39:04 pm
content: Quote from: ledtester on September 22, 2019, 05:02:00 amDamn right !OopsEverything good now !What about the rest of circuit,is it a good design ?

author: Vcky_electro
author_rank: Contributor
timestamp: September 24, 2019, 06:57:47 pm
content: Quote from: ledtester on September 22, 2019, 05:02:00 amNice..

author: Kasper
author_rank: Frequent Contributor
timestamp: September 25, 2019, 03:21:48 pm
content: Quote from: jmbinette on September 21, 2019, 11:10:47 pmCheck the datasheet for max40200. Does it have reverse current blocking? What happens if Vout is 5V and Vin is 4V? Many regulators have max Vout = Vin and if Vout > Vin, current flows the wrong direction.Adafruit has some good example circuits of connecting battery and usb I think feather 328P has a good one.
USB and Ethernet noise - Page 1
Forum section: electronics / projects

author: ricko_uk
author_rank: Super Contributor
timestamp: November 14, 2023, 02:26:05 pm
content: Hi,when it comes to USB and Ethernet, I assume radiated noise can be both differential and common mode.But broadly speaking, which type would you say it is mostly?I posted here months ago about a USB and Ethernet noise on a PCB I did. Following all your feedback (than you again for that), I remade the PCB adding both ferrites and CM chokes with the footprints on top of each other so on each pair you can place either ferrites or a CM choke.Both combinations passed with flying colours and same results (i.e. clearance below the limit). Any thoughts?Thank you
USB and Kinetis - Page 1
Forum section: electronics / projects

author: mtechmatt
author_rank: Regular Contributor
timestamp: February 25, 2014, 02:39:38 pm
content: Hi guys, a bit of a technical challenge for you...We have a small project using USB and Kinetis K20.When we plug it via a USB hub the PC enumerates it, any PC, laptop etc, it works, however, when we connect directly without the hub, we get an unrecognised device...In terms of connectivity, I do not have any capacitors on the line or resistors, however, I have added them and it still behaves the exact same way.The Kinetis using processor expert allows the following options, and we seem that in combinations the same behaviour occurs, we cannot say we have tried EVERY combination, any idea?-Weak pulldowns On/Off (Both D+ and D- 50K)-D+ pull up (on/off)-D+ pull down (on/off)-D- pull down (on/off)When scoping the lines, we seem to have approx 5v signalling levels, and scoping both when using the hub or using the PC, the voltage levels/patterns seem exactly the same.Its a tricky one... My next task is to order some 3v3 zeners and try reverse biasing them on the lines to ground, as I have seen that on other USB projects on the web...Look forward to any thoughts or ideas???Regards,Matt

author: mngiggle
author_rank: Contributor
timestamp: February 25, 2014, 05:05:17 pm
content: Is it an OTG port? Regardless, it's possible there's an issue with the host/device or speed determination process (there's a fair description here:http://www.lvr.com/usbcenum.htm). Wish I was more of an expert, but that's what I've run into in the past.

author: mazurov
author_rank: Frequent Contributor
timestamp: February 25, 2014, 09:54:30 pm
content: If you're making USB device pulldowns must be off and pullup must be on. Also, check if USBID pin is used. You likely forgot to route VBUS or GND or both to the connector, that's why you can enumerate via a hub but can't enumerate while connecting directly to a USB host (directly being relative since most likely you have another hub hardwired to a host ).

author: mtechmatt
author_rank: Regular Contributor
timestamp: February 26, 2014, 02:22:12 pm
content: Will do some checking shortly.VBUS is routed to by uP, and that works, and ground is also routed, though no to the shell, only the ground pin, which I will also test today.Will be back with some updates later but thank you both for the pointers!Matt

author: DVanditmars
author_rank: Newbie
timestamp: February 26, 2014, 08:33:01 pm
content: If the USB Voltage Regulator, (on-chip) is powered from 5V and it's output is not used, this can have adverse effects on USB functionality.UPDATED:USB Voltage Regulator must be used for any USB operation VREGOUT also supplies power for the USB transceiver.Ensure you have at least 2.2uF bypass on VREGOUT.

author: mtechmatt
author_rank: Regular Contributor
timestamp: February 27, 2014, 07:09:29 pm
content: DV,Thanks will try that now and report back.Matt

author: mtechmatt
author_rank: Regular Contributor
timestamp: February 27, 2014, 07:42:55 pm
content: DV,Thank you, the cap on 33REGOUT has sorted it.If you ever near westbury, UK, I'll buy you a beerCheers again,Matt
USB AVR Programmer - Page 1
Forum section: electronics / projects

author: leeatljs
author_rank: Contributor
timestamp: November 30, 2016, 04:17:55 pm
content: Hi,I blew my AVRISPMkII up, so built this replacementhttps://leeatljs.blogspot.co.uk/Simple enough to reproduce if you need a replacement programmer. It emulates an STK-500.

author: fonak
author_rank: Contributor
timestamp: November 30, 2016, 07:15:10 pm
content: Hi allVery cool and useful project.PS. Link for the source code does not work. If possible, please share hex file

author: leeatljs
author_rank: Contributor
timestamp: December 01, 2016, 11:11:04 am
content: Fixed link to sourcecode and hex file, thanks for spotting.

author: sleemanj
author_rank: Super Contributor
timestamp: December 01, 2016, 11:33:04 am
content: Heh, using a pic to power an avr programmer, once upon a time that would have been blasphemy. But I guess it's all in the family now ;-)

author: fonak
author_rank: Contributor
timestamp: December 01, 2016, 06:16:35 pm
content: Hi,Thanks leeatljs
USB battery bank that turns on when load switches on - Page 1
Forum section: electronics / projects

author: Kasper
author_rank: Frequent Contributor
timestamp: January 19, 2025, 05:23:03 am
content: I am looking for a USB battery bank (5V 2A about 50Ahr) that will wake up / turn on when the load is switched on.Does anyone know a good one or what words to search for?Closest I can find is ones that 'turn on when plugged in'. I tried a handful but only one turns on when load is switched on.

author: RoGeorge
author_rank: Super Contributor
timestamp: January 20, 2025, 02:27:27 am
content: All the USB power banks that I've seen so far will turn off by themselves in about 20 seconds, if the load is too small.There is a way to keep the output on for small loads, by adding a circuit to draw a pulse of high current for a very brief time, such that the power will remain on for the next 30 seconds, and so on another pulse some seconds later, before the USB power bank auto turns off. See the results of this search:https://duckduckgo.com/?t=ffab&q=keep+USB+power+bank+on&ia=web

author: Psi
author_rank: Super Contributor
timestamp: January 20, 2025, 02:32:38 am
content: Yeah, most of mine do that, if the load is too small they switch off after 30sec or soIt can be annoying sometimes if you want to use the bank to recharge something with a tiny battery because sometimes the charge current is too low to keep the bank running.Or when you want to use the battery bank to run something like a LED light or a USB fan. Sometimes they just turn off.

author: Kasper
author_rank: Frequent Contributor
timestamp: January 20, 2025, 03:04:48 am
content: Thank you for the suggestion. That is my back up plan.I am hoping to run 5V from USB through a switch the user will toggle and avoid sleeping MCU, quiescent currents etc.https://www.amazon.ca/DKARDU-Rocker-Latching-Pre-Wired-Household/dp/B09KN94GC9

author: ledtester
author_rank: Super Contributor
timestamp: January 20, 2025, 04:56:51 am
content: Quote from: Kasper on January 20, 2025, 03:04:48 amSome power banks have a button you can press to turn on the output - could you use that instead of the toggle switch?

author: Kasper
author_rank: Frequent Contributor
timestamp: January 20, 2025, 04:59:45 am
content: Quote from: ledtester on January 20, 2025, 04:56:51 amAnother back up plan. Most the ones I've looked at have a power button that could be used but the toggle switch should be easier to access.
USB board-to-board connection - Page 1
Forum section: electronics / projects

author: nali
author_rank: Frequent Contributor
timestamp: January 31, 2017, 07:36:52 pm
content: HiAs per the title. I want to route USB 2 to a daughterboard (stacked not edge). Any suggestions on connectors? I noticed that PC motherboard connection cables use something pretty un-exotic like a Harwin M20 connector or somesuch - are they considered "close enough", or does the relatively short signal path through the connector not really degrade the signal too much?https://goo.gl/images/V9oQsKThanks!

author: David Hess
author_rank: Super Contributor
timestamp: February 01, 2017, 07:44:09 pm
content: Most connectors can be used for this by adjusting the signal and ground pin arrangement to preserve the differential and common mode impedance through the connector. In practice this will require 2 signal pins and 2 ground or power pins in a single in-line connector or a similar arrangement in a dual in-line connector. USB 2 is not that fast so the requirements are not exacting.
USB Breaking problem - Page 1
Forum section: electronics / projects

author: mattiad
author_rank: Newbie
timestamp: August 29, 2018, 12:40:59 pm
content: Dear all,first of all I hope to have made the question in the correct section.I have a problem whit a device that I’ve built: it contains a LPC4300 micrcontroller and its supplied by a 24Vdc.I’ve notice a strange problem when I connect it to a USB port. The device is use as a Slave.First I have to say that this device has no usb protection (my fault) and all the usb pins of the micro are directly connected to the usb connector.The problem is the following: when I connect the device to my desktop PC it works correctly. If I turn off the device and I connect it to my Laptop the device also work correctly.But if I connect it first to my PC desktop, then I disconnect the USB cable and I connect the device to the laptop, the USB port results broken (I measure a short circuit between the VBUS and GND line).This happens just when I don’t turn off the device.Which could be the cause of this problem?The laptop supply should be isolated (I measure more that 1MOhm between the Earth and the Output pin).Best Regards
USB breakout board for turning off device - SHIELD help needed - Page 1
Forum section: electronics / projects

author: DanielRehak
author_rank: Contributor
timestamp: September 05, 2024, 11:52:16 am
content: Hi all,currently I design a breakout board which I plan to introduce between USB device (e.g. keyboard) and USB host (e.g. computer). For reference take a look at picture below.On breakout board there is circuitry to enable turning VBUS off on USB device's side. That way I can turn power on/off on USB device which is crucial for my application.I designed circuitry and tested that it works. Now I would like to add USB connectors on each side of the breakout board and interconnect everything.I attach schematic as PDF. Please take a look at it before you comment.I have unclear points regarding shield connection.Please take into consideration that I do NOT have any outer metal enclosure for whole device so I cannot connect shield to it.My questions:1) should I interconnect 2 shields of each connector or should I leave them unconnected? Connecting them would interconnect 2 shields of 2 different USB cables.2) should I connect shield at one side of the breakout board to GND? I want to avoid creating ground loops.
USB burden requirement - Page 1
Forum section: electronics / projects

author: IconicPCB
author_rank: Super Contributor
timestamp: March 02, 2022, 07:13:36 am
content: Is it OK to connect a USB device to a PC USB port such that the PC does not supply 5V to the device but rather the device relies on its own power source.This is to say only GND D+ and D- lines are connected. VUSB is provided by connected device.

author: ataradov
author_rank: Super Contributor
timestamp: March 02, 2022, 07:37:18 am
content: Yes, of course. This is called self-powered configuration and is perfectly acceptable.I mean you can't supply VUSB into the connector. VBUS should just be left unconnected on the device side.

author: IconicPCB
author_rank: Super Contributor
timestamp: March 03, 2022, 01:12:37 am
content: Thanks Alex,I did not see a reason such a combination wouldn't work.So I am stumped because it is not working. There must be something I am not aware of in my implementation.Essentially I am trying to use Arduino Micro based on Atmel32U4-XUMU .USB input D+ and D- have 22 Ohm resistors in series with micro input pins.I would like to try out USB C connector so I have simply paralleled a USB connector minus 5V line with existing USB connector on Arduino micro. NO JOY.

author: ataradov
author_rank: Super Contributor
timestamp: March 03, 2022, 01:20:08 am
content: How exactly it does not work? How did you modify the board for the self powered configuration?When the device is powered, but not connected to the USB, what are the voltages on the D+ and D- pins?

author: ANTALIFE
author_rank: Frequent Contributor
timestamp: March 03, 2022, 01:59:06 am
content: As long as you make sure to connect 0V/GND and SHIELD at both ends

author: ataradov
author_rank: Super Contributor
timestamp: March 03, 2022, 02:08:34 am
content: Shield is not necessary. There are heated debates whether it should be grounded or not, since USB spec does not specify this and leaves it to the "accepted industry practices and regulatory agency standards for safety and EMI/ESD/RFI".But in any case it is not necessary for basic operation.

author: Monkeh
author_rank: Super Contributor
timestamp: March 03, 2022, 05:15:11 am
content: http://ww1.microchip.com/downloads/en/DeviceDoc/Atmel-7766-8-bit-AVR-ATmega16U4-32U4_Datasheet.pdf#G18.1279315You will need to supply VBUS. If you don't want the Arduino powered from it, remove T1.

author: Renate
author_rank: Super Contributor
timestamp: March 03, 2022, 11:33:58 am
content: Quote from: Section 21.11Other devices may be more lenient and accept connection without any Vbus.
Usb-C 2s Liion charging Circuit - Page 1
Forum section: electronics / projects

author: ruumoo
author_rank: Contributor
timestamp: November 30, 2018, 10:46:07 am
content: I'm designing a pcb for a portable aplication. I want to use a 2s liion battery as power and I would like to charge it over usb-c.This is my current plan of attack:I already have a USB-C pd controller, that can deliver the full 100W, aswell as a liion charge controller and the output step downs, which aren't important to the circuit.Now I just need a fitting step up, step down converter that converts the 5-20V from the usb port to 7.4 V for charging the batteries.Now for my questions:1. Is this a viable circuit, or does it have some giant flaw I overlooked?(Preferably, I don't want to blow up 4 18650 cells)2. How would I go about limiting charging current? In my current cinfiguration, the batteries could draw the full 100W, if they decide to do so, which would decintigrate my PCBGesendet von meinem LG-H930 mit Tapatalk

author: jbb
author_rank: Super Contributor
timestamp: November 30, 2018, 07:01:41 pm
content: Have a look at the bq25700 range from TI.Buck boost with:- input current, voltage limit- system output voltage *before* charge current measurement (allows proper charging current control even if system load is all over the place)- fairly accurate charge current limiting- monitor ADCs- I2C / SMBus controlWith the right MOSFETs, efficiencies > 90% are quite possible.Does requires chunk of support components, though.

author: ruumoo
author_rank: Contributor
timestamp: November 30, 2018, 08:08:16 pm
content: Quote from: jbb on November 30, 2018, 07:01:41 pmSounds promising, but I will have to work through the 84 pages of datasheet firstGesendet von meinem LG-H930 mit Tapatalk

author: jbb
author_rank: Super Contributor
timestamp: December 01, 2018, 04:10:37 am
content: Quote from: ruumoo on November 30, 2018, 08:08:16 pmI know the feeling
USB C 3A/5V charger.  Power delivery IC needed? - Page 1
Forum section: electronics / projects

author: Pineapple Dan
author_rank: Contributor
timestamp: August 17, 2019, 01:53:55 pm
content: Would I need something like this:https://www.diodes.com/products/power-management/ac-dc-converters/secondary-side-controllers-and-switchers/secondary-side-protocol-decoder/part/AP43770#tab-overviewor would there be a way to get 3A using only resistors? Have been searching for a while but can't see the wood from the trees. I am hoping to put this onto a PCB with USB C receptacle and power it with a TI LM2676 or 22679 regulator, not too pushed about being able to supply other voltages USB 3 supports for now
USB-C based touch display - touch data signal path - Page 1
Forum section: electronics / projects

author: Jester
author_rank: Frequent Contributor
timestamp: December 01, 2024, 11:11:09 am
content: I'm collecting components for a LinuxCNC based CNC lathe conversion.I already have a RaspberryPi 4, and I loaded LinuxCNC on it.Not a lot of space, so I'm thinking of using this touchscreen:https://www.amazon.ca/dp/B0CP3NTK2T?ref=ppx_yo2ov_dt_b_fed_asin_titleThe preferred way to connect this display is with a USB-C port that is used for all data; video, audio and touch data. However the PI does not have a USB-C port, it does have 2x USB-A 3.0 ports and HDMI.The HDMI port works fine for the display, however the touch data is not working. The display pamphlet states that you need to use a full featured USB-C port to get the touch data back to the PC.Looking at the USB-C pinout, it's not obvious what signal path they would use for the touch data:It seems unlikely it's the D+, D- pair because using a type C to type A cable does not work as well as the note about the requirement for a "full featured USB-C port"So it seems logical they are using the TXn, RXn data path, thoughts?So now I'm wondering if using one of those USB-A 3.0 to USB-C adapters, one like this:https://www.amazon.ca/gp/product/B0DCC1M97C/ref=ppx_yo_dt_b_asin_title_o00_s00?ie=UTF8&psc=1would get the touch data back to the Pi?

author: ataradov
author_rank: Super Contributor
timestamp: December 01, 2024, 05:26:41 pm
content: They are not going to be using anything non-standard. It should just enumerate as a HID device. Check 'dmesg' output on the Pi when you connect the cable and see how it enumerates.By "full featured" they likely mean Thunderbolt 3 capable, which will use TXn/RXn lines.
USB-C breakout adapters with screw terminals where to get? - Page 1
Forum section: electronics / projects

author: nightfire
author_rank: Frequent Contributor
timestamp: July 02, 2022, 08:42:55 pm
content: For some tinkering and being able to measure the output voltage of USB-C based power supplies I really would like to have some breakout adapter with easily accessible terminals.Something like this:https://www.delock.com/produkt/65517/merkmale.html?g=694But for USB-C female type.Sadly my favorite manufacturers and suppliers do not carry such things. Also I have found numerous small adapters like this:https://www.adafruit.com/product/4090Not bad, but it would involve some soldering/Mounting to get where I want to go. As breadboard pluggability is no big concern here, soldering holes for pin headers are no bonus for me.I would rather attach some measuring leads with 4mm jacks onto them to be able to get some DMM or scope on it...Has anyone some ideas where to get such stuff in germany/EU?Other question: As I did not use such breakout modules before, and as I am coming from the electric side with bigger stuff to deal with: How do you mount those in yout device? Are there some standardized mounting blocks including screw fasteners?
USB C circuit design - Page 1
Forum section: electronics / projects

author: tyguy2
author_rank: Unknown
timestamp: January 14, 2020, 04:55:47 am
content: Hello all,I'm designing a device that connects a mSATA drive to either a computer via USB 3 or an Android/ iPhone device. After doing some research, I found a USB 3 to SATA bridge IC from TI called theTUSB9261. However, the Android devices we're targeting use the USB C connector, and the iPhones would be using alightning to USB C adapter. This has presented me with a few questions I need help answering.1.) Would I be able to connect the USB 2.0 and USB 3.0 lines from the TUSB9261 directly to the USB C port? (see below)2.) The iPhone adapter specifies that it adapts lightning to "USB C or Thunderbolt 3." As I understand it, Thunderbolt 3 is"compatible"with USB 3.0, but does that mean I can directly connect the TUSB9261's USB 3.0 lines to this adapter, or do I need some kind of "Thunderbolt 3 to USB 3" bridge?3.) Is there an easier way of doing all of this? I feel like there has to be some kind of single chip solution for this type of application. This chip needs firmware on SPI flash, etc, etc, and I see things similar to this done infar less complicated devices.Any ideas are very welcome.Thanks for your time, I appreciate any answers!

author: ejeffrey
author_rank: Super Contributor
timestamp: January 15, 2020, 06:23:35 pm
content: I am not a super expert in USB3 or type-C so I definitely could be wrong here, but this is my understanding.First, the easy part: thunderbolt 3 is implemented as an "alternate mode" for USB-C. So AFAIK, all thunderbolt ports are also USB 3 and you don't need any sort of adapter.For the type-C things are more complicated. For USB 2 it is easy: you just wire up the signals to the relevant connector pins and be on your way. All of the USB2 signals are duplicated on the socket and you just have to connect both up. You need to wire up the CC pins with the right terminating resistors, but that is it.For USB3 it is harder. There are 2 sets of super-speed pins on the socket, but the cable only has one pair of wires in each direction. You can't wire up the opposing pairs in parallel like you do with the lower speed lines since that will mess up the signal integrity. So the solution is that a type-C port needs to use the CC pins to detect the cable orientation and uses switches to MUX between the two possible locations. There are chips that do this from the usual vendors. Just search around for USB type-C controllers.USB 3.2 can use both sets of contacts to implement two lanes in each direction for double the bandwidth.
USB C connector question - Page 1
Forum section: electronics / projects

author: moffy
author_rank: Super Contributor
timestamp: November 12, 2023, 10:19:10 pm
content: I have designed a little board (42mmx45mm) which needs a simple USB Full Speed connection. I thought I might use a 6 pin USB C connector since USB C cables are ubiquitous and bypass the micro/mini variance. But I notice that CC1 and CC2 which must correspond with D+ and D- have only one position on the connector mating pins, so depending on cable orientation D+ and D- would get swapped, which wouldn't be good. I am hoping someone might fill me in on the issue. Thanks.

author: SiliconWizard
author_rank: Super Contributor
timestamp: November 12, 2023, 10:26:25 pm
content: I don't understand what you mean by "CC1 and CC2 which must correspond with D+ and D-". CC1 and CC2 are always separate from D+ and D-.But in any case, forget about this USB C receptacle (GCT USB4125) if you want to use it for data. As its datasheet shows, it's "for power charging only".If you want the same type of connector but as a regular USB-C receptacle for USB 2.0 communication (FS and HS), use the GCT USB4105. As you'll see, it has a bit more pins. Makes sense.

author: ataradov
author_rank: Super Contributor
timestamp: November 12, 2023, 10:26:54 pm
content: This connector is not suitable for data transfer. This is a power-only connector.There is some discussion herehttps://www.eevblog.com/forum/projects/type-c-in-micro-usb-footprint-(female-connectors)/Short answer - use a standard 12-pin connector.

author: moffy
author_rank: Super Contributor
timestamp: November 12, 2023, 10:36:38 pm
content: Quote from: SiliconWizard on November 12, 2023, 10:26:25 pmThanks for the clarification, so if I understand correctly, CC1 and CC2 are for power negotiation?

author: moffy
author_rank: Super Contributor
timestamp: November 12, 2023, 10:37:33 pm
content: Quote from: ataradov on November 12, 2023, 10:26:54 pmThanks for that I will follow your advice.

author: ataradov
author_rank: Super Contributor
timestamp: November 12, 2023, 10:39:45 pm
content: Quote from: moffy on November 12, 2023, 10:36:38 pmThat and more. They are generic communication channels that different profiles make use of.For straightforward USB2.0 data connection, add a 5.1 kOhm resistor to ground from each of them.

author: moffy
author_rank: Super Contributor
timestamp: November 12, 2023, 11:33:34 pm
content: Found a 12 pin USB-C connector, USB4105:https://mm.digikey.com/Volume0/opasdata/d220001/medias/docus/5492/USB4105.pdf, that looks suitable. I assume I connect DP1 to DP2 and DN1 to DN2, 5.1k resistors to gnd for CC1 and CC2 and of course all the VBUS together and GNDs together. Is that correct for just standard USB 2.0 operation?

author: ataradov
author_rank: Super Contributor
timestamp: November 12, 2023, 11:35:49 pm
content: Yep. This is the generic pinout/footprint, so a ton of connectors would work as substitutions.Ans yes, your assumptions are correct.

author: moffy
author_rank: Super Contributor
timestamp: November 13, 2023, 11:32:38 pm
content: Thanks Ataradov my pcb is now in production with PCBWay.
USB Type-C Connector Wiring For USB 2.0 Application - Page 1
Forum section: electronics / projects

author: funkathustra
author_rank: Regular Contributor
timestamp: July 17, 2015, 08:39:11 pm
content: I'd like to use a USB C connector for a USB 2.0 application.I know that for USB 3.0/3.1 applications, you need to look at CC1 and CC2 to determine cable orientation and mux the four differential lanes (TX1, RX1, TX2, RX2) properly. However, D+ and D- are in the middle of the cable, and this diagram seems to indicate that the D+/D- pins are only present on the top of the cable:To me, this looks like I can simply connect the top and bottom D+ contacts together on the PCB, and vice-versa for the top and bottom D- pins. If the cable is inserted in one orientation, the cable's D+/D- pins will connect to one set of the PCB connector's pins, and if the cable is inserted in the other orientation, it will connect to the other set of pins. Is this correct?Do I have to do anything with the CC1 or CC2 pins to make it compliant with the spec?Apologies if that has already been discussed, but I couldn't search for anything (given the minimum word requirement of the search functionality of this forum) when I tried searching for "USB C"

author: TiN
author_rank: Super Contributor
timestamp: July 18, 2015, 02:59:53 am
content: On your PCB A6 signal connects B6, and A5 to B5.That's it

author: tszaboo
author_rank: Super Contributor
timestamp: July 18, 2015, 09:22:46 am
content: So did you find cables and connectors for reasonable price?

author: marshallh
author_rank: Unknown
timestamp: July 19, 2015, 05:22:44 pm
content: Digikey has just started carrying Type-C jacks (mfg Assmann).Jacks and cables have been available from the usual chinese sources for a while.
USB-C Controller with Power Delivery (UFP / Sink) - Page 1
Forum section: electronics / projects

author: ondreji
author_rank: Contributor
timestamp: October 08, 2016, 04:04:01 am
content: Hi,Looking for chip which can which can query / negotiate power profile of USB-C port so the attached device can get full 100W if needed.So far I found:PTN5100BSUSB Type-C power delivery PHY and protocol IC (favourite)FUSB302Programmable USB Type-C Controller with PD(had a look at ST, RHOM, Cypress, TI, and Microchip but the devices were vapourware, too complex, or too tiny)Both (PTN5100BS or FUSB302) devices seem to be adequate for the job but the datasheets are not that great and packages are tiny... Hence I'm wondering about the alternatives.

author: ebclr
author_rank: Super Contributor
timestamp: October 09, 2016, 04:00:37 am
content: Take a look on the leaderhttp://www.cypress.com/products/usb-type-c-and-power-delivery

author: ondreji
author_rank: Contributor
timestamp: October 09, 2016, 09:57:21 am
content: Quote from: ebclr on October 09, 2016, 04:00:37 amYes, I'm aware about CY USB-C stuff. Market leader or not, the parts are not that useful for a hobby project. All suitable parts have ARM core (which I wouldn't mind but CY doesn't provide "IDE" for Linux / Mac) and unfriendly package (SOIC 16 parts are for downstream port only) options (40-pin QFN (hard but doable), and 35-pin WLCSP)
USB-C fed charging/balance board/module for Li-ion 18650 cells? - Page 1
Forum section: electronics / projects

author: ballen
author_rank: Regular Contributor
timestamp: January 08, 2023, 08:04:38 am
content: Does anyone out there make a series of boards/modules which are intended to charge several (say 1 to 4) 18650 Li-ion cells from USB C as well as to provide power from them? I have in mind the following features:(1) USB-C input that negotiates voltage/current with upstream host(2) Efficient DC/DC boost circuit that raises voltage as needed(3) Constant current charging circuit which balances current between cells as needed(4) Over/undervoltage/overcurrent protection for cellsThe connections to the board should be:(a) USB-C including lines needed to receive power and negotiate voltage/current(b) 1 to 4 pairs of connections for the 18650 cells(c) An output corresponding to the series voltage from the 18650 cells, which limits current and cuts off discharge if voltage drops below battery threshold

author: MadScientist
author_rank: Frequent Contributor
timestamp: January 08, 2023, 08:15:22 am
content: Plenty on AliExpress

author: ballen
author_rank: Regular Contributor
timestamp: January 08, 2023, 08:57:11 am
content: MadScientist: please give a link or model number. I could find boards that perform some of these functions but not all.

author: stowwest
author_rank: Newbie
timestamp: January 09, 2023, 07:34:12 am
content: Quote from: MadScientist on January 08, 2023, 08:15:22 amIs AliExpress reputable?
USB-C Head Mounted Display - Page 1
Forum section: electronics / projects

author: adammunich
author_rank: Contributor
timestamp: June 16, 2020, 11:23:00 pm
content: Thought it would be fun to show off this thing I have been cooking up with some friends. It's a USB-C head mounted display!https://glados.aperture.science/index.php/s/BWk3WNXgfEMPkE2

author: thm_w
author_rank: Super Contributor
timestamp: June 17, 2020, 12:29:45 am
content: I can't tell where you've hidden the displays in that headset, they reflect off something?What kind of USBC signalling does it use for the display data?

author: adammunich
author_rank: Contributor
timestamp: June 17, 2020, 01:58:31 am
content: The displays are reflected into the eye by a surface of appropriate curvature. I'm using DP Alt Mode over USB-C for video.
USB C Hub with Magsafe Power input and Data transmission - Page 1
Forum section: electronics / projects

author: AshtrayWasp
author_rank: Newbie
timestamp: May 12, 2025, 06:18:37 pm
content: I'm planning a USB C Hub build where I'm gonna take a DC input from a Magsafe Apple power supply and use this as a charging current for the DFP, but I also want a separate UFP for data transfer.I was planning to use the STUSB4710 with a 5V regulator and a power switch (TPS2121) so that the 5V can be used to start PD negotiation and can be switched to the magsafe 20V when the STUSB accepts the sink's request for it.As I wouldn't use the data lines for the process above, I was thinking of using a separate USB C connector to handle data transfer to the DFP.How can I achieve this? Would I need a USB C controller to handle data to the DFP or just the PD Source? I'm only just starting to work with USB so I'm not sure how to do this.

author: thm_w
author_rank: Super Contributor
timestamp: May 13, 2025, 12:07:16 am
content: Can you just buy an off the shelf USBC PD hub with external power input and then make a small board to power it with the magsafe? Or are they uncommon?

author: AshtrayWasp
author_rank: Newbie
timestamp: May 13, 2025, 09:40:43 am
content: I can't as I want it to fit in a very specific way, as the plan is to put it inside a Macbook so I need to make my own board
USB C PD chip that will work stanalone - Page 1
Forum section: electronics / projects

author: Simon
author_rank: Unknown
timestamp: September 07, 2022, 09:14:36 am
content: I'm being asked to add USB C ports to a device. So it makes sense to go all wiz bang and do full PD at 100W (it's only supplied by a 5kWh battery). But I'm getting rather confused looking around, there seem to be lots of controller chips but all need a microcontroller. I just need to supply power at the rate requested by the connected device.Does anyone do a controller that will do the contract handling and then give some output to set the voltage of a DC/DC converter?

author: bugrobotics
author_rank: Regular Contributor
timestamp: September 07, 2022, 03:41:26 pm
content: There are a number of chips that are standalone. What are your exact voltage/current requirements?Cypress makes a standalone PD IC (CYPD3177) that will request a specified voltage/current up to 100W. I've used it and it works well. Just uses a resistor combo to set HI/LO voltage and another to set HI/LO current request.A good source controller is the TPS25740B. It can request up to 100W from a power supply.

author: Simon
author_rank: Unknown
timestamp: September 09, 2022, 05:55:20 pm
content: Well 100W seems to be current, we have a 48V source so can easily accommodate the voltages and current.

author: Simon
author_rank: Unknown
timestamp: September 09, 2022, 08:04:06 pm
content: FUCK! cypress has been bought by Infineon, I generally don't use parts from that wanker company, they will just obsolete stuff at short notice for no reason when there is huger demand for it, they may be king for the auto makers but fore people in my position they are utter bastards! want to be redoing all of your CE marking over and over again, buy from Infineon.
USB-C PD FCC Testing  dilemma - Page 1
Forum section: electronics / projects

author: amitchell
author_rank: Regular Contributor
timestamp: May 16, 2017, 02:21:15 am
content: I have a USB-C Power Delivery product, the only data transfer is on the configuration channel to negotiate a 15V 3A power contract. I am seeing 1.2MHz switching noise from the USB-C wall wart on my PCB power rail, and I am trying to figure out how I can eliminate or account for this during FCC testing.Catch 22I dont think I can make a dumb cable and feed it 15V directly from a battery, the DUT needs the configuration channel data(as far as I know) to approve and allow the power contract and activate the VBUS FET's.I dont think I can isolate the wall wart and cable while the 15V power contract is active, again it needs the negotiated contract(as far as I know) from the DUT.The other option I considered was finding the lowest noise USB-C charger/wall wart and then opening it up and adding filtering.Am I missing something?

author: Rerouter
author_rank: Super Contributor
timestamp: May 16, 2017, 02:25:11 am
content: Get a large low frequency ferrite, and wrap the cable where it exits the charger through a few times, the differential data channels will be immune, but the ferrite should soak up a fair bit of the noise,Otherwise find an FCC approved usb c charger that wont be spewing out noise?

author: amitchell
author_rank: Regular Contributor
timestamp: May 17, 2017, 12:44:04 am
content: Quote from: Rerouter on May 16, 2017, 02:25:11 amMy concern is the added noise in the testing environment adding to my test results. I will search for a cleaner charger and test/modify if needed.

author: garboui
author_rank: Regular Contributor
timestamp: May 17, 2017, 01:30:26 am
content: Quote from: amitchell on May 17, 2017, 12:44:04 amDo you know what (if any) margin you have?

author: amitchell
author_rank: Regular Contributor
timestamp: May 17, 2017, 01:51:11 am
content: Quote from: garboui on May 17, 2017, 01:30:26 amNo I dont, I am trying to be proactive and eliminate as many factors as possible.

author: georges80
author_rank: Frequent Contributor
timestamp: May 17, 2017, 01:58:20 am
content: Yep, spend money on FCC approved power supplies, get a few from different vendors.We had a product that failed initial pre-compliance and that was due to a non-fcc compliant power supply (wall wart at 12 - 15 watts). Found a real FCC compliant unit (not some ebay fake) and passed without issue.There's the possibility that the testing house may do an AC emissions test on your 'system' since they'll want to confirm your powered unit doesn't create nasty conducted emissions into/through the power supply you are using, even though the mains power supply is not part of your product. Something to check before you go through the test - since that would give you even more incentive to get the best power supply your can find (lowest EMI).cheers,george.
USB-C PD input load switch needed? - Page 1
Forum section: electronics / projects

author: i509VCB
author_rank: Contributor
timestamp: August 27, 2024, 07:14:48 pm
content: Hi I am working on a project which has dual role power. For the output path, I have the following:I believe this output path is fine. The input path I am less sure about. The VIN is provided by a diode ORing of a barrel jack, another USB-C port, this USB-C port or the USB 2.0 connection from the MCU (not related to power delivery, I disable power to the USB-C ports with only the MCU connected):Where my confusion comes in is that for a different PD controller, the TPS65988, it's EVM shows a load switch on both the sink and source paths. If I do not include the load switch on the input path, is there a potential issue with the diode ORing that could result in the buck converter trying to power itself?

author: thm_w
author_rank: Super Contributor
timestamp: August 27, 2024, 10:20:33 pm
content: I think you need to clarify if you actually need dual role, and why. And if you want to meet USB spec.If you do, you'll use something like thatTPS65988, which will communicate over the CC lines, and switch voltages depending on what it sees.https://www.reddit.com/r/AskElectronics/comments/1dv1mbk/usbc_dualrole/https://www.ti.com/lit/ml/slyp807/slyp807.pdf

author: i509VCB
author_rank: Contributor
timestamp: August 27, 2024, 11:11:17 pm
content: Quote from: thm_w on August 27, 2024, 10:20:33 pmDual role power yes. Dual role USB would be nice but I need to fight the N100 on the LattePanda Mu for that and probably for another day. I also don't necessarily need to comply with the standard on paper.I have looked at the TPS65988 before. However I've decided against it because it effectively requires me to go 6 layers (TI suggests 8 layers). I chose to go with one of the bigger STM32G0B1 since I already need a microcontroller for something else, it's cheap enough and it has 2 USB-C PD phys. ST does have a middleware library for implementing the standard.

author: thm_w
author_rank: Super Contributor
timestamp: August 27, 2024, 11:34:19 pm
content: If you want to use the STM32 then you can see the schematic of their EV boards:https://www.st.com/en/ecosystems/x-nucleo-drp1m1.htmlhttps://www.st.com/en/evaluation-tools/stm32g0c1e-ev.html?icmp=tt21847_gl_pron_jun2021Where TCPP03 provides the same hardware switching functionality.https://www.st.com/en/protections-and-emi-filters/tcpp03-m20.html