DatasheetQ Logo
Electronic component search and free download site. Transistors,MosFET ,Diode,Integrated circuits

EDE300 데이터 시트보기 (PDF) - Unspecified

부품명
상세내역
제조사
EDE300 Datasheet PDF : 9 Pages
1 2 3 4 5 6 7 8 9
Once connected, the following example code, running on the Stamp, illustrates the simple example
of polling the '245's eight inputs and writing this value back to the '373's latched outputs.
pause 200
loop: serout 7,T2400, ("2")
serin 6,T2400,b2
serout 7,T2400,("1")
serout 7,T2400,(b2)
if b2 <> 0 then loop
' pause Stamp while all circuitry powers up
' send the character "2" out pin 7 at 2400 BAUD
' read serial byte send back from EDE300, store in b2
' tell EDE300 to accept next byte of data
' send value in b2 to EDE300 to be latched onto output of '373 IC
' continue until input byte = 0
If, however, you simply wish to use the EDE300 for unidirectional communication with a
Stamp (to expand the I/O capabilities of the Stamp), you would not need the '245 or '373 IC's. The
EDE300's eight data pins would serve as the eight input pins in unidirectional input mode, or as the
eight output pins in unidirectional output mode.
NOTE: In the following two arrangements, the EDE300 is being used in Host Control Mode, which
means that its Data Direction/Latch Pin (Pin 1) is made an output rather than an input (as it is in Local
Control Mode). In the following two examples leave this pin unconnected; data flow direction is
determined by the host. The Data Direction/Latch Pin (Pin 1) should NEVER be driven while the
EDE300 is in Host Control Mode.
Unidirectional Communication with BASIC Stamp™ I - Output Only
The following schematic will make eight digital outputs from one Stamp I/O pin.
COPYRIGHT © 1996 E-Lab Digital Engineering, Inc. All Rights Reserved. Page # 7

Share Link: 

datasheetq.com  [ Privacy Policy ]Request Datasheet ] [ Contact Us ]