Thanks for the reply Inq I appreciate your thoughts
AHHH good to know on the Code placement... My bad will do that from now on. Thank you for that tidbit.
So I think you are correct it is my output giving the correct voltage to the mosfet... Im not very savvy when it comes to them and im just learning the Xiao chip.
Hey all i believe that resolved my issue. After doing more research and testing the P30N06LE mosfet, it will not work with the SEEED Xiao, on switch is at 5v. Circuit works as intended with a different MOSFET IRF530, IRF520N, IRF540 and IRF510. These have an on voltage of around 2.5 volts...
Sorry for not knowing what im doing and thank you all for you assistance. I am sure I will ask for help again.
Appreciate you all
Thanks again
Jamie
So, I'm curious where you got the MOSFET threshold range of 1-2 volts that you specify in post
Anything seems possible when you don't know what you're talking about.
Well thats my fault in 2 places, 1 was a misunderstanding from and article that i read about using the mosfet p30n06le in Arduino projects. The article said it was great "low voltage" Mosfet for Arduino projects, low voltage as in 5volts. Well, then I went to the datasheet and read the incorrect line. So rookie mistakes.
However, i have now learned how to test a Mosfet Gate to Open voltage, with my fancy new bench power supply. I tested the Mosfets right in the circuit.
Which all this was a pain for you guys to to read my nonsense (thank you all for that)... But a Learning moment for me...
Really appreciate you guys
Thanks Again
Jamie
Anything seems possible when you don't know what you're talking about.