If I want to use a motor which requires more than 5v of electricity which the arduino UNO doesn't provide, I'm guessing the say 20v wire will link directly to the motor which requires it, but for the returning gnd wire - I assume it won't be safe to connect directly to the GND on arduino. And even using a resistor I don't know if it will be able to handle such a large amount of power coming to it.
Can a 5v be increased to 20v using a transistor?
Not using just a transistor.
Why don't we use this to generate free energy for the world? lol
Now why didn't anyone else here think of that.
Lefty
I did not say that I said CURRENT could be changed from small to large using a transistor.
If you have a few other parts you can convert any voltage into any other voltage. The circuit is called an inverter. We do not use it to power the world because voltage is only half the component of power. If we double the voltage we will at best half the current, leaving the power, that is current times voltage, the same. In practice there are losses so you loose about 20% of the power when you do this.
In your car is a circuit that converts you 12V into several thousand volts for your spark plugs, assuming it is a petrol ( gass if you live in the U.S ) car.