Bot Board interface with Lynxterm?

If I understand you correctly you are saying use HSEROUT on the DB9 connector… The problem is that HSEROUT does not coorespond with the DB9 connector, but instead is on the IO pins P14 and P15. These signals are TTL and not RS232 voltages. Of course you could hook up some external hardware such as a MAX232 chip and the cooresponding other electronics such as capacitors…

Kurt

Thanks for the mix up. I was trying to see if I can download the datasheet for the Atom Pro 28 but to no avail. I looked at the Atom Pro 24 to see if I can figure anything out.

You’re right, you have to hook up a max232 chip in order to drive the UART into a RS232, the pc

I guess one mechanical solution would be to “string out” the pins using extender cables (like the ones included with the SSC-32 for the servos). so you can configure them out. Not sure how important the ground connection would be between P15 of the ABB and RXD pin of SSC-32 since the grounds are already being shared at the power connection (I’m feeding the SSC-32 power and jumping that into the ABB).

The baud rate is set at 38400 so not sure how much of an effect of connecting the grounds through a wimpy 26-AWG wire at the power port would do.

I gave up on trying to send out the command from the DB9 of the ABB to the DB9 of the SSC-32. I’m considering to just saw off the mounting in that corner to gain access to that area without having to unmount my ABB.

I forgot to mention that when the Robot Magazine did an article on building the brat, they added in a set of switches to easily switch which of the boards you would plug the RS-232 cable into (Bot or SSC-32). You can find it up at:botmag.com/articles/brat_photoessay.shtml

ok

i saw the pics but still would like diagram on how to switch the boards to use both…

tkx

i must be really dumb… :blush:

need to hook up the smirf too but i need some code to do that…

been looking around a cant seem to get enough info…

just learning code for the atom…did ok with the stamp …

just a nice sub rutine would help…i can figure out what pins and stuff to change…gotta get my scout up and walking…

lotz of brat stuff…not much code for the scout with atam chip…
i c most like the pro chip…next order…

tkx
:open_mouth:

Can not help much with the scout (don’t have one). But the wiring should be pretty easy. They did it with 4 switches. I was going to do it with a DPDT switch (Double pole double throw). I will try to semi-diagram it out with text. If you look at the SSC-32 toward the bottom right, there are two sets of pins for the communication. One row has three pins and the other two pins. You need to run a ground wire from the ground pin(right pin of the three pin set) of the SSC-32 to the ABB so they have a common ground. Now take the other two pins of that set and connect them to the two common (usually center) connections of the switch. Then connect the two pins on one side of the switch back to the two pin set on the SSC-32 and connect the two pins on the other side of the switch to two pins on the ABB. In my case 14 and 15. Note, I am using bidirectional communications. If you only want to download stuff from the ABB to the SCC-32 without any querys back you can skip one pin on the SSC-32. A rough diagram looks like:[code]

                 +------------------------------------- ABB pin 15

SCC RX 3------------/
±------------------------------------ SCC RX 2[/code]

Likewise for SCC TX. Sorry if the text diagram does not come out overly well.

EDIT - I forgot to mention that you will need to set the baud rate switches to something that works well both to communicate with the PC and with the ABB and make sure both your PC (SEG or the like) and your code on the ABB are set to use that baud rate.

Kurt

OK :smiley:

got it…

now all I need to know is how to switch the smirf to 38400

any help?

tkx




Well I think I figured it out...

Here's the diagram of what I think it should be:


        SSC-32

         1  2  3                           
       ________
       ! o  o  o  !--->>GND
       !       __!
       ! o  o !
       -------
         4  5

_____________________________________
	
       DPDT Switch
        ______
  14  !  o  o  ! 15
       !          !
    1 !   o  o  ! 2
       !          !
    4 !   o  o  ! 5
        --------

           BotBoard
  _______________________---->
  !        
  !     _gnd________
  !    ! o  o  o  o  !
  !    ! o  o  o  o  !
  !    ! o  o  o  o  !
  !    --------------
  !    15 14 13 12 
  !   
  !  _______
  ! ! o  o  o !
  ! ----------
  !  5v    vs 
  !
  ! _______________________________________
  !!                                                                    !
  !!                                                                    !
  !!       ATOM Chip                                             !
 

