27403 Parallax Inc, 27403 Datasheet - Page 23
27403
Manufacturer Part Number
27403
Description
GUIDE APP ROBOTCS W/SUMOBOT V1.0
Manufacturer
Parallax Inc
Datasheet
1.27404.pdf
(266 pages)
Specifications of 27403
Accessory Type
Manual
Product
Microcontroller Accessories
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
For Use With/related Products
SumoBot®
Lead Free Status / RoHS Status
Lead free / RoHS Compliant, Contains lead / RoHS non-compliant
- Current page: 23 of 266
- Download datasheet (6Mb)
' -----[ Program Description ]------------------------------------------------
' Applied Robotics with the SumoBot - ForwardLowTimeTest.bs2
' SumoBot goes forward indefinitely.
' the forward motion.
'
' {$STAMP BS2}
' {$PBASIC 2.5}
' -----[ I/O Definitions ]---------------------------------------------------
ServoLeft
ServoRight
' -----[ EEPROM Data ]--------------------------------------------------------
RunStatus
' -----[ Constants ]----------------------------------------------------------
LowTime
' -----[ Variables ]----------------------------------------------------------
temp
counter
' -----[ Initialization ]-----------------------------------------------------
DEBUG CLS
READ RunStatus, temp
temp = ~temp
WRITE RunStatus, temp
IF (temp > 0) THEN
ENDIF
DEBUG "Main program running...", CR
' -----[ Main Routine ]-------------------------------------------------------
DO
DEBUG "Press/release Reset..."
END
PULSOUT ServoLeft,
PULSOUT ServoRight, 650
PAUSE LowTime
√
Compare the results of the two trials and determine which program gives the
SumoBot better performance.
PIN
PIN
DATA
CON
VAR
VAR
850
13
12
0
20
Byte
Byte
Use the Reset button to start and stop
Chapter 1: Mechanical Adjustments · Page 19
' Left servo connected to P13
' Right servo connected to P12
' Start with program not running
' Try 1 SumoBot with 20 ms pulses
' Try the other with 40 ms pulses
' Temporary variable
' FOR...NEXT loop counter
' Clear the Debug Terminal
' read current status
' invert status
' save for next reset
' 0 -> End, 1 -> Main routine
' Display program status
' Forward pulses indefinitely
Related parts for 27403
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
Microcontroller Modules & Accessories DISCONTINUED BY PARALLAX
Manufacturer:
Parallax Inc
Part Number:
Description:
BOOK UNDERSTANDING SIGNALS
Manufacturer:
Parallax Inc
Datasheet:
Part Number:
Description:
COMPETITION RING FOR SUMOBOT
Manufacturer:
Parallax Inc
Datasheet:
Part Number:
Description:
TEXT INFRARED REMOTE FOR BOE-BOT
Manufacturer:
Parallax Inc
Datasheet:
Part Number:
Description:
BOARD EXPERIMENT+LCD NX-1000
Manufacturer:
Parallax Inc
Datasheet:
Part Number:
Description:
CONTROLLER 16SERVO MOTOR CONTROL
Manufacturer:
Parallax Inc
Datasheet:
Part Number:
Description:
BASIC STAMP LOGIC ANALYZER
Manufacturer:
Parallax Inc
Datasheet:
Part Number:
Description:
IC MCU 2K FLASH 50MHZ SO-18
Manufacturer:
Parallax Inc
Datasheet: