Search found 9 matches

by unicorn
Mon May 03, 2021 3:33 pm
Forum: Hardware
Topic: ESP32 and digital pot X9C102
Replies: 11
Views: 13341

Re: ESP32 and digital pot X9C102

OK got it sorted. (I don't like reading post that have no solution.) I had the output from the two pots totally separate with two wires each, and measured the resistance of each separate pair, and was getting the false readings without touching either the +5v or ground wires or any metal part of the...
by unicorn
Mon May 03, 2021 10:21 am
Forum: Hardware
Topic: ESP32 and digital pot X9C102
Replies: 11
Views: 13341

Re: ESP32 and digital pot X9C102

No it dosen't need the USB lead. Cut one for nothing. I get the same results with the 5v power supplied to the +5v and Gnd pins on the ESP32. Didn't notice that before. So now back to why dose me touching the metalwork make it work correctly. Strange.
by unicorn
Sun May 02, 2021 8:48 pm
Forum: Hardware
Topic: ESP32 and digital pot X9C102
Replies: 11
Views: 13341

Re: ESP32 and digital pot X9C102

I found this Exiting Idle State The host includes 15 kΩ pull-down resistors on each data line. When no device is connected, this pulls both data lines low into the so-called "single-ended zero" state (SE0 in the USB documentation), and indicates a reset or disconnected connection. A USB device pulls...
by unicorn
Sun May 02, 2021 7:57 pm
Forum: Hardware
Topic: ESP32 and digital pot X9C102
Replies: 11
Views: 13341

Re: ESP32 and digital pot X9C102

Ah, progress....I sacrificed a USB lead cutting the type A plug off and powering the ESP board via the red / black outer wires. Same problem existed, but when I touched the casing of the ESP32 chip shield or the mini usb socket shield, I got the correct readings from the digital pots. The same corre...
by unicorn
Sun May 02, 2021 2:25 pm
Forum: Hardware
Topic: ESP32 and digital pot X9C102
Replies: 11
Views: 13341

Re: ESP32 and digital pot X9C102

I know I said in my previous post that it works fine. WELL, I'm now at the dreaded problem where the circuit works as expected while connected to the laptop via USB, but wont work 'properly' when on external 5v PSU. I'm saying 'properly' because the code still runs ok but the resistance values from ...
by unicorn
Thu Apr 22, 2021 6:52 pm
Forum: Hardware
Topic: ESP32 and digital pot X9C102
Replies: 11
Views: 13341

Re: ESP32 and digital pot X9C102

Yip Had a quick look at that. I'll give it a go. I like the fact it can be used on an iphone, unlike MIT app maker which is just for android. Thanks again Becorey. Cheers
by unicorn
Sat Apr 17, 2021 8:50 am
Forum: Hardware
Topic: ESP32 and digital pot X9C102
Replies: 11
Views: 13341

Re: ESP32 and digital pot X9C102

Yip got it working. Thank you for your advice. I fed the pot from the 3.3v output on the ESP and used pins 4,16 &17 and now I can change the value of setting the pot in the code and reading the pots output on a multimeter. All good. Are you familiar with the MIT app designer tool ? My next area is t...
by unicorn
Thu Apr 15, 2021 7:08 pm
Forum: Hardware
Topic: ESP32 and digital pot X9C102
Replies: 11
Views: 13341

Re: ESP32 and digital pot X9C102

Hi Becory, I really appreciate you giving me your time. Can I paste a picture (.PNG) from my desktop in these replies? I've tried to copy & paste. Don't know how to use the insert image button. A problem I have is what pins on the ESP do I use, and how do I refer to them in code? I picked GIO pins 2...
by unicorn
Wed Apr 14, 2021 8:08 pm
Forum: Hardware
Topic: ESP32 and digital pot X9C102
Replies: 11
Views: 13341

ESP32 and digital pot X9C102

Hello all. I have a circuit which uses a 1k digital pot connected to an Arduino Uno board. I can set this pot to any value I desire locally, but I would like to be able to set its value remotely with my android phone, building the app using the MIT App Inventor program. So I now have a ESP WROOM - 3...