Это видео недоступно.
Сожалеем об этом.

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

Комментарии • 24

  • @Dasol0246
    @Dasol0246 Год назад

    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

  • @Tolya421.
    @Tolya421. 3 года назад

    Класс! Очень помог, спасибо!

    • @TechToTinker
      @TechToTinker  3 года назад

      @Анатолий Нестеров, Рада что вам понравилось. Спасибо

  • @AvilaGtz
    @AvilaGtz 3 года назад

    Very good video series. Please, add the ethernet module with micropython.

    • @TechToTinker
      @TechToTinker  3 года назад

      @AvilaGTZ, I don't have ethernet module but why you need the ethernet if you have wifi?

  • @capiberra4118
    @capiberra4118 Год назад

    Interesting tutorial, thanks. However, you dont seem to mention the LCD display in the bill of materials. Did I miss something?

  • @gordonfrank
    @gordonfrank 2 года назад +1

    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?

    • @TechToTinker
      @TechToTinker  2 года назад

      I2C protocol can share a communication bus provided that every I2C device has unique I2C address.

  • @telsonlancycrasta
    @telsonlancycrasta Год назад

    Traceback (most recent call last):
    File "", line 6, in
    File "ds3231.py", line 5
    IndentationError: unexpected indent
    this error is shown

  • @effevee
    @effevee 3 года назад

    Great video again :-)
    Just one question, where did you download the rotary_irq module you use in your example #2 ?

    • @TechToTinker
      @TechToTinker  3 года назад

      @Frank Vergote, you may follow that from here: ruclips.net/video/hAU23t7IkLM/видео.html. Thanks.

    • @effevee
      @effevee 3 года назад

      @@TechToTinker I mean the micropython driver library rotary_irq that is used in example #2. There is no link in your blogpost for that.

    • @TechToTinker
      @TechToTinker  3 года назад

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

    • @effevee
      @effevee 3 года назад

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

    • @effevee
      @effevee 3 года назад

      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.

  • @Tolya421.
    @Tolya421. 3 года назад

    Скажите пожалуиста какая функция устанавливает на часы системное время компьютера

    • @TechToTinker
      @TechToTinker  3 года назад

      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)

  • @iRobot22
    @iRobot22 2 года назад

    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

    • @TechToTinker
      @TechToTinker  2 года назад

      Have you follow the instruction in the video?

    • @iRobot22
      @iRobot22 2 года назад

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

    • @TechToTinker
      @TechToTinker  2 года назад

      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.

    • @iRobot22
      @iRobot22 2 года назад +1

      Thank you very much. It has finally worked

    • @TechToTinker
      @TechToTinker  2 года назад

      @@iRobot22 great. Thanks for letting me know. Cheers.