Skip to main content
2 votes
Accepted

Digital Pot with Arduino

If you look at the datasheet it mentions that Vcc can be from 2.5V to 5.5V, and clearly the I2C connection is referenced to Gnd. Therefore you would connect the Uno to the DS3502 in the usual way (Gnd,...
Nick Gammon's user avatar
  • 38.4k
1 vote

Why do I need to connect a potentiometer to a +5V source in 1602 tutorial?

VO controls the contrast of the LCD, which is quite temperature-dependent. You can get away with a fixed resistor between VO and GND because of the built-in resistor between VCC and VO, producing a ...
the busybee's user avatar
  • 2,088
1 vote

Why is my LED strip value always equal to 255 on my potentiometer?

There are at least these errors in your code: 1. You cannot read back the analog value set to a pin. You try this: analogWrite(ledPinR, map(adcValue, 0, 1023, 0, 255)); (redlev = ledPinR); // ...
the busybee's user avatar
  • 2,088
1 vote

Using Internal Timer Interrupt to Read Analog Sensor

First, read Nick Gammon's answer: all his points are perfectly valid. He notes that the serial prints can be quite slow. And indeed, as I counted the characters, I find that the prints should take at ...
Edgar Bonet's user avatar
  • 43.3k

Only top scored, non community-wiki answers of a minimum length are eligible