Navigation

    M5Stack Community

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    1. Home
    2. simoc
    S
    • Continue chat with simoc
    • Start new chat with simoc
    • Flag Profile
    • Profile
    • Following
    • Followers
    • Blocks
    • Topics
    • Posts
    • Best
    • Groups
    Save
    Saving

    simoc

    @simoc

    0
    Reputation
    3
    Posts
    55
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    simoc Follow

    Posts made by simoc

    • Flashlight Module: How to use it with PWM

      Dear forum members,

      I hope this message finds you all well. Currently, I am working in a project that involves utilizing the M5Stack Timer Camera F within the ESP-IDF (Espressif IoT Development Framework) environment. As I progress with my project, I have encountered a problem regarding the functionality and proper usage of the FlashLight module, which operates through a 1-wire interface.

      I have looked at the example, but I was unable to reproduce the behavior in the ESP-IDF environment.

      Based on the documentation provided for the UNIT FlashLight module , it is mentioned that the module can be controlled using PWM (Pulse Width Modulation) techniques. I was able to use the flashlight using pwm on the "S" pin of the module. However, I have noticed that in practice, achieving smooth regulation of the light intensity is proving challenging. When attempting to use smaller values for duty cycles, the light fails to power on. Additionally, it appears that the module primarily functions reliably for higher duty cycles.

      I would greatly appreciate any insights, experiences, or suggestions you may have in addressing this matter. If anyone has successfully used the UNIT FlashLight module with the ESP-IDF environment and has overcome similar challenges, your input would be immensely helpful.

      Thank you in advance for your valuable time and support.

      Best regards,

      Simone

      posted in PRODUCTS
      S
      simoc
    • RE: M5stack Timer Camera F: advice on using power.isCharging()

      Dear @felmue

      Thank you very much for your quick response!

      Unfortunately, it is what I expected, but you were very kind!

      Best,
      Simoc

      posted in PRODUCTS
      S
      simoc
    • M5stack Timer Camera F: advice on using power.isCharging()

      Hello everyone,

      I'm currently working on a project using the M5Stack Timer Camera F board with the ESP-IDF (Espressif IoT Development Framework) environment. I need to determine whether the device is currently charging or not, and I came across the power.isCharging() function provided by the M5Stack library.

      However, since I'm using the ESP-IDF and there is no mention of the timer camera in the library documentation, I'm unsure how to correctly use this function within my project or if it is possible at all.

      Could someone please guide me on how to use the power.isCharging() function in the M5Stack Timer Camera F with the ESP-IDF environment? Specifically, I'm interested in understanding the necessary setup and any additional configurations or code snippets required to access this functionality.

      Any advice, examples, or insights would be greatly appreciated.

      Thank you in advance for your help!

      Best regards,
      Simone

      posted in PRODUCTS
      S
      simoc