RTC

MitchSF
Posts: 11
Joined: Sat Jun 17, 2017 11:30 am

RTC

Postby MitchSF » Wed Jun 28, 2017 12:05 pm

Hi All,

I understand that RTC functions are not yet part of the core. I just want to set and read the time. Would you please point me to an example that directly uses API calls to accomplish this? I haven't found any, at least any that I understand.

Thanks in advance.

User avatar
ESP_krzychb
Posts: 400
Joined: Sat Oct 01, 2016 9:05 am
Contact:

Re: RTC

Postby ESP_krzychb » Wed Jun 28, 2017 2:41 pm


MitchSF
Posts: 11
Joined: Sat Jun 17, 2017 11:30 am

Re: RTC

Postby MitchSF » Wed Jun 28, 2017 3:49 pm

Hi, thanks for the reply.

Is there a similar example for the Arduino core?

User avatar
ESP_krzychb
Posts: 400
Joined: Sat Oct 01, 2016 9:05 am
Contact:

Re: RTC

Postby ESP_krzychb » Wed Jun 28, 2017 8:58 pm

Sorry for missing this question is for Arduino.
I do not see similar example in Arduino repository, but I see some API implemented https://github.com/espressif/arduino-es ... hal-time.c.

f.h-f.s.
Posts: 215
Joined: Thu Dec 08, 2016 2:53 pm

Re: RTC

Postby f.h-f.s. » Wed Jun 28, 2017 10:08 pm

You can probably also call the same functions as in the esp-idf example in arduino.

MitchSF
Posts: 11
Joined: Sat Jun 17, 2017 11:30 am

Re: RTC

Postby MitchSF » Thu Jun 29, 2017 12:07 pm

Thank you. I'll see what I can do. Hopefully RTC support will come soon.

User avatar
rajkumar patel
Posts: 29
Joined: Mon Apr 10, 2017 12:43 pm
Location: india

Re: RTC

Postby rajkumar patel » Mon Jul 03, 2017 5:53 am

hi all,

this thread is too old and suggestions were of last year. is there any latest update regarding rtc and are APIs made available for rtc functionalities in current idf? :?:
Regards,
Rajkumar M. Patel

ESP_Sprite
Posts: 9757
Joined: Thu Nov 26, 2015 4:08 am

Re: RTC

Postby ESP_Sprite » Mon Jul 03, 2017 6:18 am

Errm... no? First of all, the thread is from a few days ago and secondly they're discussing Arduino, not esp-idf.

User avatar
rajkumar patel
Posts: 29
Joined: Mon Apr 10, 2017 12:43 pm
Location: india

Re: RTC

Postby rajkumar patel » Mon Jul 03, 2017 6:38 am

hi ESP_Sprite,

it's always great to hear from you ESP_sprite, thanks for quick response.
yeah, last post was made few days back only, but suggestions above that, were from 2016 dec or earlier.
sure, this RTC titled is having discussion for arduino rtc related stuff, but i posted here because in general search i didn't get any esp_idf rtc queries, so i posted here. :(

sir, my requirement is v.straight forward, i want to use rtc functionality, means set and get time from rtc module and for poweroff conditions i'm willing to put an extra button cell or any supply to keep my rtc ticking on.
could you please guide me by giving your valuable suggestions or comments on esp_idf rtc? :)
Regards,
Rajkumar M. Patel

User avatar
rajkumar patel
Posts: 29
Joined: Mon Apr 10, 2017 12:43 pm
Location: india

Re: RTC

Postby rajkumar patel » Mon Jul 03, 2017 6:48 am

heartily sorry,
i googled my query and i got directed to the arduino 32 forum and somehow, i missed the fact that i'm making looking under arduino discussion. i should rather have searched for this under esp32 sdk.
Regards,
Rajkumar M. Patel

Who is online

Users browsing this forum: No registered users and 133 guests