TOP Contributors

  1. MIKROE (2779 codes)
  2. Alcides Ramos (376 codes)
  3. Shawon Shahryiar (307 codes)
  4. jm_palomino (118 codes)
  5. Bugz Bensce (97 codes)
  6. S P (73 codes)
  7. dany (71 codes)
  8. MikroBUS.NET Team (35 codes)
  9. NART SCHINACKOW (34 codes)
  10. Armstrong Subero (27 codes)

Most Downloaded

  1. Timer Calculator (139559 times)
  2. FAT32 Library (72040 times)
  3. Network Ethernet Library (57254 times)
  4. USB Device Library (47607 times)
  5. Network WiFi Library (43219 times)
  6. FT800 Library (42551 times)
  7. GSM click (29930 times)
  8. mikroSDK (28292 times)
  9. PID Library (26930 times)
  10. microSD click (26308 times)
Libstock prefers package manager

Package Manager

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]

< Back
Project

mikroC ESP8266 NTP Clock

Rating:

1

Author: Farrukh Hussain

Last Updated: 2020-01-16

Package Version: 1.0.0.0

Category: WiFi

Downloaded: 458 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.

No Abuse Reported

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

  • Information
  • Comments (0)
DOWNLOAD LINK RELATED COMPILER CONTAINS
mikroC PRO for PIC
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc

Project Blog

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. 


 

Demonstration

here is demonstration of my esp8266 interfacing with PIC microcontroller.

Watch on YouTube

ALSO FROM THIS AUTHOR

PIC16 esp8266 Adafruit IO -publish sensor data via MQTT

0

In this example, I demonstrated ESP8266 interfacing, how you can easily interface ESP8266 without AT commands, first i show interfacing with Arduino and then interfacing with a PIC microcontroller, PIC16 programmed in mikroC, there is nothing chip specific, so you are free to use any mikroC compiler and any supported microcontroller.

[Learn More]