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

Remote control across a web page

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

Remote control across a web page

Post by Onime_No_Kyo » Tue Jun 19, 2007 2:47 pm

Post by Onime_No_Kyo
Tue Jun 19, 2007 2:47 pm

Hello friends, I am making a PFC which consists of doing learning for people who this learning robotica or that it likes.
The PFC is divided in 2 parts:
1-Robonova with the bluetooth module for control it remotely.
2- Web page in java with bluetooth library to be able to connect to me with the robot.
The problem that I have is with the protocol that if I can send directly BASIC code or I must pass it through packages with the protocol bluetooth. I have looked for informarcion on this if you knows something or has another idea of like doing agradeceria much. Thanks.
Hello friends, I am making a PFC which consists of doing learning for people who this learning robotica or that it likes.
The PFC is divided in 2 parts:
1-Robonova with the bluetooth module for control it remotely.
2- Web page in java with bluetooth library to be able to connect to me with the robot.
The problem that I have is with the protocol that if I can send directly BASIC code or I must pass it through packages with the protocol bluetooth. I have looked for informarcion on this if you knows something or has another idea of like doing agradeceria much. Thanks.
Onime_No_Kyo
Newbie
Newbie
Posts: 5
Joined: Tue Jun 19, 2007 2:45 pm

Post by Gort » Tue Jun 19, 2007 9:50 pm

Post by Gort
Tue Jun 19, 2007 9:50 pm

What is the web page for again? Are you going to control the RN with it?
What is the web page for again? Are you going to control the RN with it?
Gort
Savvy Roboteer
Savvy Roboteer
User avatar
Posts: 555
Joined: Wed May 31, 2006 1:00 am
Location: KC, MO, USA

Re: Remote control across a web page

Post by Pev » Tue Jun 19, 2007 11:06 pm

Post by Pev
Tue Jun 19, 2007 11:06 pm

Onime_No_Kyo wrote:Hello friends, I am making a PFC which consists of doing learning for people who this learning robotica or that it likes.
The PFC is divided in 2 parts:
1-Robonova with the bluetooth module for control it remotely.
2- Web page in java with bluetooth library to be able to connect to me with the robot.
The problem that I have is with the protocol that if I can send directly BASIC code or I must pass it through packages with the protocol bluetooth. I have looked for informarcion on this if you knows something or has another idea of like doing agradeceria much. Thanks.


Probably the easiest way is to send a single byte to trigger a motion/routine. That is pretty easy and the basis for my Bluetooth control apps. The basic template is on my website if you want to check it out, just download either RoboControl PPc or BioBlue PC

Pev
Onime_No_Kyo wrote:Hello friends, I am making a PFC which consists of doing learning for people who this learning robotica or that it likes.
The PFC is divided in 2 parts:
1-Robonova with the bluetooth module for control it remotely.
2- Web page in java with bluetooth library to be able to connect to me with the robot.
The problem that I have is with the protocol that if I can send directly BASIC code or I must pass it through packages with the protocol bluetooth. I have looked for informarcion on this if you knows something or has another idea of like doing agradeceria much. Thanks.


Probably the easiest way is to send a single byte to trigger a motion/routine. That is pretty easy and the basis for my Bluetooth control apps. The basic template is on my website if you want to check it out, just download either RoboControl PPc or BioBlue PC

Pev
Carl
-------------------------
www.alt-view.co.uk
Pev
Savvy Roboteer
Savvy Roboteer
User avatar
Posts: 547
Joined: Sun Feb 26, 2006 1:00 am
Location: UK

Post by Onime_No_Kyo » Tue Jun 19, 2007 11:09 pm

Post by Onime_No_Kyo
Tue Jun 19, 2007 11:09 pm

Gort
I have to do a project which consists on doing a web page for managing the RN directly with an applet or something that it could put in the web page. The RN has the module of bluetooth, what i dont know is how to send orders from the applet to the RN, I know that java has a library for bluetooth but i dont know how to send the commands, i mean, if i can send them directly in basic or have to send him in the form of packages orientated to the protocol bluetooth.

