Problem with a digital potentiometer application

I am a beginner when it comes to electronics, coding and things like that (this is practically the first time I have done anything like this), so when building an application that is supposed to vibrate a vibration motor with a strength based on the distance measurement made by the ultrasonic rangefinder, I bumped up with a problem.The MCP 41010 digital potentiometer seems to let electricity through only when it is given a SPI.transfer(128). Any other number stops the flow of electricity completely.I have tried some addresses such as 00, 0x00, ...Read more

potentiometer - Continous rotary input?

I need something to work as an input for a rotary device. It must be able to rotate continously, accurate to a degree of rotation, and so that any extra full rotation will have no effect on the input, a+360 is the same as a. With no limit of rotations as well.So I have found no potentiometer that does that. And rotary encoders never have so many levels. I thought about doing it mechanically, and the using something kind of pressure potentiometer like this one to transmit any rotation of my mechanical devic...Read more

Potentiometer Puzzle - TIG Pedal

I'm looking at a brand new foot pedal for a Tungsten Inert Gas (TIG) welder. This foot pedal uses cascading potentiometers to send a signal to the welder control system. I'm getting unusual results when I verify the pedal using a Volt Ohm Meter. I'm measuring resistance between the wiper terminal and 'ground' terminal on the pot. Pedal off = 0 ohms, slight push 5K ohms ,push more... 10k up to 12.5k ohms at 3/4 full push. If I go beyond that however, the resistance reduces from 12.5k down to 1.6k This is a brand new pedal (yup, off of ebay.)...Read more

midi - Unexpected value change of 2nd Potentiometer

I'm trying to connect 2 potentiometer (10k) and pass their value to Hairless Midi software (For Serial to Midi Bridge) the first pot is working fine but the second pot's value keep on changing and when i move around the knob of pot1 the value of pot 2 also changes.I have tried reading the value twice but no luck....My code:void setup(){ Serial.begin(9600); }void loop(){ analogRead(0); val = analogRead(0)/8; // Divide by 8 to get range of 0-127 for midi if (val > lastVal+1 or val < lastVal+1 ) { MIDImessage(176,1,val);} ...Read more

Trying to use an LCD 1602 to display, but I don't have a 10 KOhm potentiometer

I'm following this tutorial page and I don't have a 10k ohm potentiometer on hand. Could I replace it with resistors to simulate a manual setting and replace the resistors to adjust to a new settings.From what I was reading this pin is for contrast and I'm sure I could manually set the contrast once and be happy with it for quick prototyping. I'll be ordering a 10k ohm potentiometer on Monday....Read more

potentiometer - Constantly read analog in in SWITCH/CASE setup

I'm writing a program with three different cases. Case one an LED is off, in another it is on and in the last case the brightness is controlled by a potentiometer. Each case works as I press the button. The issue I am having is with the third case. The potentiometer is read only once and the LED is set accordingly. I would like the LED to be adjusted continuously until the button is pushed again and the case is switched to off. I used the Serial.print to see the valves read from the potentiometer. I verified its only read once on each cycle thr...Read more

potentiometer - Arduino control peristaltic pump

I'm working with a colleague to digitally control an old peristaltic pump using a digital potentiometer. The existing pump controller has a mechanical potentiometer and we are trying to replace it with an MCP4131-103.Can anyone lend some insight on the types of questions we should be asking before doing a direct replacement? We have already burned a couple and I suspect we are wiring it incorrectly or using an under-rated IC. One measurement we already have is that the voltage across the A-B of the mechanical pot during operation is about 10V (...Read more

kirchhoffs laws - Potentiometer Working

Let's suppose that \$E \gt V\$. Now, the voltage \$V_b\$ at point \$b\$ will always be \$V\$ and will not depend on \$E\$.Similarly the voltage \$V_A\$ at point \$A\$ is \$V_E\$ which will be negative in order to make potential difference across the galvanometer wire equal to \$V\$.My question is that why, at point \$b\$, \$E\$ has no effect on \$V_b\$?Also, is it true that if \$E>V\$ then the current will be supplied by \$E\$ and not \$V\$?The potential at c =0...Read more

potentiometer - How to amplify the resistivity range of a rheostat

I have a black box DC to AC inverter with a 5 kΩ linear taper pot wired to it that acts as an LED light dimmer. I have no idea how the circuitry of the black box is composed - it is encased in a potting compound. The pot is wired up to the wiper and one end (like a rheostat) and the lights get brighter as the resistance increases.I want to control the dimmer with an original dimmer switch. Unfortunately the original dimmer rheostat only has a 10Ω linear taper range – just a wiper across a wire coil and the resistance decreases as I turn the kn...Read more

Potentiometer won't work

I'm trying to get the potentiometer seen at the top left of the photo to work, essentially as a dimmer. I've managed to upload the Arduino sketch, but it isn't working. Any help would be greatly appreciated!NB: I have little-to-no electronics experience so my understanding of jargon is limited.Thanks!/* SENSOR_LIGHTS: Potentiometer >> LED (Single Channel Script) This example dims light levels using an LED on pin 11 and a potentiometer on A0. Created by Ryan Achten | SOMA | This example code is in the public domain. */int ...Read more

Potentiometer with switch wiring question. Not reading correctly

I have a potentiometer with switch, that seems to be working a little wonky (Keep in mind I have tried this with a few different pots and they all behave the same way which leads me to believe I am wiring them wrong).I can easily hookup the potentiometer and it's three terminals on the side, 1 being ground, 2 being output, 3 being input power. I can monitor it's value on a serial port with Arduino. However when I try and test the switch, which are two terminals on the bottom of the pot. I get an on signal when the pot is on, but when it is cl...Read more