Jump to content

Resistor on ain


superdavies
 Share

Recommended Posts

Hi

For my project I need to use a 6 way position curson for driving an ain.

All AIN input need to have a pot and a pot is a variable resistor so I thought that if I put 6 resistors in the 6 pin of the curson with value 0,2.2k,3,9k,5,6k,8,2k,10k I i'll obtain my result. But my problem is with the connection.

Pots have 3 pin and my "modified 6 position curson have 2 pin, the first is the common, and the second is the other pin connected to all resistors that can be selected with the cursor; what about the third pin?

Help's useful! Thank you!

Andrea

Link to comment
Share on other sites

Hi Andrea,

is this a switch which provides a common pin, which can be select between 6 terminals?

Then you could connect it the same way like shown in this schematic:

rotary_switch.gif

The resistors are connected between the terminals, and the common pin is connected to the analog input.

Best Regards, Thorsten.

Link to comment
Share on other sites

Ok, I understand!

Now it's clear...it's a sort of simulaton of a pot but done with resistors!

Thank you very much, another time!!!

I have another question regarding an additional midi in port: I have seen the midimerger project and also the IIC midi that provide additional midi in for the midibox and I have seen that both use the RA4 port of the PIC...this is my question: If I use this port of my midibox64 for driving a 6n138 ecc connected to another midiin port does it work or I need another PIC for doing this?

Bye

Andrea

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...