Shop OBEX P1 Docs P2 Docs Learn Events
My current BoeBot project, wireless controll. - Page 2 — Parallax Forums

My current BoeBot project, wireless controll.

2»

Comments

  • Martin_vLMartin_vL Posts: 18
    edited 2005-12-19 16:55
    Kim

    Can you explane what your project is? What do you want to do whit your sumobot?

    Martin

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
  • JonasJonas Posts: 8
    edited 2005-12-22 21:28
    Hello

    I saw that I have made one misstake when I posted my robot-program code. All the comments was in swedish. Ooops.·Well to make it easier for those of you that isn't that good·at swedish (if there is someone out there smile.gif) I have translated the comments to english instead.

    \Jonas
    http://www.geocities.com/jcee324
  • Steve JoblinSteve Joblin Posts: 784
    edited 2005-12-22 21:44
    Great... after I spent 20 hours on babblefish... now you translate it! [noparse]:)[/noparse] No, honestly, I personally really appreciate it! You would be surprised how hot of a topic this has been... I must have directed over 20 posts to this thread! We should get Andy Lindsay to package this up for a Stamps-In-Class Mini project (I bet the only reason why he hasn't is because they don't sell the TWS-434 and RWS-434 units!

    Again, many many thanks!
  • Martin_vLMartin_vL Posts: 18
    edited 2005-12-23 12:11
    Jonas

    Where can I find that Robot-program code?

    Martin

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
  • Steve JoblinSteve Joblin Posts: 784
    edited 2005-12-23 13:23
    Look on page one of this thread... check out the 14th posting... It will be the program code that was posted by Jonas... he simply edited his post (was sweedish, now english).
  • Martin_vLMartin_vL Posts: 18
    edited 2005-12-23 22:43
    Jonas
    Jonas said...
    I have to say that there is alot work left before the robot goes smoothly.
    If you want that your robot goes smoothly. Maybe the following code wil help.

    For transmitter:
    IF Command= 0 THEN                          
      Command=1                                 
    ENDIF                                       
    

    For reciever:
    IF command= 0 THEN                      
      command= previos                      
    ENDIF
    

    If the reciever don't get a singal than the last command will be repeated.
    (look to my other post in this topic or see the attachment for the full code)

    Martin



    Post Edited (Martin_vL) : 12/24/2005 5:34:05 PM GMT
  • StarteR2StarteR2 Posts: 27
    edited 2005-12-30 00:43
    Hello, I just got my Boe Bot and finished with the assimilation and everything and gotmyself a humidity/temp sensor. Now here comes a weird question, I use the board of education in serial version. If i use your transmitters and recevers can i do exactly the same thing i was doing with the Serial? Will i be able to receve data on humidity to my laptop from my robot? Thanks Alot
  • Mike CookMike Cook Posts: 829
    edited 2006-01-03 21:01

    Some words of caution on using the 433.92 RF modules, from www.sparkfun.com:

    I'm working on a communications system using these modules. They seem to work quite well, I will post code and pictures in a few days on my progress in the 'Projects' section of the forums. Code was first developed using the BS2 & RLP-434 as the receiver and BS1 & TLP-434 as the transmitter. This code was then transferred to the SX48/52 platform using SX/B, and I'm now working on Manchester coding the RF transmission, using a SLIP format, with a CRC algorithm.

    Anyway, while testing my transmitter and receiver code, for several days, my cable TV service was disconnected. Upon further analysis's I discovered that the TLP-434 transmitter was causing severe interference with cable TV channel 59 (433.25 MHz) on my Comcast Cable TV service. Ultimately this is probably due to a malfunction in my cable TV service provider and or associated wiring. However being an Amateur Radio operator, I believe it is my duty not to cause harmful interference, when necessary.

    I have ordered the 315 MHz and 418 MHz Transmitter/Receiver set, from www.sparkfun.com, to test to see if they will also interference with my cable service.

    Just a 'Heads Up' if anyone is working with these.

    Mike

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    "OEM NMEA GPS Module" Now available on ebay for only $17.49

    Product web site: http://www.allsurplus.net/Axiom/

    Post Edited (Mike Cook) : 1/3/2006 9:09:36 PM GMT
  • Steve JoblinSteve Joblin Posts: 784
    edited 2006-01-04 13:44
    Hey... I just thought of something... Comcast channel 59 for us is that sappy girly "Lifetime" Channel that my wife always wants to watch... maybe I "accidently" just set up a RLP-434 / TLP-434 system that always seems to go on whenever shows like "How to Get Your Man to Take You Shopping" or "Men Just Don't Understand" come on... huh... you got me thinking!
  • jdw512jdw512 Posts: 2
    edited 2006-01-05 21:26
    What if you wanted to control your boe bot by serial cable? and control over the web, any idea how to do this??/
  • jdw512jdw512 Posts: 2
    edited 2006-01-05 21:27
    What if you wanted to control your boe bot by serial cable? and control over the web, any idea how to do this??/
  • Steve JoblinSteve Joblin Posts: 784
    edited 2006-01-05 21:54
    you can easily control your boebot by serial cable... simply keep it plugged in and issue commands via the debugin through the debug window... the problem is that a serial cable will loose signal if it is more than 25 feet or so (maybe you could go as far as 50 feet?), but the point is, you can't have a really long serial cable.

    As for controlling over the web, check out http://www.parallax.com/detail.asp?product_id=30013
  • JonasJonas Posts: 8
    edited 2006-01-25 11:07
    Hello

    Now I can controll my boebot with my Texas TI83 plus calculator. By connecting it to the HomeWork Board (instead of the computer) I can controll the robot wireless useing the calculator. It does not go as smooth as when useing the computer but it workes.
    It is the same principle as when useing the computer with just small changes in the transmitter program and by useing two special programs in the calculator. One of the programs "SRBTEST.8xp" can be found on http://www.smallrobot.com/bs2ti.html.·It is an assembly program and I have now idea how it workes. The other program have I made myself and I have used the "stamp.8xp" (also found on http://www.smallrobot.com/bs2ti.html) as a model when I made it. I used "calcstamp.bs2" (also found on http://www.smallrobot.com/bs2ti.html) to figure out which baudrate values to use. You can also find a simple schematic on http://www.smallrobot.com/bs2ti.html·how to connect the calculator to the stamp. I just connected the tip (red wire) to·a·pin on the HomeWork board and the ground (shield) to the Vss pin.

    My TI83 program is like this:
    While 1
    getKey→K
    While K=0
    getKey→K
    End
    Disp K
    Asm(prgmSRBTEST)
    If K=105
    Stop
    End
    

    Remember that this is a program to the calculator and not a Basic Stamp program.

    My stamp programis like this:

    '{$STAMP BS2}
    ' {$PBASIC 2.5}
    '     ===================================================
    '=====Wireless control of the BOEBOT. Transmitter program=====
    '     ===================================================
     
    '--------- Variables -----------
    InVar              VAR Nib
    UtVar              VAR Nib
    PauVar             VAR Byte
    Ini                VAR Nib
    
    '--------- Pins -----------
    Sandare            PIN 0        'Transmitter pin
    Knapp1             PIN 1        'Button1
    Summer             PIN 2        'Buzzer
    TI83               PIN 15       'Calculator pin
    
    '--------- Main Loop ------------
    UtVar = 5
    Ini = 0
    PauVar = 20
     
    FREQOUT Summer,250,1000
     
    start:
     
    DO
    DEBUG CLS
    DEBUG "Invar = ", DEC Invar, CR
    DEBUG "Utvar = ", DEC Utvar, CR
     
    SEROUT Sandare, 3313, [noparse][[/noparse]utVar]    'Transmitt value from utVar to the BOEBOT (1646)
    PAUSE PauVar
     
    IF (Knapp1 = 1) THEN Ini = 1
    IF Ini = 1 THEN program
     
    LOOP
     
    Program:
     
    SERIN TI83,396,50,start, [noparse][[/noparse]Invar]         'Recieve value from the computer, store in InVar
    PAUSE PauVar
    utvar = invar
    SEROUT TI83,396,[noparse][[/noparse]Invar]                  'Transmitt value back to the calculator 
     
    GOTO start
     
    
    

    As I said, it doesn't work as smooth as if you controll the robot with a computer but it is quite cool to controll it with your calculator and maybe if you do some work with it you can make it work just as good.


    \Jonas
    http://www.geocities.com/jcee324
  • bulldogbasebulldogbase Posts: 3
    edited 2007-10-27 13:35
    I'm new to this and I'm have problems
Sign In or Register to comment.