Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

4-contact wind-vane to 8-light box

Status
Not open for further replies.
philba said:
I think the 2016 is a high side driver (check me on that, it's not totally clear to me from the datasheet) so you will need to use the "inverted" output of the '154.

hi Phil,
Checking the NTE2016 data dosn't say its a high side driver.

On the point about how this worked before electronics - I think there has to be an elegant solution there.
I feel sure that the cams produced the 'code' for the 8 lamps.

Drop the inverters. There are 16 output combinations from the cam switches.
Regarding the number of switches, I'm wondering if the metal frame is the common of the 4 contact sets???

Look at my earlier EXAMP.pdf, it shows 4 switches driving the 8 lamps.
 
Last edited:
the 2016 has a common cathode pin. perhaps I was confused by that terminology. what is common to that pin - the emitters of the darlingtons or the collectors. If it means common cathode driver then you are probably right. Also, what does the term PMOS mean in the datasheet?

which examp showed driving 8 lamps. I only saw 4.
 
the 4 wire output is a result of the N.O. contact switches closing due to raised bars on cam. there are 4 raised "bars" around the cam such that only one bar or two bars are pressing 1 or 2 active contact switches at any given time, so the 4 switches produce only 8 possibilities total due to the layout of the raised bars around the cam. the possibilities are listed in my truth table up top. the ones with <NA> are the ones that are not possible. '1's are indicating when a switch is closed by action of the raised cam bars. So it is only possible to have 1 or 2 '1's in the truth table. The ones with three, four or no 1's are <NA> - not possible.

I'm using the 2019, instead of the 2016.

And rereading Eric's post about not dropping voltage in a controlled way, if only one lamp is lit at a time, isn't this controlled? Or does having 1 switch closed produce a different voltage than having two switches closed, even if only one lamp will ever be ultimately lit? I don't think it's a big deal using a step-down regulator, just wondering.

As for the terminals on the cam, 4 connect to the switches, and one is voltage i.e, power most likely has to go through the cam housing - and out the switches - no way around that, right?

My original pic showed 8 lamps. re-read my lengthly previous post for the test scenerio which only hooked up 4 lamps to the four cam terminals to prove the operation of the lamps. In short, with only 4 lamps hooked up, the N lamp AND the E lamp turn on when the cam is in the 'NE' position of 45 degrees. When the cam is at 90 deg, ONLY the E lamp turns on. The inventor of the 8 light box added 4 more lamps to the original 4 so that they could (somehow) eliminate the "N" and "E" lamps lighting simultaneously and instead light up that new "NE" lamp.

I feel you guys are on the right track for sure - I can understand the solution so far, I just don't have the ability to know what is right for caps, resistors, and such for 'proper' circuit design and implementation. This I'm listening to with great enthusiasm! (and learning again)

I still don't know what you mean by "encoded". I feel my truth table explains every possible situation in a digital form quite succinctly. But If you have a moment, can you explain what you mean by that and how it is still not clear? I will further describe the device if necessary. Thanks!!!!
 
Last edited:
I'm working on the breadboard now. Thanks so much.

What about the 74hc14 - there's only 6 inverters, i need 8 - but can't reuse two as you show, right? Or do I get 3 chips (2 for the pre-2019, and 1 for the pre-154)
 
Last edited:
LAJay said:
I'm working on the breadboard now. Thanks so much.

What about the 74hc14 - there's only 6 inverters, i need 8 - but can't reuse two as you show, right? Or do I get 3 chips (2 for the pre-2019, and 1 for the pre-154)

Hi,
The 2019 is suitable for 6V input signals.

The invertors have 6 invertors per ic. Use one 74HC14 [all 6 gates] and the other 74HC14 has 2 spare gates making 8, the number you require to drive the the 2019.

As Phil points out, you could drop the 4 invertors connected to the input of the 74HC154 and figure out which 154 output is active low for given switch contacts.

As I suspected the housing is the common 0V return for the switches, which will be at 0V for the logic, no problem.

Regarding the +6V regulation, you could, if you are confident that a resistor from the 12Vdc line will give you a constant +6V. [I wouldn't]

The HC series will operate from a +2V to +6V, so you must not exceed +6V after the dropping resistor, BUT also the 2019 expects inputs of at least +6V, so there is a close cross over point.

For the low cost of a 7806 reg I would use one to give a regulated +6V

If you had not got on the shelf the 154 and 2019 I would have suggested a simplier circuit.

Lets know how it goes.

EDIT: Would you be interested in considering a simplier circuit at this time?? Posted for reference....
 
Last edited:
heck yea. that is simpler. if i can find the hef4514 in the stores...

Just to verify:

1) now, it's more important i stay with a regulated power supply, right? or should i put the regulator back in (yea, i agree with you, it's low cost) or did you take it out because i said i would use a regulated supply?

2) And the "1KO" is 1K ohm resistors, right? all 4 goes to 12v right?

3) what wattage for the 1K's?

4) on the '514, pin 1 and 24 go to 12v and pin 12 and 23 goes to ground?

And lastly, since I think all my current lamps are 6v (240ma was what one was drawing at 6v), and i would have to buy 8 new ones, but before i do, i want to see the brightness with one as a test. **OR** - is there now an easy way to step the voltage back down to 6v - maybe simply using a 6v power supply? but i know the 2019 need 6v...... so..... any other options easily? I forget what's the point of using the 12v lamps instead of 6v besides lower power?
 
Last edited:
LAJay said:
heck yea. that is simpler. if i can find the hef4514 in the stores...

Just to verify:

1) now, it's more important i stay with a regulated power supply, right? or should i put the regulator back in (yea, i agree with you, it's low cost) or did you take it out because i said i would use a regulated supply?
If you use the HEF4514 it works from +12V, so you dont need the +6Vreg

2) And the "1KO" is 1K ohm resistors, right? all 4 goes to 12v right?
Using the 4514 the 1KOs goto +12V

3) what wattage for the 1K's?
Quarter Watt [0.25W] ,, eg: 12V/1000R= 12mA.... 12V * 12mA = 0.144W

4) on the '514, pin 1 and 24 go to 12v and pin 12 and 23 goes to ground?
Thats correct

And lastly, since I think all my current lamps are 6v (240ma was what one was drawing at 6v), and i would have to buy 8 new ones, but before i do, i want to see the brightness with one as a test. **OR** - is there now an easy way to step the voltage back down to 6v - maybe simply using a 6v power supply? but i know the 2019 need 6v...... so..... any other options easily? I forget what's the point of using the 12v lamps instead of 6v besides lower power?
Why dont you calculate a resistor value that will drop the +12V to the lamp voltage?
eg: R=V/I .... 6V/0.24A = 25R.... W= V * I = 6V * 0.24A =1.44W say 2Watt
.
Connect the single, 2W, 25R resistor between the +12V and the lamp supply.
Remember there is only one lamp lit at any one time.

Does this help

EDIT: see pic ref lamps. The 27R is nearest pref value [ should read npv... not ppf]!

A thought, If you have a spare 6V 0.24A lamp, use that as the dropper resistor!.
 
Last edited:
Status
Not open for further replies.

Latest threads

New Articles From Microcontroller Tips

Back
Top