Forum >SoftwareSerial can not work with bluno v1.5
SoftwareSerial can not work with bluno v1.5

i test the softwareSerial libraries in bluno v1.5. my ide: arduino 1.0.5
the code from [url=http://arduino.cc/en/Reference/SoftwareSerial#.UwGGF_mSyjM]http://arduino.cc/en/Reference/SoftwareSerial#.UwGGF_mSyjM[/url]
[code]
#include <SoftwareSerial.h>
SoftwareSerial mySerial(10, 11); // RX, TX
void setup()
{
// Open serial communications and wait for port to open:
Serial.begin(9600);
while (!Serial) {
; // wait for serial port to connect. Needed for Leonardo only
}
Serial.println("Goodnight moon!");
// set the data rate for the SoftwareSerial port
mySerial.begin(9600);
mySerial.println("Hello, world?");
}
void loop() // run over and over
{
if (mySerial.available())
Serial.write(mySerial.read());
if (Serial.available())
mySerial.write(Serial.read());
}
[/code]
According the code, i open the serialport , just see the log "Goodnight moon!", why the soft serial port cannot receive singal?
the code from [url=http://arduino.cc/en/Reference/SoftwareSerial#.UwGGF_mSyjM]http://arduino.cc/en/Reference/SoftwareSerial#.UwGGF_mSyjM[/url]
[code]
#include <SoftwareSerial.h>
SoftwareSerial mySerial(10, 11); // RX, TX
void setup()
{
// Open serial communications and wait for port to open:
Serial.begin(9600);
while (!Serial) {
; // wait for serial port to connect. Needed for Leonardo only
}
Serial.println("Goodnight moon!");
// set the data rate for the SoftwareSerial port
mySerial.begin(9600);
mySerial.println("Hello, world?");
}
void loop() // run over and over
{
if (mySerial.available())
Serial.write(mySerial.read());
if (Serial.available())
mySerial.write(Serial.read());
}
[/code]
According the code, i open the serialport , just see the log "Goodnight moon!", why the soft serial port cannot receive singal?
2014-05-27 16:42:02 Yeah I just realised that yesterday, and I had no idea where does this post located at until you replied. Haha.
visualxl

2014-05-27 02:53:26 [quote="visualxl"]Oh that was because the BLUNO Serial is already occupied to get data for BLE. So, if I have 2 BLUNOs. One is set as a CENTRAL, whereby another one is set as PERIPHERAL, CENTRAL is not able to get the RSSI.
[/quote]
Why not? BLE data is RSSI as well
[quote="visualxl"]
So, I was thinking of making the PERIPHERAL to send the RSSI values to the CENTRAL. Prior to 1.8, upgrade I have no idea on how to do this. So, right now, I am thinking of exiting the AT mode programmatically, before I could send the RSSI values to the CENTRAL.
You think that would work? Or by any chance, is there an update that allows CENTRAL to retrieve RSSI values as well?
[/quote]
1.8 allows for RSSI request by AT commands on both CENTRAL and peripheral.
Jose
[/quote]
Why not? BLE data is RSSI as well
[quote="visualxl"]
So, I was thinking of making the PERIPHERAL to send the RSSI values to the CENTRAL. Prior to 1.8, upgrade I have no idea on how to do this. So, right now, I am thinking of exiting the AT mode programmatically, before I could send the RSSI values to the CENTRAL.
You think that would work? Or by any chance, is there an update that allows CENTRAL to retrieve RSSI values as well?
[/quote]
1.8 allows for RSSI request by AT commands on both CENTRAL and peripheral.

2014-05-23 20:28:25 Grey/Jose,
Oh that was because the BLUNO Serial is already occupied to get data for BLE. So, if I have 2 BLUNOs. One is set as a CENTRAL, whereby another one is set as PERIPHERAL, CENTRAL is not able to get the RSSI.
So, I was thinking of making the PERIPHERAL to send the RSSI values to the CENTRAL. Prior to 1.8, upgrade I have no idea on how to do this. So, right now, I am thinking of exiting the AT mode programmatically, before I could send the RSSI values to the CENTRAL.
You think that would work? Or by any chance, is there an update that allows CENTRAL to retrieve RSSI values as well?
visualxl
Oh that was because the BLUNO Serial is already occupied to get data for BLE. So, if I have 2 BLUNOs. One is set as a CENTRAL, whereby another one is set as PERIPHERAL, CENTRAL is not able to get the RSSI.
So, I was thinking of making the PERIPHERAL to send the RSSI values to the CENTRAL. Prior to 1.8, upgrade I have no idea on how to do this. So, right now, I am thinking of exiting the AT mode programmatically, before I could send the RSSI values to the CENTRAL.
You think that would work? Or by any chance, is there an update that allows CENTRAL to retrieve RSSI values as well?

2014-05-16 20:54:16 Long time no see Visualxl!
As far as I know the bluetooth is attached directly to the Serial port on BLUNO,
So there is no need of software serial. If you are trying to change the serial pins of BLUNO somewhat to have another serial won't work, there is no pinout mapped for the serial. You can however, use software serial on any other pin and wire it up as you would with any Arduino.
Jose
As far as I know the bluetooth is attached directly to the Serial port on BLUNO,
So there is no need of software serial. If you are trying to change the serial pins of BLUNO somewhat to have another serial won't work, there is no pinout mapped for the serial. You can however, use software serial on any other pin and wire it up as you would with any Arduino.

2014-05-16 18:30:58 Hello visualxl
What is your mean of " communicate with another BLUNO with software serial port"
Or could you tell me what you want to do with the device?
Grey.CC
What is your mean of " communicate with another BLUNO with software serial port"
Or could you tell me what you want to do with the device?

2014-02-18 22:41:33 [quote="Grey"]
Hello,
It is a little complicated. The software serial port has some limits.
You could try this code.
[code]#include <SoftwareSerial.h>
SoftwareSerial mySerial(10, 11); // RX, TX
char in;
void setup()
{
Serial.begin(9600); // set the data rate for the SoftwareSerial port
mySerial.begin(9600);
}
void loop() // run over and over
{
mySerial.println("123456789");
if (Serial.available()>0)
{
in=Serial.read();
Serial.println(in);
delay(1000);
}
}
[/code]
With a jumper wire connecting Pin11(TX) to Pin0(RX).
Software serial port send data, serial receive it and output it.
[/quote]
hello Grey, thanks your answer. in fact , I made a stupid mistake... in my code, my pin 10,11 had not connected any devices.
z1621
Hello,
It is a little complicated. The software serial port has some limits.
You could try this code.
[code]#include <SoftwareSerial.h>
SoftwareSerial mySerial(10, 11); // RX, TX
char in;
void setup()
{
Serial.begin(9600); // set the data rate for the SoftwareSerial port
mySerial.begin(9600);
}
void loop() // run over and over
{
mySerial.println("123456789");
if (Serial.available()>0)
{
in=Serial.read();
Serial.println(in);
delay(1000);
}
}
[/code]
With a jumper wire connecting Pin11(TX) to Pin0(RX).
Software serial port send data, serial receive it and output it.
[/quote]
hello Grey, thanks your answer. in fact , I made a stupid mistake... in my code, my pin 10,11 had not connected any devices.

2014-02-17 23:44:07 Hello,
It is a little complicated. The software serial port has some limits.
You could try this code.
[code]#include <SoftwareSerial.h>
SoftwareSerial mySerial(10, 11); // RX, TX
char in;
void setup()
{
Serial.begin(9600); // set the data rate for the SoftwareSerial port
mySerial.begin(9600);
}
void loop() // run over and over
{
mySerial.println("123456789");
if (Serial.available()>0)
{
in=Serial.read();
Serial.println(in);
delay(1000);
}
}
[/code]
With a jumper wire connecting Pin11(TX) to Pin0(RX).
Software serial port send data, serial receive it and output it.
Grey.CC
It is a little complicated. The software serial port has some limits.
You could try this code.
[code]#include <SoftwareSerial.h>
SoftwareSerial mySerial(10, 11); // RX, TX
char in;
void setup()
{
Serial.begin(9600); // set the data rate for the SoftwareSerial port
mySerial.begin(9600);
}
void loop() // run over and over
{
mySerial.println("123456789");
if (Serial.available()>0)
{
in=Serial.read();
Serial.println(in);
delay(1000);
}
}
[/code]
With a jumper wire connecting Pin11(TX) to Pin0(RX).
Software serial port send data, serial receive it and output it.
