7 specific volatges to to 1,n,2,3,4,5,6 numbers in Alpha-num

Guest
What I am attempting is to take 7 specific voltages, and display
certain numbers for these specific voltages on an alpha-numeric
display.

What I currently have is a resistor ladder that breaks up the voltage.
The resistors form a ladder that breaks up the 5v from a voltage
regulator into reference signals to determine at what voltages an
LM339N will use to ground each corresponding LED. It use 1% resistors
to make sure I get exact reference voltages because in the higher gears
the signal is very close and there is not much gap between voltages.
The output voltages from the sensor are as follows
1st gear = 1.782v
2nd gear = 2.242v
3rd gear = 2.960v
4th gear = 3.630v
5th gear = 4.310v
6th gear = 4.660v
Neutral = 5.000v
The comparators in this circuit will turn on each LED as follows:
1st LED = Anything over 1.022v
2nd LED = Anything over 2.043v
3rd LED = Anything over 2.660v
4th LED = Anything over 3.356v
5th LED = Anything over 4.052v
6th LED = Anything over 4.526v

I now want to take thes voltages and convert them to show the proper
gear on an alpha-numeric display.

How can I turn what I have working in to alpha numeric?

Or, Do I have to start a whole new circuit. Something that takes the
voltage and turns it into a digital signal and then sends to an A/N LED
display.
 
Anyone with a good idea feel free to post schematic, as it will help me
make sense of all this.
 
<b.clarke@persona.ca

yes it is for a motorbike, GSXR actually.

** LED displays are rendered in invisible in average daylight.




........ Phil
 
<b.clarke@persona.ca> wrote in message
news:1139188697.505064.222810@g14g2000cwa.googlegroups.com...
yes it is for a motorbike, GSXR actually.

Love that line about the program with soldering iron. I have no fear
in programming with a computer, I actually do this for a
living(computers) but not electronics.

I just need to know what chips to use for my soldering iron Basc
language.
And seven segment is enough as an "n" can be made.
Since you have digital outputs from your comparators, if you don't want to
send them to a PIC and do some code-crunching, send these to an EPROM as the
address lines and use the outputs to drive the seven-segment display.
Program the EPROM to suit.

Cheers.

Ken
 
On 5 Feb 2006 15:23:44 -0800, b.clarke@persona.ca put finger to
keyboard and composed:

Anyone with a good idea feel free to post schematic, as it will help me
make sense of all this.
You could probably do everything with a single PICAXE-18X chip:
http://www.rev-ed.co.uk/docs/axe001_xparts.pdf

The PICAXE has a built-in ADC and an on-chip BASIC interpreter. No
comparators would be needed, only the LED digit, and driver
transistors for each segment. The chip can be programmed via a PC
serial port.

- Franc Zabkar
--
Please remove one 'i' from my address when replying by email.
 
Jasen Betts wrote:
On 2006-02-05, Poxy <pox@poxymail.com> wrote:
b.clarke@persona.ca wrote:
What I am attempting is to take 7 specific voltages, and display
certain numbers for these specific voltages on an alpha-numeric
display.

What I currently have is a resistor ladder that breaks up the
voltage. The resistors form a ladder that breaks up the 5v from a
voltage regulator into reference signals to determine at what
voltages an LM339N will use to ground each corresponding LED. It
use 1% resistors to make sure I get exact reference voltages
because in the higher gears the signal is very close and there is
not much gap between voltages. The output voltages from the sensor
are as follows 1st gear = 1.782v
2nd gear = 2.242v
3rd gear = 2.960v
4th gear = 3.630v
5th gear = 4.310v
6th gear = 4.660v
Neutral = 5.000v
The comparators in this circuit will turn on each LED as follows:
1st LED = Anything over 1.022v
2nd LED = Anything over 2.043v
3rd LED = Anything over 2.660v
4th LED = Anything over 3.356v
5th LED = Anything over 4.052v
6th LED = Anything over 4.526v

I now want to take thes voltages and convert them to show the proper
gear on an alpha-numeric display.

How can I turn what I have working in to alpha numeric?

Or, Do I have to start a whole new circuit. Something that takes
the voltage and turns it into a digital signal and then sends to an
A/N LED display.

How about using a LM3914 in dot mode with each output driving the
required pins of the LED display via diodes?

