Hobby Electronics Basics Converting from 30V to 5V or less

Bookmark this page:  YahooMyWeb Yahoo!  Google Google  Windows Live Favorites Windows Live  del.icio.us del.icio.us  digg digg  Add to Netscape Netscape
Subject Author Date
Converting from 30V to 5V or less spam_filter 09-19-08
Posted by on September 19, 2008, 9:15 am
Please log in for more thread options


I'm using a computer to gather data using LPT1 port. The input pins of the lpt
accept 0-5V.

I want to know when three utility motors using 30V start and when they end. When
a motor starts it gets 30V. Actually they should get 24V but occasional bursts to
30V are normal. The motors themself can handle the extra voltage.

What is the simplest way lower the voltage to 5V for my LPT port? I've done
simple electronics but a simple schematic would be great. I want to know when
each of the motors start.

Posted by John Fields on September 19, 2008, 1:23 pm
Please log in for more thread options


On Fri, 19 Sep 2008 16:15:13 +0300, spam_filter@invalid.nil wrote:

>I'm using a computer to gather data using LPT1 port. The input pins of the lpt
>accept 0-5V.
>
>I want to know when three utility motors using 30V start and when they end. When
>a motor starts it gets 30V. Actually they should get 24V but occasional bursts
to
>30V are normal. The motors themself can handle the extra voltage.
>
>What is the simplest way lower the voltage to 5V for my LPT port? I've done
>simple electronics but a simple schematic would be great. I want to know when
>each of the motors start.

---
View in Courier:

1/2 WATT
30V----+--[1000]--+------>4.7V
| |
[MOTOR] [1N5230B]
| |
GND>---+----------+------>GND


JF

Posted by Stephen J. Rush on September 19, 2008, 2:14 pm
Please log in for more thread options


On Fri, 19 Sep 2008 16:15:13 +0300, spam_filter wrote:

> I'm using a computer to gather data using LPT1 port. The input pins of
> the lpt accept 0-5V.
>
> I want to know when three utility motors using 30V start and when they
> end. When a motor starts it gets 30V. Actually they should get 24V but
> occasional bursts to 30V are normal. The motors themself can handle the
> extra voltage.
>
> What is the simplest way lower the voltage to 5V for my LPT port? I've
> done simple electronics but a simple schematic would be great. I want to
> know when each of the motors start.

The safest way to couple signal from a "dirty" source -motors are
notorious sources of noise and spikes- into a logic circuit is to use an
optoisolator, a device with a lamp (usually an LED) on the dirty side and
a phototransistor on the logic side. These are common parts, available
from any of the online distributors. You connect the phototransistor
side between a logic input and ground, with a pullup resistor. The LED
side goes across the motor, with a series resistor whose value depends on
the motor voltage and the current required by the LED.

Another approach is a simple 6:1 resistive voltage divider, but you have
to protect the logic input from overvoltage and from the negative voltage
you get when you switch the motor off. Two diodes may be enough: one
from the logic input to ground (anode to ground) to catch the negative
back EMF from the motor, and one from the logic input to the 5V logic
supply (anode to the logic input) to dump any overvoltage spikes into the
5V supply's filter capacitors. The optoisolator is safer. They
typically offer several hundred volts of isolation.

Posted by Jamie on September 19, 2008, 6:52 pm
Please log in for more thread options


spam_filter@invalid.nil wrote:

> I'm using a computer to gather data using LPT1 port. The input pins of the lpt
> accept 0-5V.
>
> I want to know when three utility motors using 30V start and when they end.
When
> a motor starts it gets 30V. Actually they should get 24V but occasional bursts
to
> 30V are normal. The motors themself can handle the extra voltage.
>
> What is the simplest way lower the voltage to 5V for my LPT port? I've done
> simple electronics but a simple schematic would be great. I want to know when
> each of the motors start.

Using a Photo coupler is the safest method that I know of.
Just pull one of the input pins of your port using the photo output
transistor.

Since you stated 30 V's maybe the max at times I would use ~ 2 thirds
of the LED (If) which is ~ 45 ma.
R = (30-1.2)=(28.8)/0.045 = 640 ohms.
W = 0.045*1.2 = 0.054 watts.

http://www.qsl.net/n4xy/PDFs/Semiconductor_Data_Sheets/4n35_37.pdf

P.S.
Might be advisable to use a zener diode of around 30 volts so
that it can be protected from reverse voltage exceeding (Vr)
6 and forward voltages exceeding 30 volts.

If this is a brushed motor, it can generate inductive energy that
isn't safe even for the coupler. A cheap zener diode helps this out in
minor cases and the photo coupler helps in major cases to protect the
computer.



http://webpages.charter.net/jamie_5"


Posted by John Fields on September 19, 2008, 7:16 pm
Please log in for more thread options


On Fri, 19 Sep 2008 18:52:46 -0400, Jamie

>spam_filter@invalid.nil wrote:
>
>> I'm using a computer to gather data using LPT1 port. The input pins of the lpt
>> accept 0-5V.
>>
>> I want to know when three utility motors using 30V start and when they end.
When
>> a motor starts it gets 30V. Actually they should get 24V but occasional
bursts to
>> 30V are normal. The motors themself can handle the extra voltage.
>>
>> What is the simplest way lower the voltage to 5V for my LPT port? I've done
>> simple electronics but a simple schematic would be great. I want to know when
>> each of the motors start.
>
>Using a Photo coupler is the safest method that I know of.
> Just pull one of the input pins of your port using the photo output
>transistor.
>
> Since you stated 30 V's maybe the max at times I would use ~ 2 thirds
>of the LED (If) which is ~ 45 ma.
>R = (30-1.2)=(28.8)/0.045 = 640 ohms.
>W = 0.045*1.2 = 0.054 watts.

---

P = Iled (Vin - Vled) = 0.045A * (30V - 1.2V) ~ 1.3 watts

---

>
>http://www.qsl.net/n4xy/PDFs/Semiconductor_Data_Sheets/4n35_37.pdf
>
>P.S.
> Might be advisable to use a zener diode of around 30 volts so
>that it can be protected from reverse voltage exceeding (Vr)
>6 and forward voltages exceeding 30 volts.

---
Missed this, did you:?

View in Courier:

1/2 WATT
30V----+--[1000]--+------>4.7V
| |K
[MOTOR] [1N5230B]
| |
GND>---+----------+------>GND

JF

Similar ThreadsPosted
Converting from 30V to 5V or less September 19, 2008, 9:15 am
Converting dBs into dBms? April 26, 2006, 7:06 am
Converting 7v DC to 7v AC at 50-60Hz October 16, 2008, 12:56 pm
Converting a Headlight into a Lamp August 5, 2004, 3:47 am
Converting A Cassette Recorder? January 11, 2005, 3:16 pm
converting probles to clamp-on July 18, 2005, 7:00 am
Converting .dwg or .dxf to a gerber file for Futurlec March 17, 2005, 1:54 am
Problem: converting a PWM signal voltage using an op-amp November 10, 2005, 9:09 pm
Converting Ladder to cmos logic October 27, 2008, 12:00 am
Converting Ladder to cmos logic October 27, 2008, 6:01 am
Converting balanced audio output for an unbalanced input 5m away February 4, 2005, 3:40 am
device for converting binary strings into states for switches May 16, 2006, 8:10 am
converting a DC power supply to lower voltage and current - help! July 9, 2007, 5:04 pm
Device Suggestsions for Converting 220/50Hz to 120/60Hz While in Chile? October 10, 2007, 11:44 am
Converting battery operated switch toys to 3-12v power supply(555 IC) November 17, 2005, 6:06 am