Re: Show me the light

2002-10-27 Thread Terry Lambert
Baldur Gislason wrote: > I have powered leds from the parallel port, there's about 10mA of current > available on each data pin without destroying anything. so I wired 8 leds, > each with a 330 ohm series resistor, no external power supply. Use 470 ohm; your chip will last longer with all bits lit

Re: Show me the light

2002-10-27 Thread Baldur Gislason
I have powered leds from the parallel port, there's about 10mA of current available on each data pin without destroying anything. so I wired 8 leds, each with a 330 ohm series resistor, no external power supply. Baldur On Sunday 27 October 2002 22:48, you wrote: > On Mon, 28 Oct 2002 [EMAIL PRO

Re: Show me the light

2002-10-27 Thread Soeren Schmidt
It seems Ronald G Minnich wrote: > On Mon, 28 Oct 2002 [EMAIL PROTECTED] wrote: > > > As far as I remember, there is open collector output > > on parallel port, so your wish impossible %-) > > oops, I forgot that little deal. Yup, you need a pullup. Only the control signals are OC, the databits

Re: Show me the light

2002-10-27 Thread Ronald G Minnich
On Mon, 28 Oct 2002 [EMAIL PROTECTED] wrote: > As far as I remember, there is open collector output > on parallel port, so your wish impossible %-) oops, I forgot that little deal. Yup, you need a pullup. you can get PP relay modules for not much. ron To Unsubscribe: send mail to [EMAIL PROTE

Re: Show me the light

2002-10-27 Thread Ronald G Minnich
Put a voltmeter on the PP port. Measure voltage. put am ammeter on the PP port. measure current. (start at 10 amps to be safe, trust me, you're not going to cause the ammeter any trouble). See if Voc and Isc are in a usable range. If not, go get yerself a little reed relay or solid state relay.

Re: Show me the light

2002-10-27 Thread Chrisy Luke
David Nicholas Kayal wrote (on Oct 27): > int main() > { > int fd; > while(1) > { > ioctl(fd, PPISDATA, 255); > } > } Doesn't "fd" normally need to have a value, such as that of a valid descriptor before you ioctl() it? Like: fd = open("/dev/ppi0", O_RDWR); Chris. --

Re: Show me the light

2002-10-27 Thread .
> I got a LED and touched it to the positive and negative ends of two 1.5v > AA batteries in a serial configuration. > The LED lit up. I then crimped on pins to the end of the LED wires and > again tested it with the batteries. Again, I saw the light. > > I plugged said tinned pins into the 2nd

Show me the light

2002-10-27 Thread David Nicholas Kayal
I got a LED and touched it to the positive and negative ends of two 1.5v AA batteries in a serial configuration. The LED lit up. I then crimped on pins to the end of the LED wires and again tested it with the batteries. Again, I saw the light. I plugged said tinned pins into the 2nd and 25th pin