-->
Page 1 of 2

Is there a way to change a pin's voltage?

PostPosted: Mon May 25, 2015 3:00 pm
by dayzman
Using the SDK, is there a way to change a pin's voltage? I come from Arduino and it's quite easy there.

Thanks!

Re: Is there a way to change a pin's voltage?

PostPosted: Mon May 25, 2015 3:13 pm
by martinayotte
What do you means by changing voltage ? to make pins becoming 5V tolerant ? No, they have maximum VIH of 3.6V ...

Re: Is there a way to change a pin's voltage?

PostPosted: Mon May 25, 2015 3:16 pm
by dayzman
martinayotte wrote:What do you means by changing voltage ? to make pins becoming 5V tolerant ? No, they have maximum VIH of 3.6V ...


No, as in to output 1V or any arbitrary voltage (under 3.6V) from the pin. For instance, how could an JFET be controlled by an ESP?

Re: Is there a way to change a pin's voltage?

PostPosted: Mon May 25, 2015 3:23 pm
by martinayotte
You mean some Analog Outputs ? The Arduino doesn't provide that, except by outputing PWM, and you will need to add filter caps and op-amp ...
How many outputs you need ? Maybe it is better to attach real DAC to an I2C bus, such as MCP4725.