How to read data through uart
How to read data through uart
Postby ildo » Wed Nov 23, 2016 7:05 pm
Hello, I'm using a esp8266 with bluetooth hm10 connected on the pins, I happen to be trying to use mesh demo. I wanted to know how I can read the data through uart?. Data received from bluetooth. There is a ready method for this?
Thanks.
Thanks.
Re: How to read data through uart
Postby pratik » Sun Nov 27, 2016 1:36 pm
Please check out the header file uart.h in driver folder of your SDK. Youc an understand the functions from their names itself... and use them to receive data 

Re: How to read data through uart
Postby ESP_Alen » Mon Dec 05, 2016 12:24 pm
pratik wrote:Please check out the header file uart.h in driver folder of your SDK. Youc an understand the functions from their names itself... and use them to receive data
Hi, thanks very much for your support for customer.
-
- Posts: 1
- Joined: Sat Dec 03, 2016 9:21 pm
Sending the command "AT", But it is replaying Char 'A', Why?
Postby logindtechnologies » Mon Dec 05, 2016 1:26 pm
Hi,
I am trying to interface Esp8266 Wi-Fi(ESP-01 Black) module with STM32f769Disco evaluation board. I developed the UART code using Hal_Driver and AC6 Tool. I updated the latest firmware (AI-v0.9.5.0 AT Firmware.bin) using Esp flash tool to Esp8266 module. Then i checked the Wifi module using Putty Terminal on PC, it is working properly. But when i giving the AT command to ESP Wifi module using STM32F769 Disco evaluation board, the ESP Module sending ack char 'A'. I know that wifi module is not processing the AT command when i interfacing with Microcontroller, but the same AT command is working properly and sending the ack command "OK" when using with Putty Terminal on PC. Kindly someone help me to solve this problem.
I am trying to interface Esp8266 Wi-Fi(ESP-01 Black) module with STM32f769Disco evaluation board. I developed the UART code using Hal_Driver and AC6 Tool. I updated the latest firmware (AI-v0.9.5.0 AT Firmware.bin) using Esp flash tool to Esp8266 module. Then i checked the Wifi module using Putty Terminal on PC, it is working properly. But when i giving the AT command to ESP Wifi module using STM32F769 Disco evaluation board, the ESP Module sending ack char 'A'. I know that wifi module is not processing the AT command when i interfacing with Microcontroller, but the same AT command is working properly and sending the ack command "OK" when using with Putty Terminal on PC. Kindly someone help me to solve this problem.
Re: How to read data through uart
Postby pratik » Sun Dec 11, 2016 12:24 pm
Please follow these debugging steps to solve your issue:
1. Make sure connections are correct, i.e. ESP-01 is enabled and running. And Rx pin of ESP-01 will conenct to Tx pin of STM, Tx pin of ESP-01 connects to Rx pin of STM.
2. Send AT commands to PC terminal using STM. If you can see the commands on your PC terminal, means that your STM is sending the commands correctly.
3. By the way, there is more recent firmware versions available on the Espressif ESP8266 page, please check those out!
1. Make sure connections are correct, i.e. ESP-01 is enabled and running. And Rx pin of ESP-01 will conenct to Tx pin of STM, Tx pin of ESP-01 connects to Rx pin of STM.
2. Send AT commands to PC terminal using STM. If you can see the commands on your PC terminal, means that your STM is sending the commands correctly.
3. By the way, there is more recent firmware versions available on the Espressif ESP8266 page, please check those out!
Who is online
Users browsing this forum: No registered users and 56 guests
Login
Newbies Start Here
Are you new to ESP8266?
Unsure what to do?
Dunno where to start?
Start right here!
Latest SDK
Documentation
Complete listing of the official ESP8266 related documentation release by ESPRESSIF!
Must read here!
- All times are UTC+08:00
- Top
- Delete all board cookies
About Us
Espressif Systems is a fabless semiconductor company providing cutting-edge low power WiFi SoCs and wireless solutions for wireless communications and Internet of Things applications. We are the manufacturer of ESP8266EX.