Well is that right guys

if so let me know......the grounds should be together due to the fact that the power is shaired  but if not then i think you can ground to any thing that is ground..RIGHT??


Tkx

Well I stil cant get this perfect…text doent stay put…
hope this helps… :stuck_out_tongue:

Trick is to use Notepad, then cut and past into the code box…

         SSC-32

         1  2  3                           
       -----------
       | o  o  o |--->>GND
       |       __|
       | o  o |
       -------
         4  5

_____________________________________
	
       DPDT Switch
       ----------
   14  |  o  o  | 15
       |        |
    1  |  o  o  |  2
       |        |
    4  |  o  o  |  5
       ----------

           BotBoard
  |------------------------>
  |        
  |    --------------
  |    | o  o  o  o |  <---Gnd
  |    | o  o  o  o |
  |    | o  o  o  o |
  |    --------------
  |     15 14 13 12 
  |   
  | -======----
  | | o  o  o |
  | -----------
  |  5v    vs 
  |
  | _______________________________________
  ||                                       |
  ||                                       |
  ||       ATOM Chip                       |

hi

Thats what i did but it still came out the way it shows…

dont get what I did wrong…ill try with the next one
and how can I post a picture…??
I dont want to use up my web space…

Also need to know how to set the smirf to 38400…

tkx

Check this post for info regarding images:
lynxmotion.net/phpbb/viewtopic.php?t=2230

Open Notepad and select a monospaced font if it currently does not have one. Mine has Courier New, but others are available such as fixedsys, or monospaced, etc.

This tutorial has information on changing the BluSmirf baudrate (Step 12).
lynxmotion.com/images/html/build117.htm

The text I was useing was the default one arial…
didnt know about the special fonts…tkx

as for pics …got it …tkx

now for the baud rate on the smrif…NOT…
it doent explain what the numbers are and I dont want the 115200 baud rate …I need the 38400…
Am I just stupid ?? :frowning:
I want the smirf to hook to the botboard…so I can program it wireless and /or - send/get - data to my PC…
I got the AT set from sparkfun…but what a crazy set of info…not user friendly…

any Ideas…

tkx

you guyz are GREAT!!

hey jim need a brat jr sheet on what parts I need so I can get one up and running so I can show the tech school guyz…hopefully I can get them to use it for there class room projects…

tkx Agian :smiley:

If you have the same BlueSMiRF as in the tutorial, try this command

ATSW20,157,0,0,1
That should set the baud to 38.4k

The ATSW20 is the command, the 157 is the ascii value of the baud, the first zero is parity, second is stop bits, and the last number is store (if it stores the parameters in flash or not)

If you have the new one (with the blue ceramic antenna) try this one
SU,38

We will be adding a new BRAT tutorial for the updated SparkFun components very soon. This will help with the confusion of the modem and dongle versions.

And it is…

Right here! :smiley:
lynxmotion.com/images/html/build125.htm

My IBM notebook computer has bluetooth. Can I use it directly with the Modem BlueSMiRF modules, or do I still need the USB dongle?

Alan KM6VV

I now have my smirf at 38400 and can use the above diagram that shows how to use a DPDT switch to access the ssc and botboard without having to change the jumpers for the baud rate…works great…now I can put the boards together as per the instructions…just switch between program mode and run mode…like the arm setup…

wish I could hook up the smirf to the botboard so I could program without the cable too…

AS for the laptop I dont see why not…I’m using a cheap I/O Gear bluetooth dongle I got from Wal-Mart…just a little different instructions but it works the same way…no problem…

more pics of my Scout soon…!!

Will be ordering the SEQ software and more stuff for My Quarter Scale Quad…too !

Curious, what kind of servos are you using in your scout Sheldon? The 5645?

Can you post some pictures of your switch mod? I’m curious to see where on the scout chassis you mounted the switch…

Here is what you were originally looking for. http://www.lynxmotion.com/images/diagrams/ssc-sw.gif