-->
Page 1 of 4

NTP client

PostPosted: Thu Nov 27, 2014 6:27 pm
by ohgary
Anyone have an arduino talking to the esp8266 chip to pull current NTP data?

Gary

Re: NTP client

PostPosted: Fri Nov 28, 2014 1:03 pm
by djkraz
I am wondering about this too! I have it so it is making the request, and it does get a reply however it drops everything after the first couple bytes received in the response. I have a usb/ttl cable hooked up so I can see that it is sending the full 48 byte response to the arduino, it's just that the arduino looses it and I've tried everything I can think of aside from changing the baud rate but I'm not sure if that will help as I'm no pro at this...

Re: NTP client

PostPosted: Sun Nov 30, 2014 9:33 pm
by djkraz
OK, I finally had a chance to try changing the baud rate and VOILA!!! Setting it to 115200 using "AT+CIOBAUD=115200" makes it work now!!!

I will post the full code once I have a chance to clean up my hundreds of lines of test and debug code..lol

Re: NTP client

PostPosted: Sat Dec 13, 2014 1:51 pm
by Wendo
djkraz, are you still planning to post your NTP code?

I'd love to see if rather than trying to roll my own.

Thanks