you'd need an extra level of buffering. AIUI the 3914 has
current-limited outputs which would make the "6" dimmer than the "1"
True.
 
On Mon, 6 Feb 2006 12:25:50 +1100, "Phil Allison"
<philallison@tpg.com.au> wrote:

b.clarke@persona.ca

yes it is for a motorbike, GSXR actually.


** LED displays are rendered in invisible in average daylight.
LOL, yeah, tell that to the traffic light designers and message board
manufacturers. I suppose the auto manufacturers are wrong too, as are
the manufacturers of truck indicator and stop lights.

....... Phil
 
"The Real Andy"

= Andrew Pearson:


Andy is a despicable, chronic alcoholic, anencephalic, autistic moron from
Brisbane.

Then there are his bad points.


BTW

Anyone can try a typical 7 segment LED display in bright daylight and see
the outcome.





......... Phil
 
On 2006-02-06, b.clarke@persona.ca <b.clarke@persona.ca> wrote:
yes it is for a motorbike, GSXR actually.

Love that line about the program with soldering iron.
The line's not mine unforunately I encountered it in one of the
*.electronics* newsgroups last week.

I have no fear in programming with a computer, I actually do this for a
living(computers) but not electronics.

I just need to know what chips to use for my soldering iron Basc
language.
ISTR someone has already offered a list including part numbers.
I don't see the priority encoder chip in the Jaycar catalogue (paper)
but someone offered a part number and I expect they can nominate a source
for the part too.

And seven segment is enough as an "n" can be made.
getting the 'n' will probably need to be done separately from the rest of the
task.

for the 'n' three small diodes (1N914),a 1k resistor and a cheap transistor
should be sufficient, (in addition to your existing setup , the 7-seg
display and its resistors)


If you want to go the microcontroller route this is an ideal first project
(no interrupts, just a simple loop reading the dac and comparing the input
with a list of numbers, looking up another list of bit-patterns and sending
out the output)

being an Atmel user myself I'd say use a ATtiny26 microcontroller ($8nz)
(Jaycar doesn't list that part, but an industrial place near me has it
http://www.sicom.co.nz) 7 resistors (to limit the LED current) and a
common anode 7 segment display, a resonator to clock it, and a pin header
for the programer, power supply, connectors for your other harware etc...

The chip will run off 2.7-6V so your exisiting 5V would work.

for a programmer the silicon chip kit looks good, but there are cheaper
parallel port progrmmers that work well too,

This looks like the official atmel in-circuit programmer circuit,
which I have used, and had no problems with: 1 74HC244 chip (mine
has the markings sanded off) and 3 passives
<http://www.lancos.com/e2p/avrisp-stk200.gif> ) and theres
plenty of free software out there.

The chip has an internal clock that could be used instead of the resonator
but it takes a more complex programmer to activate the clock.

The chip has flash memory for the program so your $8 gets you potentially
1000 tries to get your software right.

There's free C and Asssmber tools. there'a a BASIC too, dunno if it's free
(it's for windows which I dislike, and I prefer C to BASIC anyway), but it
seems to pop up on P2P searches....

If you decide to use a PIC instead I'd reccomend you get or build a decent
programmer those serial-port powered ones are kind of flaky, but the ones
that are powered externally work well.

Bye.
Jasen
 
On Mon, 6 Feb 2006 21:33:39 +1100, "Phil Allison"
<philallison@tpg.com.au> wrote:

"The Real Andy"

= Andrew Pearson:


Andy is a despicable, chronic alcoholic, anencephalic, autistic moron from
Brisbane.

Then there are his bad points.
YAWN....

BTW

Anyone can try a typical 7 segment LED display in bright daylight and see
the outcome.
Quote from Phil
"** LED displays are rendered in invisible in average
daylight."
 
On Mon, 6 Feb 2006 22:34:56 +1100, "Phil Allison"
<philallison@tpg.com.au> wrote:

"The Real Andy"


** Run out of little kiddies to molest have you - Andy ??

Or just getting over another MONSTER hangover ???

Or is it both ??


BTW

Andrew Pearson:

We all know you are just another autistic *FUCKWIT* electrician from
Brisbane with a FUCKED attitude to everything.
YAWN......
 
Would a PIC16LF84A-04I/P or a PIC16F873A-I/SP accomplish this as I can
get samples of these only so far.
 
b.clarke@persona.ca wrote:
Would a PIC16LF84A-04I/P or a PIC16F873A-I/SP accomplish this as I can
get samples of these only so far.
The 16F873 has an internal ADC so yes it is suitable. The 16LF84 does
not have an ADC so you can't easily use it.
Depending on the precision required you may need an external voltage
reference for the ADC.

A PICAXE would be much better if you have not used a microcontroller
before, much easier to program.

Dave :)
 
b.clarke@persona.ca wrote:
Going to order the PICAXE, but do I need the 18, 18X or the 18A.
You need one with an ADC, so that the 18X or 18A will work. The 18X has
more memory if you need it.

Also can I feed it the voltage right from the sensor output?
Yes, but use a series resistor and capacitor to ground to filter out
any noise.
Technically the 5.08V input from the sensor could be more than the 5V
rail (which is also the ADC reference), but the ADC will most likely
return a full scale value in this case.

Or do I have to do something special to it so it can read acurrately
and do the approriate action.
Not likely, but...
Your 5V regulator could be anywhere from 4.75V to 5.25V so if you want
to accurately measure those gear voltages you may have to "calibrate"
the ADC by measuring the actual regulator voltage and using that in
your source code as the scale factor.
How much will each gear voltage vary by?

Who ever said that the PICAXE is easy to learn is right. Fairly basic
programming and compiler that come with it are good to.
That's what it's designed for.

Dave :)
 
