dqn 0 Posted July 16, 2016 Share Posted July 16, 2016 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.println(""); } } But It just print 2 lines and nothing elseSerial2 result: ASerial2 result: T Quote Link to post Share on other sites
Rei Vilo 695 Posted July 16, 2016 Share Posted July 16, 2016 The ESP8266 requires up to 375 mA. Check the regulator on the LaunchPad can supply as much current. Have you considered the CC3100 BoosterPack instead? Quote Link to post Share on other sites
L.R.A 78 Posted July 16, 2016 Share Posted July 16, 2016 Also note that the programmer + TM4C can take up in total up to 150mA or something.Altough the programmer should not consume much while idle Quote Link to post Share on other sites
Rei Vilo 695 Posted July 16, 2016 Share Posted July 16, 2016 See similar thread at ESP8266 with MSP430G2553 launchpad - Energia - MSP - 43oh. Quote Link to post Share on other sites
dqn 0 Posted July 16, 2016 Author Share Posted July 16, 2016 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 aboveI have try "AT" and "AT+GMR" but nothing happen at all, it reads and shows exactly character that I send to it. Quote Link to post Share on other sites
dqn 0 Posted July 16, 2016 Author Share Posted July 16, 2016 Hi, I just discover I need to set Both NL&CR beside 115200 baud rates Quote Link to post Share on other sites
L.R.A 78 Posted July 16, 2016 Share Posted July 16, 2016 I had exactly the same trouble a minute ago with a HC-05 xd Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.