In SX Microcontrollers, SX/B Compiler and SX-Key Tool, markuster wrote:

Hi ,

I am using no resistor because I need to increase the detection range.

The same circuit works better using a Basic Stamp ( 3 feet)
but using SX28 is about 2 inches only.

Do you know why ?

thanks, Mark
PS: Please help.






DEVICE SX28, OSC4MHZ, TURBO, STACKX, OPTIONX
FREQ 4_000_000

PROGRAM Start

INI:

DO
FREQOUT RB.1, 20, 38500     'RB.1 OUT LED IR
IF RB.2= 0 THEN                  'RB.2 OUT from sensor IR
HIGH RB.0                            'RB.0 LED INDICATOR
PAUSE 500
LOW RB.0
PAUSE 500
ENDIF
LOOP

---------- End of Message ----------


You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=283893#m283946

Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com

The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2008 (http://www.dotNetBB.com)