SparkFun Forums 

Where electronics enthusiasts find answers.

Have questions about a SparkFun product or board? This is the place to be.
By kkuepker
#27931
I was using the AT commands for the BlueSMiRF and placed it into autodetect master mode then used ATURST to perform a reset then powered down the module then powered back up to see if it would connect automatically to what i wanted but now nothing works. How do i perform a hardware reset to restore factory settings?
By pw
#30431
Hi There

I've just had the same problem. when I used the software reset 'ATURST' my whole BlueSM1RF board just died. Now I get no LEDs, etc.

Did you ever get an answer to your question and did you get the device working again?
By pelrun
#30630
You both were doing this over the BT connection, am I right? :)

The UART will still be working; you need to send the command "ATFRST" over it to unbrick the Smirf.

Either connect the Smirf to your PC serial port with a level-translator in between and use hyperterm, or program a PIC to send the command and wire it directly. I did the latter successfully.
By pw
#30660
Thanks for that pelrun

Makes a lot of sense now.

When you say level-translator are you talking about a TTL level shifter?

:)
By pw
#30752
:o
Well I have successfully communicated with my SMiRF device using UART and HyperTerminal.

I didn't need a level-translator, gender bender or null modem connection. It was just a straight cable. Usually you need a null modem connector as well but my unit has been wired for that change already.

I also did not have to use ATFRST to unbrick the SMiRF as it was still working away. That appears to have been the problem all along, that after I reset it as a master I lost all other BlueTooth comms with it. It was very deceptive as all the LEDs died and do not come on again in the Master mode.

Thanks for all the advice
By diegoagonzalez
#32599
what did you do to reset the bluesmirf?

I have one bluesmirf that it`s in automaster mode and if there is not slave present, always it replies "NO ANSWER" every 40 seconds, and there it`s not way to put this bluesmirf in command mode sending the +++ command by serial hyperteminal COM1, I need to reconfigure this Bluesmirf and make a ATFRST to let it with factory settings.
The inicial configuration for automaster was:
atsma,00A096179A83,1101
atsw25,1,1,0,0


I have a second Bluesmirf that it`s worst and right now it`s completly unuseful, I made this configuration:
> ATSW21,2560,11,2560,11
> ATSW25,0,1,1,0
> ATSW24,2,1,0,0
> ATSW20,10,1,0,1

ATSW21,2560,11,2560,11 //Change scan intervals thus decreasing the
power consumption from 48mA to 2mA before the module is connected
ATSW25,0,1,1,0 //Prevent communication before connected
i.e. after this command, you can reconfigure BlueSmiRF only when it
Is connected, and you get out of the data mode using the escape sequence. This is important, because the randomly
received and translated IR bytes will be ignored, and will not
accidentally reconfigure the module.
ATSW24,2,1,0,0 //Turn off verbal responses. This is
important, because otherwise the BlueSmiRF will be talking to the RCX
each time you open or
close the port (CONNECT, NO CARRIER strings). After this command, the
BlueSmiRF will output only
data.


I had posted the message of topic <Bluesmirf, Auto-Master problem with BlueRadio>
viewtopic.php?t=7352&highlight=


HELP, PLEASE !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

DIEGO GONZALEZ
By diegoagonzalez
#32601
EMAILS SENT TO SUPPORT OF SPARKFUN:


