Serial Bluetooth RF Transceiver Module RS232

priedo
Posts: 2
Joined: Mon Dec 19, 2011 4:22 pm

Re: Serial Bluetooth RF Transceiver Module RS232

Post by priedo »

Hi,
I also have the "linvor" slave chip with backboard. I was able to change the name using the AT+NAMEname command but still can't get it to respond to the AT+BAUDx command. To get the AT+NAMEname command to work I had to write code which wrote over and over again using an Arduino. I also tried connecting PIO11 to 5v with a pull-up resistor with no luck. Below is a link to the product I purchased. Thanks!
http://www.goodluckbuy.com/arduino-seri ... ssive.html

User avatar
Hamburger
Posts: 2578
Joined: Tue Mar 01, 2011 2:14 pm
Location: air
Contact:

Re: Serial Bluetooth RF Transceiver Module RS232

Post by Hamburger »

priedo wrote:Hi,
I also have the "linvor" slave chip with backboard.

did you read this viewtopic.php?f=6&t=133&p=1337&hilit=linvor#p1337

priedo
Posts: 2
Joined: Mon Dec 19, 2011 4:22 pm

Re: Serial Bluetooth RF Transceiver Module RS232

Post by priedo »

I did. I can't even get it to return ok. I saw your comment on programing it using code on an arduino. I was able to get the name to change but not the baud rate. Below is the code I was trying. I am a mechanical engineering student and am pretty new to all of this. Thanks for your help!

#include <SoftwareSerial.h>
#define rxPin 2
#define txPin 3

SoftwareSerial mySerial= SoftwareSerial(rxPin, txPin);

void setup()
{
Serial.begin(9600);
mySerial.begin(9600);
pinMode(rxPin, INPUT);
pinMode(txPin, OUTPUT);
}
void loop()
{
Serial.print("AT+BAUD8");
Serial.print(mySerial.read());
}

PatrikE
Posts: 1976
Joined: Tue Apr 12, 2011 6:35 pm
Location: Sweden
Contact:

Re: Serial Bluetooth RF Transceiver Module RS232

Post by PatrikE »

You change the Baudrate from 9600 to 115200 the BT.
Then you must change the baud on the softserial otherwise it will contine to read with 9.6K when BT sends with 52.1K.
Connect the BT to softserial port.

Code: Select all

#include <SoftwareSerial.h>
#define rxPin 2
#define txPin 3

SoftwareSerial mySerial= SoftwareSerial(rxPin, txPin);

void setup()
{
Serial.begin(9600);
mySerial.begin(9600);
pinMode(rxPin, INPUT);
pinMode(txPin, OUTPUT);
delay(1000);

mySerial.print("AT+BAUD8");
mySerial.begin(521100);
Serial.print(mySerial.read());
}
void loop()
{
Serial.print(mySerial.read());
}


/Patrik

User avatar
UndCon
Posts: 293
Joined: Mon Feb 21, 2011 2:10 pm

Re: Serial Bluetooth RF Transceiver Module RS232

Post by UndCon »

I get 0's from above code - is that correct?

I can change BAUD to what I want and I get AT OK but no confirmation on namechange

Borndelgramer
Posts: 2
Joined: Sat Dec 24, 2011 3:28 pm

Re: Serial Bluetooth RF Transceiver Module RS232

Post by Borndelgramer »

Hello,

today i try to connect my multicopter with my bluetooth-laptop. I get a connection to my laptop and even get a connection to my arduino software (control-monitor). But if I use the GUI and select the comport, the Gui shutdown. I do not now where is the problem. I set all parameter (baud rate 115200) with Putty. I even installed the Toshiba Software. Is this software a "musst have" to connect the copter with the GUI? If I installed this software, i get a popup: please connect your bluetooth device. I connect it but die SW can't find it. I pressed cancel and the install process was ready. Now, I am not shure if everything goes right. This is my modul:
http://www.ebay.de/itm/Serie-Bluetooth- ... 2a11dcdf55