On 5 Feb 2006 10:39:30 -0800, b.clarke@persona.ca put finger to
keyboard and composed:

What I am attempting is to take 7 specific voltages, and display
certain numbers for these specific voltages on an alpha-numeric
display.

What I currently have is a resistor ladder that breaks up the voltage.
The resistors form a ladder that breaks up the 5v from a voltage
regulator into reference signals to determine at what voltages an
LM339N will use to ground each corresponding LED. It use 1% resistors
to make sure I get exact reference voltages because in the higher gears
the signal is very close and there is not much gap between voltages.
The output voltages from the sensor are as follows
1st gear = 1.782v
2nd gear = 2.242v
3rd gear = 2.960v
4th gear = 3.630v
5th gear = 4.310v
6th gear = 4.660v
Neutral = 5.000v
The comparators in this circuit will turn on each LED as follows:
1st LED = Anything over 1.022v
2nd LED = Anything over 2.043v
3rd LED = Anything over 2.660v
4th LED = Anything over 3.356v
5th LED = Anything over 4.052v
6th LED = Anything over 4.526v

I now want to take thes voltages and convert them to show the proper
gear on an alpha-numeric display.

How can I turn what I have working in to alpha numeric?

Or, Do I have to start a whole new circuit. Something that takes the
voltage and turns it into a digital signal and then sends to an A/N LED
display.
Use the comparator outputs to drive a 74LS148 8-line-to-3-line
priority encoder (or something similar), and then follow this with a
BCD-to-7 segment decoder/driver. I'd use an additional comparator to
detect neutral, and then apply this signal to the enable input of the
74148 so that the display is blanked.

- Franc Zabkar
--
Please remove one 'i' from my address when replying by email.
 
b.clarke@persona.ca wrote:
What I am attempting is to take 7 specific voltages, and display
certain numbers for these specific voltages on an alpha-numeric
display.

What I currently have is a resistor ladder that breaks up the voltage.
The resistors form a ladder that breaks up the 5v from a voltage
regulator into reference signals to determine at what voltages an
LM339N will use to ground each corresponding LED. It use 1% resistors
to make sure I get exact reference voltages because in the higher
gears the signal is very close and there is not much gap between
voltages. The output voltages from the sensor are as follows
1st gear = 1.782v
2nd gear = 2.242v
3rd gear = 2.960v
4th gear = 3.630v
5th gear = 4.310v
6th gear = 4.660v
Neutral = 5.000v
The comparators in this circuit will turn on each LED as follows:
1st LED = Anything over 1.022v
2nd LED = Anything over 2.043v
3rd LED = Anything over 2.660v
4th LED = Anything over 3.356v
5th LED = Anything over 4.052v
6th LED = Anything over 4.526v

I now want to take thes voltages and convert them to show the proper
gear on an alpha-numeric display.

How can I turn what I have working in to alpha numeric?

