How to read data through uart

ildo
Posts: 1
Joined: Wed Nov 23, 2016 6:43 pm

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.

pratik

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 :)

ESP_Alen

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.

logindtechnologies
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.

pratik

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!

Who is online

Users browsing this forum: No registered users and 56 guests