0

First question: Since we can control the volts that we can throw via PWM pins on Arduino, can we use it to power the 3.3 V ESP8266?

Second question: Can we also use these PWM pins as software serial pins i.e. they will be sending instructions at 3.3 V?

per1234's user avatar
per1234
4,2982 gold badges24 silver badges44 bronze badges
askedOct 2, 2015 at 7:06
Talha's user avatar

1 Answer1

2

First question, Since we can control the volts that we can throw via PWM pins on Arduino, can we use it to power the 3.3v ESP8266?

No. The ESP8266 drawsfar too much current (in excess of 200mA) to use anything other than a proper supply.

Second question, Can we also use these PWM pins as Software serial pins i.e. they will be sending instructions at 3.3v?

We'll drop the "also", since we've decided that you're not doing that.

You can use SoftwareSerial on any GPIO pins you like, provided the RX pin supports pin change interrupts.

answeredOct 2, 2015 at 7:13
Ignacio Vazquez-Abrams's user avatar
2
  • 1
    and... the answer to the "sending instructions at 3.3V" will also be... No! setting the output voltage to 3.3V in a PWM output means to tell the board to send a series of 5V pulses so that, IN AVERAGE, the voltage is 3.3V. seePWM on wikipedia for more infoCommentedOct 2, 2015 at 9:40
  • Dont forget: Sending a 5V signal via serial connection to your ESP will destroy him !!! Use two resistors (2 * 10k) to divide your voltage (will work with 9600 baud)CommentedOct 2, 2015 at 12:58

Your Answer

Sign up orlog in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

By clicking “Post Your Answer”, you agree to ourterms of service and acknowledge you have read ourprivacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.