Jump to content
43oh

dqn

Members
  • Content Count

    5
  • Joined

  • Last visited

Everything posted by dqn

  1. Hi ! I'm using TM4C123GXL connect with esp8266 using AT command How can I send publish / subscribe MQTT packet and then get data from server ? Because I saw in http://public.dhe.ibm.com/software/dw/webservices/ws-mqtt/mqtt-v3r1.html#publish, the message is built in bytes Is there esp8266 library for TM4C123GXL ? Thank you.very much
  2. Hi, I just discover I need to set Both NL&CR beside 115200 baud rates
  3. Hi, thank for all responses. When program start, esp8266's led is blinking, so I think it's not about the current which TM4C supplies, when I try Serial2.begin(9600), it doesn't show anything , when I try both Serial with 115200 baud rates, it show just like example above I have try "AT" and "AT+GMR" but nothing happen at all, it reads and shows exactly character that I send to it.
  4. Hi!, I'm try to connect tm4c123gxl with esp8266: esp8266 tm4c GND GND VCC +3.3V CH_PD +3.3V Rx PD7 (Tx 2) Tx PD6 (Rx 2) I tested with "AT" command, if it's success, it will return "OK". Here is my code: void setup() { Serial2.begin(115200); Serial.begin(9600); Serial2.write("AT"); } //------------------------------------------------------------ void loop() { while (Serial2.available()){ char result = Serial2.read(); Serial.print("Serial2 result:\t"); Serial.print(result); Serial.print
  5. Hello ! I'm a student, I wonder if tm4c123gxl can write firmware to esp8266, because I see tm4c has Tx and Rx pins, or I have to buy a USB to TTL ? Here is my firmware I want to flash to esp8266 https://github.com/tuanpmt/esp_mqtt Thank you very much
×
×
  • Create New...