resistenace output from PIC

Hi guys, just a quick question, if i tell the unit that if it see power from say pin "8" and to output a resistance from pin say "13" can it do that internally with using a external resistor ?

Thanks

How does one output resistance?

I was thinking a digital potentiometer type of thing ? maybe

I probably don't understand your question. If it is "Is it possible to drive a digital potentiometer?", the answer is yes, the pin numbers are not relevant for this question although you probably need more than one pin to control the digi-pot.

Maybe expand your question to what you are trying to accomplish.

Also, why are you asking about a PIC on an Arduino forum?

epsilon:
internally with using a external resistor

... what?

You'd be better posting what your trying to accomplish from a broader perspective.

hey guys, thanks for replying ! let me be a bit more clear. What i want to do is when the chip sees a "HIGH" signal on a pin it outputs a resistance value on another pin.

Example:Pin 8 and 12 are linked: push button and it sends 12V+ to pin 8....then pin 12 sends 10K resistance, wasn't sure if it could all be done with a UNO board (i was probably thinking a microprocessor that does allot from within the chip) . I would need the resistance to be programmed and changed via software for different applications....sure i could just add the resistors to the board but the board will have other components as well like relays, diodes and LEDs. If i add more to the board it will be a bit bigger. A digital potentiometer will take less space and offer many types of resistance.

I used the word PIC in reference to the style of the chip like what the UNO has...yes another company owns that name but it was like saying..."i'm about to sneeze, give me a Kleenex" :slight_smile:

it outputs a resistance value on another pin

No. Elastictrickery simply doesn't work like that.

Can you explain what you are trying to achieve, not how you think the mechanism ought to work?

epsilon:
A digital potentiometer will take less space and offer many types of resistance.

A digital potentiometer / multiple resistors is the only way to do what you describe, but I still don't understand why are trying to do this. What is it you are doing, not how you want to do it?

epsilon:
I used the word PIC in reference to the style of the chip like what the UNO has...yes another company owns that name but it was like saying..."i'm about to sneeze, give me a Kleenex" :slight_smile:

I don't see how this analogy applies. The only things I know of as PICs are PICs. It is not an universally accepted term like Kleenex.

Hi guys, the project I’m working on:

I have woodshop with a table saw, router table..etc and flat belt (big tread mill) that drives the wood to the table saw that has 4 values of speed that’s controlled with potentiometer.

What i want to do adjust the resistance so when i put a piece of wood on the belt drive the resistance is automatic from my inputs that way my help cant crank the speed up ruining wood. Digital Control in a way.

But i want to do the same with another belt that for some reason it uses different resistance values, so i would have to test that and control it.

'Scuse the pun, but that just ain't gonna cut it :wink:

The amount of power that is flowing through the rheostat (not potentiometer - that would get fried) would cause the Arduino (or anything similar, including a PIC) to literally explode.

You need a device which can control the amount of power flowing to the motor which can be controlled by a low voltage digital source. Then the UNO can tell that device to control the amount of power going to the motor, which will control the speed.

But i want to do the same with another belt that for some reason it uses different resistance values, so i would have to test that and control it.

If the 2nd belt/motor already has a motor-speed control, a digital potentiometer might work. A speed control is more than a pot.

You'd need to measure (or find) the resistance the existing pot, and the voltage across it. From that, you can calculate the power dissipated in the pot, and determine if the digital pot can handle the same voltage & power.

If there is no motor-speed control, you can look-up how to build one. But, different types of motors are controlled differently. And, you are likely to burn-out a few parts experimenting with high-voltage & high-power.

Then, you need an opto-isolator. For your safety (and the safety of the Arduino) YOU MUST ISOLATE THE ARDUINO FROM THE AC POWER!

I used the word PIC in reference to the style of the chip like what the UNO has...yes another company owns that name but it was like saying..."i'm about to sneeze, give me a Kleenex"

These are "microcontroller" or "microprocessor" chips. PIC and Arduino are NOT generic terms... It's like saying Toyota on a Honda forum... :wink:

lol majenko.

The saw has a box with resistors to the motor so there is a "soft" point i can tap into from the UNO without harming it but the UNO is 5V in and 5V out...correct ?

Thanks for clearing up the PIC terminology, i now know :slight_smile: