Society of Robots - Robot Forum

Electronics => Electronics => Topic started by: emmannuel on August 06, 2008, 04:21:50 PM

Title: For you electronics gurus..
Post by: emmannuel on August 06, 2008, 04:21:50 PM
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
Title: Re: For you electronics gurus..
Post by: emmannuel on August 06, 2008, 05:01:03 PM
woops forgot to post the schematic :P
Title: Re: For you electronics gurus..
Post by: Admin on August 10, 2008, 07:14:28 PM
Quote
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.
Hmmmm you can just plug and unplug it, nothing bad will happen.