Это видео недоступно.
Сожалеем об этом.
030 - MicroPython TechNotes: DS3231 RTC
HTML-код
- Опубликовано: 21 апр 2021
- In this video, we will learn how to the DS3231 RTC module with ESP32 using MicroPython programming language.
For more details, visit my blog post at:
techtotinker.c...
OR watch the whole playlist:
• 000 - MicroPython Tech...
Please do Like, Comment, Share, and Subscribe.
Thank you.
- George Bantique | tech.to.tinker@gmail.com
#TechToTinker
#MicroPython #ESP32 #GorillaCell
#MicroPythonTutorials
---
MicroPython Tutorials
How to use DS3231 in MicroPython
How to use RTC in MicroPython
Thank you for your code and explanation, I have been able create a standalone sun Tracking program with continuous azimuth and elevation readout on oled, my next phase will be to add servo motors to the Pico so I can track the sun with a small solar panel
Класс! Очень помог, спасибо!
@Анатолий Нестеров, Рада что вам понравилось. Спасибо
Very good video series. Please, add the ethernet module with micropython.
@AvilaGTZ, I don't have ethernet module but why you need the ethernet if you have wifi?
Interesting tutorial, thanks. However, you dont seem to mention the LCD display in the bill of materials. Did I miss something?
So you are using same pins for the Screen as you are using for the DS3231 RTC ? Good to know you can do that. i plan to have a DS3231, and SD Card and BME280, all using I2C. Can they all use the same pins?
I2C protocol can share a communication bus provided that every I2C device has unique I2C address.
Traceback (most recent call last):
File "", line 6, in
File "ds3231.py", line 5
IndentationError: unexpected indent
this error is shown
Great video again :-)
Just one question, where did you download the rotary_irq module you use in your example #2 ?
@Frank Vergote, you may follow that from here: ruclips.net/video/hAU23t7IkLM/видео.html. Thanks.
@@TechToTinker I mean the micropython driver library rotary_irq that is used in example #2. There is no link in your blogpost for that.
@Frank Vergote, the library you are looking can be found in the link in video description of that video. ruclips.net/video/hAU23t7IkLM/видео.html
1. Follow the link to youtube.
2. Check and click the link in video description which brings you to the companion blog post where you can get the rotary library.
@@TechToTinker I did all that and got to your blogpost. In example #2 you use the library rotary_irq to handle the rotary encoder. However there is no link in your blogpost to this external library. Can you please provide the link.
ok, found it in that other video. But it would be helpfull if you add the link to the encoder library also in this blogpost. Thanks.
Скажите пожалуиста какая функция устанавливает на часы системное время компьютера
Check the Example # 1, there is a commented section at the bottom part. You should be interested in 2.
# 2. Set the current time
# ds.set_time(YYYY, MM, DD, HH, mm, ss, WD, YD)
# ds.set_time(2021, 04, 20, 08, 30, 00, 02, 00)
Please help me. After the start of DS3231_exemple#1.py
the following errors occur: ImportError: can't import name SoftI2C and ImportError: no module named 'ds3231'. For an answer I would be very grateful
Have you follow the instruction in the video?
@@TechToTinker Yes, have done, but my english is not so good.
I have tried with Thonny and VS code with same result. As I understand it, it is because of the path, although DS3231.py and DS3231_exemple#1.py are in one folder.
MicroPython is case sensitive hence, DS3231.py is different from ds3231.py.
The file ds3231.py should be saved in Micropython root directory. Copy that from #3 in the Source Code section.
Thank you very much. It has finally worked
@@iRobot22 great. Thanks for letting me know. Cheers.