Thank you for answering and for contributing new ideas
Gort
I have to do a project which consists on doing a web page for managing the RN directly with an applet or something that it could put in the web page. The RN has the module of bluetooth, what i dont know is how to send orders from the applet to the RN, I know that java has a library for bluetooth but i dont know how to send the commands, i mean, if i can send them directly in basic or have to send him in the form of packages orientated to the protocol bluetooth.

Thank you for answering and for contributing new ideas
Onime_No_Kyo
Newbie
Newbie
Posts: 5
Joined: Tue Jun 19, 2007 2:45 pm

Post by Onime_No_Kyo » Tue Jun 19, 2007 11:34 pm

Post by Onime_No_Kyo
Tue Jun 19, 2007 11:34 pm

Thank you Pev, i appreciate your help and its very useful for me, the problem is that I am new in using java with bluetooth, i know more or less how to connect the device but i dont know how to send bytes by java commands . I would really appreciate your help, and others as well
Thank you Pev, i appreciate your help and its very useful for me, the problem is that I am new in using java with bluetooth, i know more or less how to connect the device but i dont know how to send bytes by java commands . I would really appreciate your help, and others as well
Onime_No_Kyo
Newbie
Newbie
Posts: 5
Joined: Tue Jun 19, 2007 2:45 pm

Post by Gort » Wed Jun 20, 2007 12:15 am

Post by Gort
Wed Jun 20, 2007 12:15 am

I wish that robobasic had a evaluate statement. I think all that you would need to do is send a three byte number to the robot. Then have a If else statement to send it to the action to preform. I have alwas wonder if we need all this key1: through key40: or kk1: through kk40: statements. Can we just have a
MAIN:

Retry:
ERX 9600, RxIn, Retry

IF 1 THEN
GOSUB
ELSEIF 2 THEN
GOSUB
ELSEIF 3 THEN
GOSUB
*
* TO ELSEIF AS MANY NUMBERS AS YOU
*HAVE ROUTINES
*
ELSEIF 999 THEN
GOSUB
ELSE
(DEFAULT ROUTINE OR SOUND OR FLASHING LIGHT)

END-IF

GOTO MAIN:
I wish that robobasic had a evaluate statement. I think all that you would need to do is send a three byte number to the robot. Then have a If else statement to send it to the action to preform. I have alwas wonder if we need all this key1: through key40: or kk1: through kk40: statements. Can we just have a
MAIN:

Retry:
ERX 9600, RxIn, Retry

IF 1 THEN
GOSUB
ELSEIF 2 THEN
GOSUB
ELSEIF 3 THEN
GOSUB
*
* TO ELSEIF AS MANY NUMBERS AS YOU
*HAVE ROUTINES
*
ELSEIF 999 THEN
GOSUB
ELSE
(DEFAULT ROUTINE OR SOUND OR FLASHING LIGHT)

END-IF

GOTO MAIN:
Gort
Savvy Roboteer
Savvy Roboteer
User avatar
Posts: 555
Joined: Wed May 31, 2006 1:00 am
Location: KC, MO, USA

Post by Onime_No_Kyo » Wed Jun 20, 2007 8:25 am

Post by Onime_No_Kyo
Wed Jun 20, 2007 8:25 am

As I have understood I have to send a few bytes of the form:
4 |-1|Bow | 1 -> Contributed for Pev
That is to say, to make simple routines to send only this package me would recognize it and would execute the action. Am I in the certain thing?
As I have understood I have to send a few bytes of the form:
4 |-1|Bow | 1 -> Contributed for Pev
That is to say, to make simple routines to send only this package me would recognize it and would execute the action. Am I in the certain thing?
Onime_No_Kyo
Newbie
Newbie
Posts: 5
Joined: Tue Jun 19, 2007 2:45 pm

See other thread

Post by JavaRN » Wed Jun 20, 2007 9:16 pm

Post by JavaRN
Wed Jun 20, 2007 9:16 pm

I posted a reply relating also to this topic, see http://robosavvy.com/forum/viewtopic.php?t=1394

Hope this helps

Regards
Charles
I posted a reply relating also to this topic, see http://robosavvy.com/forum/viewtopic.php?t=1394

Hope this helps

Regards
Charles
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


8 postsPage 1 of 1
8 postsPage 1 of 1