Use this forum to chat about hardware specific topics for the ESP8266 (peripherals, memory, clocks, JTAG, programming)

User avatar
By peut
#78115 HI,
You may be able to use the ESP01 by using GPIO 0 and 2.
Using the example, change

Code: Select all#define NOVARX 13
#define NOVATX 12


to

Code: Select all#define NOVARX 0
#define NOVATX 2


You may also want to look at the SDS library at https://github.com/lewapek/sds-dust-sen ... no-library which can be installed by looking for SDS in the Arduino library manager.
That library supports hardware serial, so you can use the "normal"RX and TX pins.

Good luck!