Sorry in advance if I get the terms wrong here.
And I have a potentially (no pun intended) simply stupid question here.
In a MOSFET if I have 12 Volts on Source (the potential that drives the circuit I need to switch).
And I put 5V on the Gate (the pin that switch the MOSFET on) via a 10 Ohm resistor. This pin is on a 100k resistor to ground, so the MOSFET should be off unless signal is on.
The query, isn't there only a 7V potential difference now between the source to drain. OR is it the full 12V that drives the circuit? Since the 5V delivered to gate pin is always there when the MOSFET is switched on.
Is there a difference if it's different sources of the different voltages, or if it's the same voltage source (via voltage limiter/divider). They will have the same ground in both cases.
This particular use case is a RAMPS 1.4 board and the pin D9 (Edit: wrong pin, D8 is the correct one, you should never rely on wet tissue memory for specifics) MOSFET I use to heat the bed. And the driving (gate?) pin can take the 5V to turn the MOSFET on either from USB or from the RAMPS power input (via Arduino voltage limiter).
This question is mainly for my knowledge base and not the cause of the problem I'm facing. I suspect a bad capacitor in the PSU is causing my power issues.
Edit: The MOSFET is IRL3034 Mouser and the load is 1.2 Ohms, And the gate voltage is +5V through a voltage divider at 10 Ohms and 100K to ground. So basically 4.6V. Ramps 1.4 schematic It's gate pin D8, and PS1/PS2 bed outputs, that my question specifically is about. The other outputs are connected through two capacitors in parallel to ground, so that complicates matters a tiny bit.
For my question this is irrelevant, since I am asking if the gate voltage supplied wouldn't interfere with the potential difference, because they share a common ground. If you have 5V on one side of a circuit and 12V on the other side, wouldn't that mean the circuit only have 7 "effective" volts? Just like voltage drops across resistors in series.
Maybe a better question is: if I inject 5V between two resistors (loads) in series that's driven by 12V, would the 5V Volts create a difference in the ampere across the resistor between 12V+ and 5V+? And isn't this analogues to my MOSFET question?