regards max

User avatar
UndCon
Posts: 293
Joined: Mon Feb 21, 2011 2:10 pm

Re: Serial Bluetooth RF Transceiver Module RS232

Post by UndCon »

By the looks of all linked BT +boards mine is a bit different...I have a version with RESET BTN on and a few other components are also different...will order a new one to see if it helps

//UndCon

druckgott
Posts: 32
Joined: Mon May 02, 2011 8:47 pm

Re: Serial Bluetooth RF Transceiver Module RS232

Post by druckgott »

If you have problems to connect with a pc read here:
viewtopic.php?f=8&t=1055&p=7167&hilit=dll#p7167
Maybe the problem it´s only in windows 7

User avatar
UndCon
Posts: 293
Joined: Mon Feb 21, 2011 2:10 pm

Re: Serial Bluetooth RF Transceiver Module RS232

Post by UndCon »

Crap as I only have Win7 computers...(nice to have an MSDN license)

I never get the OK on AT+NAMEname...will wait for the new module to arrive and try with that one...

druckgott
Posts: 32
Joined: Mon May 02, 2011 8:47 pm

Re: Serial Bluetooth RF Transceiver Module RS232

Post by druckgott »

@UndCon if you change the baudrate bevor the name than you have to reconnect with the new baudrate

Do you get a ok on Command AT????

User avatar
UndCon
Posts: 293
Joined: Mon Feb 21, 2011 2:10 pm

Re: Serial Bluetooth RF Transceiver Module RS232

Post by UndCon »

yes I get OK on AT after changing to new baudrate

here is a picture of my 2 modules

http://undcon.com/rc/multiwii/bt.jpg

Here is how I connect BT to FTDI
http://undcon.com/rc/multiwii/ftdi-bt.jpg

(with this I get OK on AT and BAUD changes - but not on NAME)

//UndCon
Last edited by UndCon on Fri Dec 30, 2011 7:25 pm, edited 1 time in total.

kalle123
Posts: 106
Joined: Sun Oct 09, 2011 10:07 am

Re: Serial Bluetooth RF Transceiver Module RS232

Post by kalle123 »

That looks like a master BT modul to me.

From the Chinese web page:

New Bluetooth module with the host re-search button and status output pins, buttons on the module for the re-search button, press the button before the match to give up the search from the machine re-pairing from the machine, while ON / OFF / WAKE pin button leads to the foot, high by an external MCU output control module re-search, STATE state output pin for the LED, the output pulse is not connected, connect the output is high, by the MCU to determine the state.

For a BT communication you need a slave and a master module.

druckgott
Posts: 32
Joined: Mon May 02, 2011 8:47 pm

Re: Serial Bluetooth RF Transceiver Module RS232

Post by druckgott »

@UndCon Do you have a link there you bought the modul?

Maybe you can change it to slave via a command if its realy a master.
But I´m not shure if this work.

Maybe with:
AT+ROLE=(num), num: "0" for slave, "1" for master

User avatar
Hamburger
Posts: 2578
Joined: Tue Mar 01, 2011 2:14 pm
Location: air
Contact:

Re: Serial Bluetooth RF Transceiver Module RS232

Post by Hamburger »

UndCon wrote:By the looks of all linked BT +boards mine is a bit different...I have a version with RESET BTN on and a few other components are also different...will order a new one to see if it helps
//UndCon

what is the name your BT device can be seen (from PC or smartphone) originally? That name may tell us some more about your module.

User avatar
UndCon
Posts: 293
Joined: Mon Feb 21, 2011 2:10 pm

Re: Serial Bluetooth RF Transceiver Module RS232

Post by UndCon »

My modules were ordered from goodluckbuy
"Arduino Serial Bluetooth RF Transceiver Module with Backplane Item # 72232"

