ESP32 GPIO 34/ GPIO35 softwareserial problem.

thienluan
Posts: 9
Joined: Mon Jan 08, 2018 3:42 am

ESP32 GPIO 34/ GPIO35 softwareserial problem.

Postby thienluan » Mon Jul 16, 2018 7:17 am

Dear ESP supporters,

I'm working with ESP32-D2WD. I used several GPIO pins (such as GPIO4) as a SoftwareSerial RX port. It worked very well.

I would like to know why the GPIO34, GPIO35 cannot be used as SoftwareSerial RX ports? Here is the symptom of using GPIO34 as UART RX. It read the first byte well. However, from the second bytes, the read values were wrong.

P/S: The GPIO34, GPIO35 can work well with the HardwareSerial definition but not with the SoftwareSerial. I also attach the SoftwareSerial library with this post.
Attachments
espsoftwareserial.zip
(6.24 KiB) Downloaded 622 times

User avatar
martinayotte
Posts: 141
Joined: Fri Nov 13, 2015 4:27 pm

Re: ESP32 GPIO 34/ GPIO35 softwareserial problem.

Postby martinayotte » Wed Jul 18, 2018 2:09 pm

GPIO34 to GPIO39 are "Input Only" ...

WiFive
Posts: 3529
Joined: Tue Dec 01, 2015 7:35 am

Re: ESP32 GPIO 34/ GPIO35 softwareserial problem.

Postby WiFive » Wed Jul 18, 2018 8:20 pm

martinayotte wrote:GPIO34 to GPIO39 are "Input Only" ...
He said RX

Who is online

Users browsing this forum: No registered users and 103 guests