Or, Do I have to start a whole new circuit. Something that takes the
voltage and turns it into a digital signal and then sends to an A/N
LED display.
How about using a LM3914 in dot mode with each output driving the required
pins of the LED display via diodes?
 
On 2006-02-05, b.clarke@persona.ca <b.clarke@persona.ca> wrote:
What I am attempting is to take 7 specific voltages, and display
certain numbers for these specific voltages on an alpha-numeric
display.

What I currently have is a resistor ladder that breaks up the voltage.
The resistors form a ladder that breaks up the 5v from a voltage
regulator into reference signals to determine at what voltages an
LM339N will use to ground each corresponding LED. It use 1% resistors
to make sure I get exact reference voltages because in the higher gears
the signal is very close and there is not much gap between voltages.
The output voltages from the sensor are as follows
1st gear = 1.782v
2nd gear = 2.242v
3rd gear = 2.960v
4th gear = 3.630v
5th gear = 4.310v
6th gear = 4.660v
Neutral = 5.000v
I'd consider using different resistors to get a more even spread.

The comparators in this circuit will turn on each LED as follows:
1st LED = Anything over 1.022v
2nd LED = Anything over 2.043v
3rd LED = Anything over 2.660v
4th LED = Anything over 3.356v
5th LED = Anything over 4.052v
6th LED = Anything over 4.526v

How can I turn what I have working in to alpha numeric?
run that output into a priority encoder chip and then the output from that
into a BCD to 7-segment chip.
neutral will need to be a special case.done with a bunch of gates...

It's that or use a microcontroller, it depends on how much space you have
and wether you prefer to program with a soldering iron or a keyboard.
a microcontroller with a DAC in it would obsolete your lm339 comparators...

Is this is for a motorbike?

Or, Do I have to start a whole new circuit. Something that takes the
voltage and turns it into a digital signal and then sends to an A/N LED
display.
A/N = alphanumeric? is 7-segment enough?
_ _ _
| _| _| |_| |_ _
| |_ _| | _| | |

(view with a fixed pitch font like courier)

Bye.
Jasen
 
yes it is for a motorbike, GSXR actually.

Love that line about the program with soldering iron. I have no fear
in programming with a computer, I actually do this for a
living(computers) but not electronics.

I just need to know what chips to use for my soldering iron Basc
language.
And seven segment is enough as an "n" can be made.
 
On 2006-02-05, Poxy <pox@poxymail.com> wrote:
b.clarke@persona.ca wrote:
What I am attempting is to take 7 specific voltages, and display
certain numbers for these specific voltages on an alpha-numeric
display.

What I currently have is a resistor ladder that breaks up the voltage.
The resistors form a ladder that breaks up the 5v from a voltage
regulator into reference signals to determine at what voltages an
LM339N will use to ground each corresponding LED. It use 1% resistors
to make sure I get exact reference voltages because in the higher
gears the signal is very close and there is not much gap between
voltages. The output voltages from the sensor are as follows
1st gear = 1.782v
2nd gear = 2.242v
3rd gear = 2.960v
4th gear = 3.630v
5th gear = 4.310v
6th gear = 4.660v
Neutral = 5.000v
The comparators in this circuit will turn on each LED as follows:
1st LED = Anything over 1.022v
2nd LED = Anything over 2.043v
3rd LED = Anything over 2.660v
4th LED = Anything over 3.356v
5th LED = Anything over 4.052v
6th LED = Anything over 4.526v

I now want to take thes voltages and convert them to show the proper
gear on an alpha-numeric display.

How can I turn what I have working in to alpha numeric?

Or, Do I have to start a whole new circuit. Something that takes the
voltage and turns it into a digital signal and then sends to an A/N
LED display.

How about using a LM3914 in dot mode with each output driving the required
pins of the LED display via diodes?
you'd need an extra level of buffering. AIUI the 3914 has current-limited
outputs which would make the "6" dimmer than the "1"

--

Bye.
Jasen
 
"The Real Andy"


** Run out of little kiddies to molest have you - Andy ??

Or just getting over another MONSTER hangover ???

Or is it both ??


BTW

Andrew Pearson:

We all know you are just another autistic *FUCKWIT* electrician from
Brisbane with a FUCKED attitude to everything.




........ Phil
 

Welcome to EDABoard.com

Sponsor

Back
Top