diego gonzalez wrote:
>
> Hi Level1,
> The Bluesmirf that connected doesn`t show any lights, I used the
> following comands to change the configuration, I don´t remember the
> order of those commands:
>
> ATSW21,2560,11,2560,11
> ATSW25,0,1,1,0
> ATSW24,2,1,0,0
> ATSW20,10,1,0,1
>
>
> To the Bluesmirf configured as Master I used the following comands in
> order:
> ATFRST
> ATSMA,00A09611FBBC,1101
> ATSW25,1,1,0,0
> //00A09611FBBC is the Slave direction.
>
>
> Thank you for your help.
>
> Diego Gonzalez
>
> ------------------------------------------------------------------------
>
> > Date: Mon, 9 Jul 2007 13:34:25 -0600
> > From: level1@sparkfun.com
> > To: diegoagonzalez@hotmail.com
> > Subject: Re: PLEASE SOME HELP ABOUT BLUESMIRF !!!!!!!!!!!!!!!!!
> >
> > Hi Diego,
> > Could you send me the exact set of commands you sent to the bluesmirf?
> >
> > diego gonzalez wrote:
> > > Hi Level1 of Sparkfun, I followed your instructions about the
> > > Bluesmirf configured as Master: "first just power up the module with
> > > no shorts in it, then open up hyperterminal at the 9600 baud rate
> with
> > > no flow control. Then type +++ and 1 "enter" character and let me
> know
> > > what happens."
> > >
> > > I did the test sending the commands from PC-COM1 <--> MAX232 <--> RX
> > > and TX BluesmiRF Master. there is no answer and if I send other
> > > command like AT, there is not answer too.
> > >
> > > When I did the test sending the commands from PC-COM1 <--> MAX232
> <-->
> > > RX and TX BluesmiRF Slave. there is no answer and if I send other
> > > command like AT or ATSI,2 , I get answers like OK or the name of my
> > > Bluesmirf.
> > >
> > >
> > > There is another thing that I didn`t mencion before, Using My
> > > Bluedongle and Bluesoleil , when I search for the Bluesmirf
> > > configured as Master this is detected for one second when I turn
> it on
> > > but when I try get service I get the answer "SERVICE DISCOVERY
> > > FAILED" so I refresh the searching and the Blusmirf is not detected
> > > again, It´s only detected when It´s turned on while the Bluesoleil
> > > program is searching for devices.
> > >
> > >
> > > About the other issue, the Bluesmirf that connected doesn`t show any
> > > lights, I used comands to change the configuration before to get that
> > > state, the command were:
> > >
> > > ATSW21,2560,11,2560,11 //Change scan intervals thus decreasing the
> > > power consumption from 48mA to 2mA before the module is connected
> > >
> > > ATSSN,UsarioSerial //Change service name (virtual serial
> > > port service)
> > > ATSW25,0,1,1,0 //Prevent communication before connected
> > > - i.e. after this command, you can reconfigure BlueSmiRF only when it
> > > is connected, and you
> > > get out of the data mode using the escape sequence. This is
> important,
> > > because the randomly
> > > received and translated IR bytes will be ignored, and will not
> > > accidentally reconfigure the module.
> > >
> > > ATSW24,2,1,0,0 //Turn off verbal responses. This is
> > > important, because otherwise the BlueSmiRF will be talking to the RCX
> > > each time you open or
> > > close the port (CONNECT, NO CARRIER strings). After this command, the
> > > BlueSmiRF will output only
> > > data.
> > >
> > > ATSW20,10,1,0,1 //Change communication parameters to RCX
> > > default: 2400-odd-1 and store them to flash.
> > >
> > > after I made this configuration I lost contact with the Bluesmirf.
> > >
> > > I hope this information give you the tools for get me a help with my
> > > problems, If there is not solution I will send you back the
> Bluesmirfs
> > > with problems using the returns policy exposed in
> > > http://www.sparkfun.com/commerce/return_policy.php.
> > >
> > >
> > > I apreciate your help.
> > >
> > >
> > > Diego Gonzalez.
> > >
> > >
> > >
> > >
> ------------------------------------------------------------------------
> > > > Date: Thu, 5 Jul 2007 12:52:53 -0600
> > > > From: level1@sparkfun.com
> > > > To: diegoagonzalez@hotmail.com
> > > > Subject: Re: FW: PLEASE SOME HELP ABOUT BLUESMIRF !!!!!!!!!!!!!!!!!
> > > >
> > > > Hi Diego,
> > > >
> > > > For your first problem can you just confirm something for me,
> > > > first just power up the module with no shorts in it, then open up
> > > > hyperterminal at the 9600 baud rate with no flow control. Then
> type +++
> > > > and 1 "enter" character and let me know what happens.
> > > >
> > > > for your second problem it seems that you have probably killed the
> > > > dongle. We can have a look at it but it is probably dead and you
> will
> > > > need to get a new one. If you would like to return it, please
> review
> > > the
> > > > returns policy here :
> http://www.sparkfun.com/commerce/return_policy.php
> > > >
> > > > Please note, depending on whether the device was altered or if
> it was a
> > > > manufacturing defect will determine if we can service your
> return. If
> > > > your order meets these requirements, please return the item to:
> > > >
> > > > Spark Fun Electronics
> > > > Atn: Returns
> > > > 2500 Central Ave.
> > > > Suite Q
> > > > Boulder, CO 80301
> > > >
> > > > Please include the original order # and a note about what the
> > > problem was.
> > > >
> > > > -Support
> > > >
> > > > diego gonzalez wrote:
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > >
> ------------------------------------------------------------------------
> > > > >
> > > > >
> > > > > Hi, I wrote you before ( 15 days a go) but I didn`t get any answer
> > > > > from you.
> > > > >
> > > > > I had posted two messages in your forum without an answer with the
> > > > > author "diegoagonzalez". This are the messages:
> > > > >
> > > > >
> > > > >
> > > > > **************************SECOND MESSAGE*************************
> > > > >
> > > > >
> > > > > Posted: Wed Jun 27, 2007 5:48 pm Post subject: Bluesmirf
> > > > > imposible to configure
> > > > >
> > > > >
> > > > > -----***FIRST PROBLEM***-----
> > > > > The situation:
> > > > > I have 3 Bluesmirf and learning how to use the master and slave
> > > > > configuration I get to made autoconnection configuring using my
> > > > > BlueDongle and the BLuesoleil software:
> > > > >
> > > > > ATDM,00A09611FBBC,1101
> > > > > ATSW25,1,1,0,0
> > > > > on my master, 00A09611FBBC is the Slave direction.
> > > > >
> > > > >
> > > > > Both, Master and Slave are working with the factory default baud
> > > > > rate.
> > > > > They autoconnect and the red led turn on in both and the slave can
> > > > > transmit data to the master, and if I use +++ I can to configure
> > > > > the slave settings.
> > > > >
> > > > > The Hardware configuration is:
> > > > > PC-COM1 <--> MAX232 <--> RX and TX BluesmiRF Master
> > > > > PC-COM2 <--> MAX232 <--> RX and TX BluesmiRF Slave
> > > > >
> > > > > The BIG PROBLEM (Number one) is that I want to get back My Master
> > > > > to Factory default settings but I can not access to it and make
> > > > > the ATFRST command, there is no response to any command (+++;
> > > > > ATUCL), The only thing I get is by my Hyperterminal COM1 is "NO
> > > > > ANSWER" every 40 seconds and my Blue Dongle dont detect the Master
> > > > > too.
> > > > >
> > > > > I have try to get access to master connecting RX with TX, and
> > > > > connecting RTS with CTS of the Bluesmirf, also try to reset
> > > > > manually by putting a 5v voltage on PIO 4, but nothing change. The
> > > > > normal state of the master if there is not a slave is flashing the
> > > > > green light and leaving the message "NO ANSWER" every 40 seconds
> > > > > on my COM1.
> > > > >
> > > > > -----***SECOND PROBLEM***-----
> > > > > Configuring one Bluesmirf I made some changes that I can not
> > > > > remember now, the thing is that when I turn it on non of leds
> > > > > (green or red) flash, The current goes down to 10 mA aproximatly.
> > > > > Nor using my bluedongle neighter using the RX and TX of the
> > > > > Bluesmirf to configure get to works, there is not answer to +++
> > > > > command by any way.
> > > > >
> > > > >
> > > > > PLEASE ANYONE HELP ME, IT´S FOR MY GRADUATION PROJECT!!!!!!!!!!!!!
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > **************************FIRST MESSAGE*************************
> > > > >
> > > > > Posted: Thu Jun 14, 2007 6:12 pm Post subject: Bluesmirf,
> > > > > Auto-Master problem with BlueRadio
> > > > >
> > > > >
> > > > >
> > > > > Hello,
> > > > >
> > > > > My name is Diego and I 'm from Cali, Colombia. I bought several
> > > > > Bluetooth Modem - BlueSMiRF from Spark Fun Electronics and I'm
> > > > > configuring the Bluetooth Modems using ATMP COMMANDS.
> > > > >
> > > > > The problem is that I configured a Bluetooth Modem to be as
> > > > > Auto-Master (ATSW25,1,1,0,0) but I forgot to put the ATSMA command
> > > > > with the Slave Address and the UUID, when I try to access the
> > > > > Bluetooth Modem using the serial RX and TX I 'm not getting any
> > > > > answer, I try also to using the +++ command from the Blue Dongle.
> > > > >
> > > > > Talking about power compsution when I turn on the Blueradio the
> > > > > Current is close to 40mA and after a few seconds (1 or 2) goes to
> > > > > almost 1mA or nothing.
> > > > >
> > > > > the version is 3.5.2.1.3.0. I tried putting 3.3V on PIO4 on the
> > > > > start up of the Blueradio, but everything continues like it was.
> > > > >
> > > > > I made the operation with other Bluetooth Modem as Master and I
> > > > > can get to comunicate to it using the serial RX and TX.
> > > > >
> > > > >
> > > > > What do I need to do?.. Anyone with the Same Problem?..
> > > > >
> > > > > Thank for your help, I will apreciate your answer
> > > > >
> > > > > *********************************
> > > > >
> > > > > Finally I measure the average current of my 3 Bluesmirfs:
> > > > >
> > > > > INPUT VOLTAGE 3.3V:
> > > > >
> > > > > Master Bluesmirf not connected (green light): 50mA
> > > > > Slave Bluesmirf not connected (green light): 50mA
> > > > > The Other Bluesmirf (no light): 10.34mA
> > > > >
> > > > > Master Bluesmirf connected to Slave(red light): 30mA
> > > > > Slave Bluesmirf connected to Master(red light): 18mA
> > > > >
> > > > > INPUT VOLTAGE 5V:
> > > > >
> > > > > Master Bluesmirf not connected (green light): 70mA
> > > > > Slave Bluesmirf not connected (green light): 58mA
> > > > > The Other Bluesmirf (no light): 14.4mA
> > > > >
> > > > > Master Bluesmirf connected to Slave(red light): 35mA
> > > > > Slave Bluesmirf connected to Master(red light): 21mA
> > > > >
> > > > >
> > > > > I'll apreciate a fast answer, thanks for your attention.
> > > > >
> > > > >
> > > > >
> > > > > Diego Alejandro Gonzalez
> > > > > University Javeriana
> > > > > Cali
> > > > > Colombia
By haroldocostabentes
#119056
hi,

i'm working with BlueSmirf in the UberBoard and i puted the BlueSmirf in Auto-connect (DTR Mode) and now, i can't make any thing, the module don't answer any thing too. I've already tried to send the command "ATFRST" but it continuous don't answer any thing.

PLEASE, can someone helpe me :?: :?: :?:

my e-mail is: jhcbj@hotmail.com

i'm needing help.....

P.S.: sorry for the wrong english :!: :!: :!: