12 years, 1 month ago.

is my mbed spoilt

hi all. I gave 5v to Vin of mbed and gave one of its terminal to gate f a mosfet directly.. after dis my mbed is not working... when I connect it to my pc everything works fine, i dump the program bt it doesn't run after I press reset key of the board.. middle led doesn't glow wen I press reset key, it glows only once when I connect it to my pc.. VOut is 5V.. and all other I/o ports are at logic high by default... how to conform is it spoilt or not?

1 Answer

12 years, 1 month ago.

You have an LPC1768 I see. Vin of the LPC1768 is allowed to have 5V (and significantly more). One of its pins connected directly to a mosfet also should not be a problem.

Did you try to disconnect your mbed from everything else, and then upload a simple blinking LED program?

Accepted Answer

yes... but it dint work...none of the programs are running.. drain of d mosfet was at 17V Dc wen I connected one of the digital out of mbed nxp lpc 1768 to the gate of mosfet. thanx..

posted by mbed nmamit 06 Apr 2014

Drain shouldn't matter, unless the mosfet was broken, then it can become a problem. In general I am also in favor of a not too large resistor between the mbed and the mosfet, but it still shouldn't break.

By the way, you say Vout is 5V, but that is supposed to be 3.3V.

posted by Erik - 06 Apr 2014

im sorry I meant vu=5V(pin number 39) Vout=3.3V.. and rest of the input-output ports are at 2.2V

posted by mbed nmamit 07 Apr 2014

That seems like a problem. The LPC1768 has two voltage regulators, one for Vout, the other one for the internal ICs. And by default it has pull-ups enabled on all pins. So if not a program is running which changes that, all pins should be 3.3V. That it is 2.2V is not a good sign.

posted by Erik - 07 Apr 2014

oh... so what does that mean? when all the switches are off the output must be 3.3V. if its not den it means switches are not proper right? but that must happen to only that pin which ws given to mosfet why all the pins are at 2.2V?

posted by mbed nmamit 08 Apr 2014

Hard to say, you could try if you can measure the supply voltage of the LPC1768, but for sure something is not going correctly.

posted by Erik - 08 Apr 2014

ok. thank you... does mbed board has any fuse kind of thing.. (just like we have a fuse in Arduino mega board)

posted by mbed nmamit 08 Apr 2014

I just checked what the arduino mega has, and the mbed has a similar protection, but limitting the current to 500mA from USB port (when powered from Vin that limitation does not exist), sadly does not stop most types of damage.

posted by Erik - 08 Apr 2014

even I was worried about the same thing, if its powered frm vin then it wont have amy protection. its ok.. thank you..

posted by mbed nmamit 09 Apr 2014