We strongly encourage users to use Package manager for sharing their code on Libstock website, because it boosts your efficiency and leaves the end user with no room for error. [more info]
Rating:
Author: Farrukh Hussain
Last Updated: 2020-01-16
Package Version: 1.0.0.0
Category: WiFi
Downloaded: 453 times
Not followed.
License: MIT license
In this project, I connected PIC18F452 to an ESP8266 via UART, programmed ESP8266 separately via Arduino and PIC is programmmed via mikroC Pro for PIC, you can select any PICxx microcontroller, or even AVR or something else, whatever MCU is supported by mikroC, if microcontroller support UART, it should be good to go.
Do you want to subscribe in order to receive notifications regarding "mikroC ESP8266 NTP Clock" changes.
Do you want to unsubscribe in order to stop receiving notifications regarding "mikroC ESP8266 NTP Clock" changes.
Do you want to report abuse regarding "mikroC ESP8266 NTP Clock".
DOWNLOAD LINK | RELATED COMPILER | CONTAINS |
---|---|---|
1579150473_mikroc_esp8266_n_mikroc_pic.zip [76.60KB] | mikroC PRO for PIC |
|
LCD connected to microcontroller display WiFi SSID, IP of esp8266 and time received from NTP server. If your selected microcontroller has small RAM, then consider smaller JSON packets. There is nothing specific to PIC, so you are free to use any mickroC compiler, just set appropriate LCD connections if you need LCD, otherwise juse remove LCD code, it is only for demonstration purpose.
I wasn't able to find any JSON parser for mikroC, so I have written my own basic function to extract key value pairs from simple JSON formatted data. Please STOP using AT commands, that is waste of time and effort, program ESP8266 separately and then connect it to any microcontroller.
here is demonstration of my esp8266 interfacing with PIC microcontroller.
Watch on YouTube