Connecting Arduino 3.3v to 5v pc usb

Hi everyone
As you know some types of arduino like the most powerful one، arduino due use 3.3v as input and its noticed that connecting more voltage like 5v can cause problems for board.
but the voltage of pc usb hub is 5v.so how is it possible to connect such arduino to a pc for programming etc. And don't have any problems?

On many Arduino boards, there is a Vin pin. It is connected to a 12V to 3.3V voltage regulator. It can be supplied with any external power supply up to 12V and it gives 3.3V to the board. So connect the PC's USB Port 5V to the Vin pin on the board, it will be okay.

USB 5V is safe.

I'm not familiar with most 3.3.V boards. In general Vin gets reduced to 5V and next 5V gets reduced to 3.3V. Below tries to show.

                                    +--------------------------> 5V
                                    |
        +---------------+           |   +---------------+
        |               |           |   |               |
Vin ----+               +-------X---+---+               +------> 3.3V
        |               |       |       |               |
        +---------------+       |       +---------------+
                                |
Vusb ---------------------------+

The X in the center is an electronic switch.

ArnavPawarAA:
On many Arduino boards, there is a Vin pin. It is connected to a 12V to 3.3V voltage regulator. It can be supplied with any external power supply up to 12V and it gives 3.3V to the board. So connect the PC's USB Port 5V to the Vin pin on the board, it will be okay.

So for arduino due that has 2 usb ports and one adapter jack its okay to use 3.3_12v for all of them?

mohsen1_k:
So for arduino due that has 2 usb ports and one adapter jack its okay to use 3.3_12v for all of them?

I don't understand. What is 3.3_12v ?

If you feed 12V into the barrel jack (or Vin), the 5V from the USB(s) will be blocked (the switch I mentioned).

See T1 and T2 in the Due schematic (pdf)

sterretje:
I don't understand. What is 3.3_12v ?

I mean between 3.3v and 12v
Do all inputs have regulator and are compatible with voltages abobe 3.3v?

"inputs" are a completely different topic from "power supplies"
Inputs refer to the pins on a board which are sensitive to voltage abuse !

I would hope you are refering to the power supply rails ?
If that is the case then mostly YES there are regulators.
The schematics for a particular board will detail those regulators and the amount of voltage they can "safely" handle but even then it is better to stay on a lower voltage so in the case of 12 volts MAX then 7 to 10 volts is a more acceptable range.

ballscrewbob:
"inputs" are a completely different topic from "power supplies"
Inputs refer to the pins on a board which are sensitive to voltage abuse !

I would hope you are refering to the power supply rails ?
If that is the case then mostly YES there are regulators.
The schematics for a particular board will detail those regulators and the amount of voltage they can "safely" handle but even then it is better to stay on a lower voltage so in the case of 12 volts MAX then 7 to 10 volts is a more acceptable range.

Yes i refferd to the usb ports and power jack.
Tnx bro.