Hi Chris: <br><br>Well, that is true. That is why I was thinking I could get a multiplexer to have three different channels. I have a analog joystick that has to run a pan tilt camera. <br><br>Switch 1 (closed)= 5Volts<br>

Switch 2 (open) = 0Volts<br>2.5 Volts - is the common. (so when no switch is pushed, this is the output)<br><br>I would like to use a PIC (as its easier) however, my company says they do not want to use a Microcontroller. So I am looking into other options. <br>

<br>- Alison<br><br><br><br>&nbsp;|&nbsp;&nbsp; On Fri, Dec 19, 2008 at 3:16 PM, Chris Vecchio<span dir="ltr">&lt;<a href="mailto:cvecchio@noisemantra.com" target="_blank">cvecchio@noisemantra.com</a>&gt;</span> <br>&nbsp;|&nbsp;&nbsp; wrote:<br><div class="gmail_quote">
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>Binary logic is, well, binary - either 1 or 0 and no in between. <br>The chips are often designed to prevent any ambiguous voltages (like 2.5).<br><br>What exactly are you trying to do?<br>There may be a simple analog way to do it <br>

(like making a D/A converter with some <br>resistors to give you voltages in between 0 and 5V). <br><br>No switches closed = 2.5V, one switch closed = ?<br><br>&nbsp;&nbsp;&nbsp;&nbsp; - Chris <br>&nbsp;&nbsp;&nbsp;&nbsp; <a href="http://www.noisemantra.com" target="_blank">www.noisemantra.com</a><br>

<br><br><br><br>
<br>
<table border="0" cellpadding="1" cellspacing="7"><tbody><tr><td bgcolor="#789be0"><div style="width: 1px;">&nbsp;</div></td><td><div><div></div><div>-------Original Message-------<br>
From: Alison Lewis <br>
Subject: Re: [dorkbotnyc-blabber] Looking for the right off-the shelf component<br>
Sent: 19 Dec &#39;08 20:48<br>
<br>
Lee:<br><br>Can I ask you something about these NOR gate ICs - I have one now (74HCT4002) and its pretty easy. But what if you have three states and only one output? I&#39;ve tried a number of options, but it seems to me that I can only get either HI or LOW outputs from this IC. I&#39;d like to have HI, LOW, and Middle (2.5V). I am thinking that a multiplexer is the right way to go, but I wanted to ask you first since you seem to know pretty well.<br>


<br>All my best,<br>Alison<br><br><br><div class="gmail_quote">On Mon, Nov 24, 2008 at 11:22 AM, Lee von Kraus <span dir="ltr">&lt;<a href="mailto:leevonk@gmail.com" target="_blank">leevonk@gmail.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
use &#39;nor gate&#39; ICs like the IC 7402<br><br>description:<br><a href="http://hyperphysics.phy-astr.gsu.edu/Hbase/Electronic/nor.html" target="_blank">http://hyperphysics.phy-astr.gsu.edu/Hbase/Electronic/nor.html</a><br>


<br>where to buy:<br>
<a href="http://search.digikey.com/scripts/DkSearch/dksus.dll?Detail?name=DM7402N-ND" target="_blank">http://search.digikey.com/scripts/DkSearch/dksus.dll?Detail?name=DM7402N-ND</a><br><br>-Lee<br><br><br><br><div class="gmail_quote">


<div><div></div><div>On Mon, Nov 24, 2008 at 11:07 AM, Alison Lewis <span dir="ltr">&lt;<a href="mailto:lewischicken@gmail.com" target="_blank">lewischicken@gmail.com</a>&gt;</span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div></div><div>Hi all:<br><br>I&#39;ve been asked to hack into a sensor that has four contacts (it acts somewhat like a hand built joystick to control a moving image). Basically, I am looking for a simple circuit that can do logic to know if any of the four contacts are closed. If they are all open, then it should send out 2.5 Volts. I can program a PIC to do this, but I was hoping there was an off the shelf solution out there somewhere. I was also thinking a timer could do the trick, but I am open to other suggestions if you have any. <br>




<br>Thank You,<br><font color="#888888">Alison<br><br>
</font><br></div></div>........................................................................<br>
.........dorkbot: people doing strange things with electricity..........<br>
..........................<a href="http://dorkbot.org." target="_blank">http://dorkbot.org.</a>...........................<br>
........................................................................<br>
<br></blockquote></div><br>
<br>........................................................................<br>
.........dorkbot: people doing strange things with electricity..........<br>
..........................<a href="http://dorkbot.org." target="_blank">http://dorkbot.org.</a>...........................<br>
........................................................................<br>
<br></blockquote></div><br><br clear="all"><br>-- <br>::::::::::::::::::::::::::::::::::::<br><a href="http://www.alisonlewis.com" target="_blank">www.alisonlewis.com</a><br><a href="http://www.iheartswitch.com" target="_blank">www.iheartswitch.com</a><br>


::::::::::::::::::::::::::::::::::::<br>
</div></div><hr style="height: 1px;" noshade><div>........................................................................<br>
.........dorkbot: people doing strange things with electricity..........<br>
..........................<a href="http://dorkbot.org." target="_blank">http://dorkbot.org.</a>...........................<br>
........................................................................<br>
</div></td></tr></tbody></table>
<br>........................................................................<br>
.........dorkbot: people doing strange things with electricity..........<br>
..........................<a href="http://dorkbot.org." target="_blank">http://dorkbot.org.</a>...........................<br>
........................................................................<br>
<br></blockquote></div><br><br clear="all"><br>-- <br>::::::::::::::::::::::::::::::::::::<br><a href="http://www.alisonlewis.com" target="_blank">www.alisonlewis.com</a><br><a href="http://www.iheartswitch.com" target="_blank">www.iheartswitch.com</a><br>

::::::::::::::::::::::::::::::::::::<br>