bot board 2 programming

Hello, I’m new to programming and the use of the Bot board 2.
I am building a remote controlled, electric drive machine for work, and need to figure out the following:

  1. how to properly program the PS2 controller to work with the BB2, or visa versa.
  2. how to program the BB2 to take a direction signal from the joystick
  3. have the BB2 generate a pwm signal (for each axis) on the output pins that can be sent to my Sauer Danfoss plc that controls all of the functions on the machine, including the two 70amp 24vdc motor controllers for each drive motor.

Any help would be greatly appreciated.

regards,
John

Hi,

Note the Botboard 2 (BB2) is only a board that holds a processor, so need to know which processor. If you bought it earlier from Lynxmotion, I will assume a Basic Atom Pro 28 (BAP28 ). Note: I have not used these for quite awhile so I am rusty…

  1. I assume you have the Basic MIcro IDE installed: downloads.basicmicro.com/downloa … 0-0-18.exe

The old Lynxmotion site has some tutorials: lynxmotion.com/s-4-electronics-guides.aspx
Including one for pS2: lynxmotion.com/images/html/build034.htm

  1. Part of 1…

  2. don’t know Sauer Danfoss plc… But it it handles RC like signals, you can often control it by using the hardware servo commands (HSERVO)