-->
Page 1 of 1

NodeMCU virtual button

PostPosted: Thu May 10, 2018 4:23 pm
by hisbullaha
hey guys i have a project about IC PT2256, thats IC was Audio volume digital potentiometer.
the IC dont have I2C connection but only need 2 button that bridge them to groung.
I wondering can control the IC with NodeMCU, so what must i do? making virtual ground or virtual button
if make virtual button, NPN Transistor as switch or Relay Module

Thank you :D

Re: NodeMCU virtual button

PostPosted: Thu May 10, 2018 10:33 pm
by rudy
hisbullaha wrote:NPN Transistor as switch or Relay Module


Use transistors. NPN with base resistors, or logic level mosfets that only require 3 volts gate drive. Don't bother with relays unless you need isolation between the two circuits. Even then I would use optocouplers instead of relays.