
I have an electrical circuit in the above image. When I turn on Digital Pin 3 (IO3) of Arduino to switch on Mosfet IRF3205 ,the voltage values measured at Drain and Source pin of Mosfet IRF3205 are 1.5V and 0.79V respectively as simulated using Proteus . But in practice , when I connected Arduino and Mosfet on test board like the electrical circuit in Proteus file , the voltage value at Mosfet Drain when Digital Pin 3 is turned on is not 1.5V, it was reduced to 0.2V which leads to voltage at Mosfet Source around 0 V.
My aim is to measure exactly the voltage at Source pin of Mosfet to calculate the resistor R8, it works well with Proteus simulation but in practice it’s so different . I heard once that Proteus doesn’t simulate correctly the operation of Arduino ???
Please give me some advice on this. Thanks.
The following text is the code uploaded to Arduino .
void setup()
{ // put your setup code here, to run once:
pinMode(3, OUTPUT);
}
void loop()
{ // put your main code here, to run repeatedly:
digitalWrite(3, HIGH);
delay(1000);
digitalWrite(3, LOW);
delay(1000);
}