I've finished a fun project using Sparkfun's bluesmirf bluetooth module and want to continue using it for my projects. Since I'm a poor student and the module is $65 I'm looking into seeing if its possible to be able to use it in multiple projects with just one module. What I do is use my cellphone to serial to the uC and the phone would display parse and properly display the data.
I made the simplest schematic of what I wanted.
What I'd like to do is make it that I can plug in and out the bluesmirf between projects while not having to power down the uC itself or damaging anything electrically.
Here is what I am trying to do:
if LED is off I can plug in module then hit SW1 and alert the uC that it needs to wakeup, set the proper properties for USART communication. Then set Q1 on, power bluesmirf wait 1 second, enable USART ISR. LED should be on now.
if LED is on hitting SW1 will turn turn off all the USART communication properties, disable USART ISR, turn off Q1, turn off LED. Sleep uC, remove the bluesmirf safely.
Will this work? One thing I am worried about is the forward voltage drop of the mosfet lowering the voltage the bluesmirf needs.
Thanks in advance