Re: Simple Parallel Port controller
Posted by
sariddle@l...
on 2001-09-02 08:27:36 UTC
--- In CAD_CAM_EDM_DRO@y..., JanRwl@A... wrote:
on the electonic's side. What you are talking about is what I am
looking to do. I like the simple relay and pp off/on switch approach
for now. I am pretty good in visual basic programming and have a
program I downloaded from somewhere that can be used to control RC
servo motors thru the paralell port. This is where I was looking to
start from. My biggest question is are there 2 pins on the pp that I
can hool to to get my switching for the relay? And if so what kind of
power consupmtion requirments do I need to stay under for the relay
as to not damage my pp? Do you have any sample code for just turning
off and on one pair of pins?
Thanks
Scott
> Eric:port to turn
>
> You could use just ONE bit of the eight of the parallel-printer-
> that ONE relay on or off, or, you could even use some cascadeddecoder-logic
> (74HCT4514, for example) to control up to 255 separate relays. ButNO ONE
> has given you a hint how to "do that" from software!decimal address
>
> If you are using simple BASIC, you can OUT 888,n (888 is the
> of the printer-port, or, $378 in HEX). If you connect your relayto bit-0,
> then OUT 888,1 makes that bit "go high", and OUT 888,0 makes it(all-8) "go
> low" again.way to do
>
> The solid-state relay another in the group suggested is a sure-fire
> it, but you COULD use HCT logic and "any" SSR, or even anelectromagnetic
> relay, if you used the right "sink driver". But I have no clue howmuch
> "electronics" you know.be put on
>
> In a BASIC program, when you come to an "OUT 888,n", that "n" will
> the port (binary equivalent of zero or 1 through 255) until changedby a
> later "OUT...".(depending upon how
>
> For example: 10 OUT 888,1
> 30 OUT 888,0
>
> will "toggle" bit-zero for a couple of microseconds or so
> fast your particular computer is). Or, if you add a line 20 FORD=1 to
> 10000:NEXT, it will "stretch" the "on-time" of bit-zero (making the10000
> larger will stretch it proportionately more, of course).until you
>
> If you do NOT included line-30 above, that bit will REMAIN high
> turn off the computer, or some other program changes that bit!This can
> confuse things if you have little experience with such, and/or,no "pilot
> lights" on the 8 port-bits.I am good on the mechanical side but I need as much help as possible
>
> Lotsa luck! Jan Rowland, Old Troll
>
>
>
>
> [Non-text portions of this message have been removed]
on the electonic's side. What you are talking about is what I am
looking to do. I like the simple relay and pp off/on switch approach
for now. I am pretty good in visual basic programming and have a
program I downloaded from somewhere that can be used to control RC
servo motors thru the paralell port. This is where I was looking to
start from. My biggest question is are there 2 pins on the pp that I
can hool to to get my switching for the relay? And if so what kind of
power consupmtion requirments do I need to stay under for the relay
as to not damage my pp? Do you have any sample code for just turning
off and on one pair of pins?
Thanks
Scott
Discussion Thread
Scott Riddle
2001-09-01 08:47:13 UTC
Simple Parallel Port controller
Eric Keller
2001-09-01 09:23:36 UTC
Re: [CAD_CAM_EDM_DRO] Simple Parallel Port controller
Jon Elson
2001-09-01 10:29:44 UTC
Re: [CAD_CAM_EDM_DRO] Simple Parallel Port controller
Alan Marconett KM6VV
2001-09-01 11:56:24 UTC
Re: [CAD_CAM_EDM_DRO] Simple Parallel Port controller
JanRwl@A...
2001-09-01 13:18:24 UTC
Re: [CAD_CAM_EDM_DRO] Simple Parallel Port controller
wayne_j_hill@y...
2001-09-01 17:50:16 UTC
Re: Simple Parallel Port controller
sariddle@l...
2001-09-02 08:27:36 UTC
Re: Simple Parallel Port controller
sariddle@l...
2001-09-02 08:30:16 UTC
Re: Simple Parallel Port controller
sariddle@l...
2001-09-02 08:32:42 UTC
Re: Simple Parallel Port controller
JanRwl@A...
2001-09-02 12:35:19 UTC
Re: [CAD_CAM_EDM_DRO] Re: Simple Parallel Port controller
JanRwl@A...
2001-09-02 12:44:53 UTC
Re: [CAD_CAM_EDM_DRO] Re: Simple Parallel Port controller