druckgott
Posts: 32
Joined: Mon May 02, 2011 8:47 pm

Re: Serial Bluetooth RF Transceiver Module RS232

Post by druckgott »

Hi,

here is the link:
http://www.goodluckbuy.com/arduino-seri ... lane-.html
it´s a "wrong" modul it´s a master module.

But I read you can change it with :"AT + ROLE = 0 r n" to slave than it should work
Last edited by druckgott on Mon Jan 02, 2012 10:03 am, edited 1 time in total.

User avatar
Hamburger
Posts: 2578
Joined: Tue Mar 01, 2011 2:14 pm
Location: air
Contact:

Re: Serial Bluetooth RF Transceiver Module RS232

Post by Hamburger »

sorry to not being clear enough.
I meant the name you can see in the BT dialog of your PC or smartphone when you try to discover/connect

User avatar
UndCon
Posts: 293
Joined: Mon Feb 21, 2011 2:10 pm

Re: Serial Bluetooth RF Transceiver Module RS232

Post by UndCon »

AT + ROLE = 0 r n seems not to work...

I don't know the full name as I have not yet tested it but I assume it was a "livnor" device

PatrikE
Posts: 1976
Joined: Tue Apr 12, 2011 6:35 pm
Location: Sweden
Contact:

Re: Serial Bluetooth RF Transceiver Module RS232

Post by PatrikE »

Short tutorial.

This is how it works for me.
I use Arduino Serial monitor.
Set up COM port number an 4800 BAUD

Print AT and press send.Response is OK
Image

Print AT+BAUD8 and press send.Response is OK115200
Image
Change portspeed to 115200

Print AT+NAMEQUAD
and press send.Response is OKsetname
Image


/Patrik

User avatar
UndCon
Posts: 293
Joined: Mon Feb 21, 2011 2:10 pm

Re: Serial Bluetooth RF Transceiver Module RS232

Post by UndCon »

yes I do the same but I get no OKsetname

PatrikE
Posts: 1976
Joined: Tue Apr 12, 2011 6:35 pm
Location: Sweden
Contact:

Re: Serial Bluetooth RF Transceiver Module RS232

Post by PatrikE »

If you have been able to change the baud to 115200 it will work with MWii.

Here's another command who changes the PinCode.
AT+PIN5555

User avatar
Hamburger
Posts: 2578
Joined: Tue Mar 01, 2011 2:14 pm
Location: air
Contact:

Re: Serial Bluetooth RF Transceiver Module RS232

Post by Hamburger »

apply power to the BT and use your PC to scan for the name.

Also try AT+NAME=newname

User avatar
UndCon
Posts: 293
Joined: Mon Feb 21, 2011 2:10 pm

Re: Serial Bluetooth RF Transceiver Module RS232

Post by UndCon »

Hi again!

I waited for the new module to arrive - this time it looks exactly like the one as earlier in thread and all AT commands works as expected.

I connected it to a Paris-board and it works as supposed.

I think I will try to modify the 2 others I have and see if they work...

Goodluckbuy messed up 2 orders for me now...this time I ordered a BT device (the one that works) and a Arduino LCD shield....I get a MultiWii serial LCD instead...

labelled "CRIUS MultiWii LCD"

Looks a bit odd and works odd as well compared to my Sparkfun LCD (letters are not in the correct position - but it works OK)

User avatar
UndCon
Posts: 293
Joined: Mon Feb 21, 2011 2:10 pm

Re: Serial Bluetooth RF Transceiver Module RS232

Post by UndCon »

A recap - did or did not Bluetooth worked with PPM (FRSKY in my case)

(Arduino pro mini and Paris board)

//UndCon

User avatar
speto_sk
Posts: 29
Joined: Sat Mar 05, 2011 7:32 am
Location: Slovak republic, Kosice

Re: Serial Bluetooth RF Transceiver Module RS232

Post by speto_sk »

Hi all,

I´m bought BT from DX.

http://www.dealextreme.com/p/jy-mcu-arduino-bluetooth-wireless-serial-port-module-104299

On pin34 (PIO11) I have +3V3. I used as terminal the Putty. Before connecting to terminal, led flashing. When I connecting module with PC (9600, 8, 1, N) led stop flasing, stay on. I wrote AT (as command) into Putty, but without response. What I do bad ? :idea:

Thanx for answer.


User avatar
speto_sk
Posts: 29
Joined: Sat Mar 05, 2011 7:32 am
Location: Slovak republic, Kosice

Re: Serial Bluetooth RF Transceiver Module RS232

Post by speto_sk »

Hi all,

thanx for answer, my BT runnig, I think that AT command can send via BT from my laptop, but this was fail. When I found this page:

http://item.taobao.com/item.htm?id=7323491777

I understand :idea: that I can send AT command via USB-UART connecting to BT modul. :mrgreen:
Last edited by speto_sk on Fri Jan 13, 2012 5:33 pm, edited 1 time in total.

User avatar
speto_sk
Posts: 29
Joined: Sat Mar 05, 2011 7:32 am
Location: Slovak republic, Kosice

Re: Serial Bluetooth RF Transceiver Module RS232

Post by speto_sk »


User avatar
speto_sk
Posts: 29
Joined: Sat Mar 05, 2011 7:32 am
Location: Slovak republic, Kosice

Re: Serial Bluetooth RF Transceiver Module RS232

Post by speto_sk »

BT modul with Linvor 1.5 firmware have very limited AT commands. Only this:

- AT
- AT+VERSION
- AT+NAME
- AT+PIN


, more info find here http://byron76.blogspot.com/

mehqui
Posts: 3
Joined: Mon Jan 16, 2012 3:55 am

Re: Serial Bluetooth RF Transceiver Module RS232

Post by mehqui »

Hi guys,

I'm doing a application for Android to send commands for this bluetooth module.
But i have some doubts...

I can see the responses of module when he is in AT mode perfectly, but i can't find the module in the list of available bluetooth devices....
When I change the AT mode to another mode, I can find the bluetooth module to connect via bluetooth, but the module doesn't responds the AT commands...
How to send commands for bluetooth module when he is paired with computer? For example, to turn on a Digital output...

I'm doing something wrong, I believe...

Thanks guys!

Congratulations by this forum!

User avatar
Hamburger
Posts: 2578
Joined: Tue Mar 01, 2011 2:14 pm
Location: air
Contact:

Re: Serial Bluetooth RF Transceiver Module RS232

Post by Hamburger »

you cannot configure the BT modules over BT.

mehqui
Posts: 3
Joined: Mon Jan 16, 2012 3:55 am

Re: Serial Bluetooth RF Transceiver Module RS232

Post by mehqui »

I understood, the AT mode is only avalilable in UART interface and to make the configurations.... it's ok...

But, after the configuration, How can I send a command (over BT) for the module to turn on a digital output?

For example, this guy has implemented what I'm trying to explain...
http://www.bitartist.org/2010/09/androi ... -lamp.html

He turn on a Lamp with mobile device, using bluetooth...
I need to do the same, without another devices... for example, Arduino hardware or similars....

thanks...

User avatar
Hamburger
Posts: 2578
Joined: Tue Mar 01, 2011 2:14 pm
Location: air
Contact:

Re: Serial Bluetooth RF Transceiver Module RS232

Post by Hamburger »

you must somehow create a bit sequence (highs and lows) on the tx pin of the sending BT. Maybe a simple push button switch will do.
If all goes well, this can be detected on the receiving BT side as some available data.
What are you trying to achieve?

mehqui
Posts: 3
Joined: Mon Jan 16, 2012 3:55 am

Re: Serial Bluetooth RF Transceiver Module RS232

Post by mehqui »

I need to do the same than video above...
But using the configurable digital outputs of module...
I cannot use the configurable digital outputs to do the same?
I need to put some microcontroller to receive the commands?

jakkelas
Posts: 1
Joined: Thu Feb 16, 2012 2:59 pm

Re: Serial Bluetooth RF Transceiver Module RS232

Post by jakkelas »

@UndCon, did you ever get the LinvorV1.5 module to work?

There seem to be 3 types from Goodluckbuy:
#72232 http://www.goodluckbuy.com/arduino-serial-bluetooth-rf-transceiver-module-rs232-with-backplane-.html (Master)
#72231 http://www.goodluckbuy.com/arduino-serial-bluetooth-rf-transceiver-module-rs232-passive.html (Slave)
#71686 http://www.goodluckbuy.com/serial-bluetooth-rf-transceiver-module-rs232-w-backplane-enable-and-state-pin-1.html

Unfortunately I got the #72232 Master which won't respond to AT+NAMExxx command and doesn't show up on my bluetooth devices.

User avatar
captaingeek
Posts: 228
Joined: Fri Jan 28, 2011 6:42 pm

Re: Serial Bluetooth RF Transceiver Module RS232

Post by captaingeek »

is it possible to use the config / gui over bluetooth?

nosepro you should update the original post with relevant links to save everyone a lot of time in searching through this thread.

fred_fr
Posts: 3
Joined: Mon Aug 29, 2011 6:49 pm

Re: Serial Bluetooth RF Transceiver Module RS232

Post by fred_fr »

hi

we use thes bluetooth adapter : http://flyduino.net/Serial-Bluetooth-Adapter-PlugnPlay-for-Android-App.

Its works fine we MW-WINGUI interface.

You can see more informations : http://mwc-fr.wikispaces.com/Bluetooth ( sorry in french)

fred
Last edited by fred_fr on Tue Mar 27, 2012 7:25 pm, edited 1 time in total.

User avatar
Hamburger
Posts: 2578
Joined: Tue Mar 01, 2011 2:14 pm
Location: air
Contact:

Re: Serial Bluetooth RF Transceiver Module RS232

Post by Hamburger »

captaingeek wrote:is it possible to use the config / gui over bluetooth?

yes, everything but uploading new firmware.
For more info on BT module setup, look here viewtopic.php?f=6&t=373

User avatar
aBUGSworstnightmare
Posts: 115
Joined: Mon Jun 27, 2011 8:31 pm
Location: Munich, Germany

Re: Serial Bluetooth RF Transceiver Module RS232

Post by aBUGSworstnightmare »

Hi,

