Search found 12 matches
- Sun Dec 08, 2019 10:52 am
- Forum: ESP32 boards
- Topic: use 32k from ds3231 as external rtc clock on esp32
- Replies: 2
- Views: 2689
Re: use 32k from ds3231 as external rtc clock on esp32
Thanks Peter, actually i'm using your library, which is very convenient, thanks for it ! but i'm experiencing an issue : - if i adjust the internal RTC from ds3231 with get_time not so often (a few minutes) : each time i get a jump of 1 or 2 sec - if i adjust often, like every seconds, all my cpu ti...
- Fri Dec 06, 2019 6:33 pm
- Forum: ESP32 boards
- Topic: use 32k from ds3231 as external rtc clock on esp32
- Replies: 2
- Views: 2689
use 32k from ds3231 as external rtc clock on esp32
Hi, i'm using for an astronomical clock project an ESP32 with an external rtc ( DS3231 ) i had to do this because of the lack of precision of the rtc of the esp. i noticed since i'm using the lightsleep function, an error of about 1% (!) : more than one second every 2 minutes. :shock: i saw there is...
- Fri Jun 28, 2019 9:09 pm
- Forum: General Discussion and Questions
- Topic: double precision float on ESP8266
- Replies: 30
- Views: 19502
Re: double precision float on ESP32
it worked
and i'm with 64bit float
thanks a lot !
Matthieu
and i'm with 64bit float
Code: Select all
>>> 10/3
3.333333333333333
>>> 2*math.acos(0)
3.141592653589793
Matthieu
- Fri Jun 28, 2019 7:24 pm
- Forum: General Discussion and Questions
- Topic: double precision float on ESP8266
- Replies: 30
- Views: 19502
Re: double precision float on ESP32
Hey, so i restarted the building from beginning, following this : http://www.microdev.it/wp/en/2018/08/08/esp32-micropython-compiling-for-esp32/ the build went on but stopped on an Error 1 : (...) Traceback (most recent call last): File "/home/matthieu/esp32/esp-idf/tools/ldgen/ldgen.py", line 22, i...
- Wed Jun 26, 2019 9:46 am
- Forum: General Discussion and Questions
- Topic: double precision float on ESP8266
- Replies: 30
- Views: 19502
Re: double precision float on ESP8266 -> ESP32
hey maybe i have to start a new thread for this issue but i cannot build esp32 FW. installed xtensa, esp-idf matthieu@heronux:~/esp/micropython/ports/esp32$ make V=1 fatal: cannot change to '-s': Aucun fichier ou dossier de ce type ** WARNING ** The git hash of ESP IDF does not match the supported v...
- Wed Jun 26, 2019 7:43 am
- Forum: General Discussion and Questions
- Topic: double precision float on ESP8266
- Replies: 30
- Views: 19502
Re: double precision float on ESP8266
Thanks for the hint Roberthh, but i need first to understand how to build the FW.
- Tue Jun 25, 2019 1:17 pm
- Forum: General Discussion and Questions
- Topic: double precision float on ESP8266
- Replies: 30
- Views: 19502
Re: double precision float on ESP8266
Hello, i just purchased an ESP32-WROOM-32, to try the Roberthh's solution : compile custom FW with double float on ESP32. But actually, i need help for that... What do i need ? (sources, compiler..) How to get it work ? sorry but my knowledge in micro-controller is just enough to flash regular FW Th...
- Wed May 22, 2019 8:29 am
- Forum: General Discussion and Questions
- Topic: double precision float on ESP8266
- Replies: 30
- Views: 19502
Re: double precision float on ESP8266
The Pyboard D SF6W has hardware double precision FP. As far as I know the other ports which implement it do it in software. Astronomical work definitely needs DP, especially if you get into things like predicting solar eclipses... Thanks, good to know ! But not the same budget.. And actually i can ...
- Tue May 21, 2019 10:00 pm
- Forum: General Discussion and Questions
- Topic: double precision float on ESP8266
- Replies: 30
- Views: 19502
Re: double precision float on ESP8266
Roberthh : ok then i'll purchase an esp32 to try this. Thanks for helping! ThomasChr : actually i first planned to do this using arduino. And i found out that "single" float was really not enough. That made me move for Python. For example, in astronomical computing, the date/time are expressed in "j...
- Tue May 21, 2019 6:50 pm
- Forum: General Discussion and Questions
- Topic: double precision float on ESP8266
- Replies: 30
- Views: 19502
Re: double precision float on ESP8266
Micropython for ESP32 is not different to that for ESP8266. It is only faster and has more RAM. Only you have to build the firmware with double precision float yourself, since there are not suitable pre-built images. People (like me) here can help you to get such an firmware image. Just to be sure ...