750-00004 Parallax Inc, 750-00004 Datasheet - Page 19

no-image

750-00004

Manufacturer Part Number
750-00004
Description
POWER SUPPLY 24VDC 600MA
Manufacturer
Parallax Inc
Datasheet

Specifications of 750-00004

Form
Wall Mount (2 Prong)
Voltage - Output Per Connector
24VDC
Current - Output
600mA
Polarization
Positive Center
Cord Plug
2.1mm I.D. x 5.5mm O.D. x 12mm Female
Voltage - Input
120VAC
Power - Output
14W
Transformer Type
Linear, Unregulated
Product
Microcontroller Accessories
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
Efficiency
-
Lead Free Status / RoHS Status
Lead free / RoHS Compliant, Contains lead / RoHS non-compliant
' -----[ I/O Definitions ]-------------------------------------------------
' -----[ Constants ]-------------------------------------------------------
T1200
T2400
T9600
T19200
Baud
' -----[ Variables ]-------------------------------------------------------
keyIn
serString
' -----[ EEPROM Data ]-----------------------------------------------------
' -----[ Initialization ]--------------------------------------------------
Startup:
' -----[ Program Code ]----------------------------------------------------
Main:
Resume_Program:
Run_Program:
' -----[ Subroutines ]-----------------------------------------------------
Read_Password:
Parallax, Inc. • Stamp PLC (#30064) • Version 1.8 • 12/29/2003
GOSUB Read_Password
IF keyIn = $FF THEN GOSUB Set_Password
SERIN 16, Baud, 500, Run_Program, [WAITSTR serString\4]
DEBUG CR, "Password accepted!"
DO
LOOP
DEBUG CR
DEBUG "*"
GOTO Main
DEBUG CR, "C:> "
SERIN 16, Baud, [keyIn]
SELECT keyIn
ENDSELECT
CASE "X"
CASE "N"
CASE "C"
CASE ELSE
GOTO Resume_Program
GOSUB Set_Password
GOSUB Clear_Password
DEBUG " : Invalid command",BELL
CON
CON
CON
CON
CON
VAR
VAR
813
396
84
32
T9600
Byte
Byte(4)
' terminal input
' Read password
' If not set, set it
' else, start main code
' Once password received
' get a command
' process command
' otherwise, run the
' user's program
' user program goes here
' Read password from eeprom
Page
19

Related parts for 750-00004