Legacy Forum: Preserving Nearly 20 Years of Community History - A Time Capsule of Discussions, Memories, and Shared Experiences.

BlueSMIRF - RN1 problem

Hitec robotics including ROBONOVA humanoid, HSR-8498HB servos, MR C-3024 Controllers and RoboBasic
2 postsPage 1 of 1
2 postsPage 1 of 1

BlueSMIRF - RN1 problem

Post by sascha » Tue Jul 03, 2007 9:05 pm

Post by sascha
Tue Jul 03, 2007 9:05 pm

Hi,
I run an RN1 connected to my PC via the BlueSMIRF Bluetooth Dongle.
I experience once in a while the problem, that a byte send from RN1 gets stuck. I could wait forever, but the byte is not being transmitted until I send another command which again sends an acknowledgment back to the PC. In this case I receive the previous as well as the new acknowledgment byte.
This happens only sometimes.
I assume the byte gets either stuck on the RN1 serial port buffer or the BlueSMIRF Dongle.
I tried to change the BlueSMIRF to "Fast Mode", but I'm not sure if it really works? I do not receive OK as a response.
Any ideas?

DELAY 5000



Character = "+"

ETX 9600, Character

DELAY 1000

Character = "+"

ETX 9600, Character

DELAY 1000

Character = "+"

ETX 9600, Character

DELAY 1000



Character = 13

ETX 9600, Character

DELAY 4000



Character = "A"

ETX 9600, Character

DELAY 1000

Character = "T"

ETX 9600, Character

DELAY 1000

Character = "M"

ETX 9600, Character

DELAY 1000

Character = "F"

ETX 9600, Character

DELAY 1000



Character = 13

ETX 9600, Character

DELAY 4000
Hi,
I run an RN1 connected to my PC via the BlueSMIRF Bluetooth Dongle.
I experience once in a while the problem, that a byte send from RN1 gets stuck. I could wait forever, but the byte is not being transmitted until I send another command which again sends an acknowledgment back to the PC. In this case I receive the previous as well as the new acknowledgment byte.
This happens only sometimes.
I assume the byte gets either stuck on the RN1 serial port buffer or the BlueSMIRF Dongle.
I tried to change the BlueSMIRF to "Fast Mode", but I'm not sure if it really works? I do not receive OK as a response.
Any ideas?

DELAY 5000



Character = "+"

ETX 9600, Character

DELAY 1000

Character = "+"

ETX 9600, Character

DELAY 1000

Character = "+"

ETX 9600, Character

DELAY 1000



Character = 13

ETX 9600, Character

DELAY 4000



Character = "A"

ETX 9600, Character

DELAY 1000

Character = "T"

ETX 9600, Character

DELAY 1000

Character = "M"

ETX 9600, Character

DELAY 1000

Character = "F"

ETX 9600, Character

DELAY 1000



Character = 13

ETX 9600, Character

DELAY 4000
sascha
Savvy Roboteer
Savvy Roboteer
User avatar
Posts: 29
Joined: Fri Nov 17, 2006 1:00 am

Data loss from bluetooth

Post by JavaRN » Thu Jul 05, 2007 10:45 am

Post by JavaRN
Thu Jul 05, 2007 10:45 am

I have the same problem like you I send the sensor readings to my pc in three digit format and sometimes they arrive in two-digits. Solving the problem for me wasn't difficult since instead of "054" I get a "540" reading and so all I do is to divide by ten when the first digit is not 0.
I have the same problem like you I send the sensor readings to my pc in three digit format and sometimes they arrive in two-digits. Solving the problem for me wasn't difficult since instead of "054" I get a "540" reading and so all I do is to divide by ten when the first digit is not 0.
F'dan il-passatemp ghandek bzonn zewg affarijiet - FLUS u HIN. Zewg affarijiet li huma skarsi hafna u li jien minnhom ghandi vera ftit!
JavaRN
Savvy Roboteer
Savvy Roboteer
User avatar
Posts: 282
Joined: Fri Mar 02, 2007 11:01 pm


2 postsPage 1 of 1
2 postsPage 1 of 1