Testing AT commands, raspberrypi UART connection to ESP8266
Posted: Sat Sep 25, 2021 2:53 am
Hi!
thanks for this forum, been looking for a solution.
I plugged my ESP8266 [https://en.wikipedia.org/wiki/ESP8266]board [] I had got cheap few years back and wanted to try using UART for raspberrypi3
Connected GND of both pi and ESP to GND pins.
Connected Vcc and CH_PD pins of ESP to 3.3v pins.
I was hoping to see response using pyserial library but I get nothing.
>>> import serial
>>> ser = serial.Serial()
>>> ser.timeout = 3
>>> ser.baudrate = 9600
>>> ser.port = '/dev/ttyAMA0'
>>> ser.open()
>>> ser.write('AT\r\n')
thanks for this forum, been looking for a solution.
I plugged my ESP8266 [https://en.wikipedia.org/wiki/ESP8266]board [] I had got cheap few years back and wanted to try using UART for raspberrypi3
Connected GND of both pi and ESP to GND pins.
Connected Vcc and CH_PD pins of ESP to 3.3v pins.
I was hoping to see response using pyserial library but I get nothing.
>>> import serial
>>> ser = serial.Serial()
>>> ser.timeout = 3
>>> ser.baudrate = 9600
>>> ser.port = '/dev/ttyAMA0'
>>> ser.open()
>>> ser.write('AT\r\n')