Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
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?
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 06 Apr 2014Drain 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 06 Apr 2014im sorry I meant vu=5V(pin number 39) Vout=3.3V.. and rest of the input-output ports are at 2.2V
posted by 07 Apr 2014That 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 07 Apr 2014oh... 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 08 Apr 2014Hard 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 08 Apr 2014ok. thank you... does mbed board has any fuse kind of thing.. (just like we have a fuse in Arduino mega board)
posted by 08 Apr 2014