To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.handyboardOpen lugnet.robotics.handyboard in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / Handy Board / 3616
3615  |  3617
Subject: 
16 digital outputs as Fred suggested
Newsgroups: 
lugnet.robotics.handyboard
Date: 
Sun, 12 Apr 1998 11:13:54 GMT
Original-From: 
Alf Kuchenbuch <alfk@eikon.e-technik.tu#ihatespam#-muenchen.de>
Reply-To: 
alfk@eikon.e-technik.tu-ANTISPAMmuenchen.de
Viewed: 
1611 times
  
Hi guys,
I needed 16 digital outputs for my handyboard, so I put up a very simple
expansion board the way Fred suggested in his handboard FAQ: I connected
two more hc374 with their d-inputs to LCD-display's data bus (d0 - d7).
Then I connected the first hc374's clock to y4 and the second one's to
y5. Really simple, indeed. Now I would like to use those outputs with
Interactive C.
I figured, if I want to set output 0 to 6 low and output 7 high then I
have to put 0+0+0+0+0+0+0+2^7=128 on the bus. Then I have to pulse y4
low
for a short time for hc374 to put the bus word through to its Q outputs.
In HB Technical Reference (chapter 11 Pin out Detail), Brian Schmalz
suggests to pulse y4 low for 1 cycle by the command WRITE 0x6000
So that's all I know.
Now my question:
Could you tell me the IC code to operate those outputs using IC?
I hope, somebody out there has solved this problem before.
Alf
(the only German Handyboard user?)



Message has 1 Reply:
  Re: 16 digital outputs as Fred suggested
 
1. please read the Appendix B documentation in (URL) explains this in more detail than the FAQ. 2. you must the even-numbered Yx signals for output latches. Since Y6 is taken (by the on-board latch for the motor drivers), you're left with Y0, Y2, (...) (27 years ago, 13-Apr-98, to lugnet.robotics.handyboard)

2 Messages in This Thread:

Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR