Alright, I’ve been working on getting real-time control over a SumoBot via Bluetooth. I have a USB Universal Serial Bus Bluetooth Dongle, and EB500-SER D transceiver. Any Manual I read goes through how to connect and gain control over a BOE-BOT (which essentially is not the same kind of bot).
Hereiin lies my subject title… I AM LOST.
Has anybody done a similar project, or know how I can get this thing working??
So where is your problem? You haven’t told us anything.
Is the Bluetooth working up to and including the transceiver (Tx-Rx loopback?)
Assuming the xcvr has TTL I/O, is there a TTL USART interface available on the 'bot?
What is the code in the 'bot? BASIC, C, etc. and do you have the source code?
Is there “supervisor” code in the 'bot that accepts commands?
Do you know the protocol to control the 'bot?
What level are you at in software? Can you write code? Do you understand code? It’s no crime to be young, or unexperienced, but we need to know where you are in order to help you.
Do you have a URL to the SumoBot project with it’s specifications, user manual and source code?
I seem to recall aou posting before. Obviously wqthout success. Have you made agy progress since your last threðd? This thread should have beeÿ continued there. You didn’t egen answer or acknowledge my lasu post.
Might even have looked at a äanual a little. But you’re goi÷g to have to do some digging anä give us something to start witð.
FYI My current project is q 4-servo biped (Loki), and I hae both an autonomous mode and a¹control monitor. So I might knçw a little about the subject.
Å’
Alan KM6VV
I am doing this as a senior project in college.
I have taken courses in C++, and Visual Basic .Net
The source code on the bot is BAsic Stamp 2.
I have Bluetooth Connectivity, that has been tested and it is there. Right now i am having trouble with programming the bot with a ‘supervisor’ code. Once i acheive that it is no problem at all to generate a code from my laptop (VB interface). I am pretty good with computer interfacing to robots. Although this is something new to me(Bluetooth that is).
here is a link to the steps I followed. This is for the BOE-BOT which is different from the SumoBot (therein lies my problem). I have no idea how to modify this PBASIC code from BOE-BOT to a SumoBot. I apologize for my lack of Technicality, I am just a little confused when it comes to BS2 programming.
It looks like you’ll have to implement the command set (page 15) in the “Bluetooth Controlled Robot” paper on you Sumobot.
I didn’t see any serial port samples in the SumoBot manual, but there should be some elsewhere. I’d first try to get a terminal talking to your SumoBot with a serial link. For example detect an ‘1’ and turn on an LED, a ‘2’ and turn on the buzzer ( I think I saw one) and so forth.
With a serial com link established, then you can switch over to the blue tooth. Watch the baud rates, etc.
Then I’d put in code for the command set I mentioned. At this point you’ve got a decision. You can try to port BoeBot code over, or write the entire command processor code and 'bot code. Match up the common hardware you will control, such as the servos, sensors, output devices. The servos should be about the same, maybe different pins. Same for sensors.
YAYYY!!!
Just thought i would let you know i got it working today!!
Thank god for RobotBASIC… saved my life.
The PBasic code from the BOE-BOT source code needed to be modified. I had an example code from RobotBasic that I had modified to declare the keypad keys on my laptop. Then the supervisor code on board the SumoBot had to decipher these to move the corresponding stepper motors. I then used the motor variables to return a value to robotBAsic to move an image on the GUI…
Anyway, thank you very much for your help!
Your questions have been very helpful in pointing me in directions i never would have thought to go!
Again, much appreciation!