I have problems in pairing my Samsung Galaxy ACE (S5830) with a Sparkfun Roving Networks RN-42 based Bluetooth Mate Silver (http://www.sparkfun.com/products/10393).

Did anybody manage to get this combinations working for use with the Android multiWii configurator? I'm not able to discover the module.
The Bluetooth Mate works perfect when using it with my PC!

Rgds
aBUGSworstnightmare

Cronalex
Posts: 51
Joined: Tue Mar 20, 2012 8:41 pm

Re: Serial Bluetooth RF Transceiver Module RS232

Post by Cronalex »

Hello everyone I have a problem with crius SE second module is the "Serial Bluetooth RF Transceiver Module RS232" after a while I use gives me problems. connects to the phone but did not receive anything ... is the second module I is burned in this way ... I can only connect ... more why?

User avatar
Hamburger
Posts: 2578
Joined: Tue Mar 01, 2011 2:14 pm
Location: air
Contact:

Re: Serial Bluetooth RF Transceiver Module RS232

Post by Hamburger »

aBUGSworstnightmare wrote:Hi,

I have problems in pairing my Samsung Galaxy ACE (S5830) with a Sparkfun Roving Networks RN-42 based Bluetooth Mate Silver (http://www.sparkfun.com/products/10393).

Did anybody manage to get this combinations working for use with the Android multiWii configurator? I'm not able to discover the module.
The Bluetooth Mate works perfect when using it with my PC!

Rgds
aBUGSworstnightmare


sorry for answering too late.
As an alternate test you could compile in vt100 support and install blueterm app on your android. It gives about the same options without graphics. At least it should tell you if the BT connection works.

User avatar
Hamburger
Posts: 2578
Joined: Tue Mar 01, 2011 2:14 pm
Location: air
Contact:

Re: Serial Bluetooth RF Transceiver Module RS232

Post by Hamburger »

Cronalex wrote:Hello everyone I have a problem with crius SE second module is the "Serial Bluetooth RF Transceiver Module RS232" after a while I use gives me problems. connects to the phone but did not receive anything ... is the second module I is burned in this way ... I can only connect ... more why?

It is broken or everything needs a power cycle to work again?

Cronalex
Posts: 51
Joined: Tue Mar 20, 2012 8:41 pm

Re: Serial Bluetooth RF Transceiver Module RS232

Post by Cronalex »

Hamburger wrote:
Cronalex wrote:Hello everyone I have a problem with crius SE second module is the "Serial Bluetooth RF Transceiver Module RS232" after a while I use gives me problems. connects to the phone but did not receive anything ... is the second module I is burned in this way ... I can only connect ... more why?

It is broken or everything needs a power cycle to work again?

led lit connects fixed but does not receive anything even if I connect to the pc ... What do I do??

User avatar
Hamburger
Posts: 2578
Joined: Tue Mar 01, 2011 2:14 pm
Location: air
Contact:

Re: Serial Bluetooth RF Transceiver Module RS232

Post by Hamburger »

so it did work but not anymore now?
Then it is probably broken. If you cannot otherwise test, simply buy a new one is easiest

Cronalex
Posts: 51
Joined: Tue Mar 20, 2012 8:41 pm

Re: Serial Bluetooth RF Transceiver Module RS232

Post by Cronalex »

Hamburger wrote:so it did work but not anymore now?
Then it is probably broken. If you cannot otherwise test, simply buy a new one is easiest

but is the second in a month :(

User avatar
Hamburger
Posts: 2578
Joined: Tue Mar 01, 2011 2:14 pm
Location: air
Contact:

Re: Serial Bluetooth RF Transceiver Module RS232

Post by Hamburger »

then you have a bigger problem? Maybe voltage is wrong. Many BT modules run at 3.3V. Some come soldered on a backplane with 5V to 3V3 regulator. The TX/RX lines may not be transformed to the other voltage level. I have several BT with backplanes working for more than 1 year.

Cronalex
Posts: 51
Joined: Tue Mar 20, 2012 8:41 pm

Re: Serial Bluetooth RF Transceiver Module RS232

Post by Cronalex »

So what do I do?

kalle123
Posts: 106
Joined: Sun Oct 09, 2011 10:07 am

Re: Serial Bluetooth RF Transceiver Module RS232

Post by kalle123 »

Cronalex wrote:So what do I do?


So what DID YOU do?

Have several BT master and slave modules here in operation. No issue at all.

Deepu
Posts: 7
Joined: Mon May 07, 2012 4:08 am

Re: Serial Bluetooth RF Transceiver Module RS232

Post by Deepu »

Hey Guys, so much data and explanations along with schematics can be found in this link, it is in Chinese but Google translation gives a pretty descent content which is understandable
http://item.taobao.com/item.htm?id=9812432239

User avatar
mOuchadino
Posts: 15
Joined: Sat Jul 07, 2012 3:51 am

Re: Serial Bluetooth RF Transceiver Module RS232

Post by mOuchadino »

:D :D :D work fine on bt mini dongle on win7 cius.se updated by f.ware 2.1

http://www.youtube.com/watch?v=5c-zEHJKiE4

:mrgreen:

Post Reply