Navigation

    M5Stack Community

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

    Kees

    @Kees

    1
    Reputation
    18
    Posts
    575
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    Kees Follow

    Posts made by Kees

    • RE: Control first LED on neopixel strip with FastLED with M5Stack

      On Arduino using the M5Stack (in my case the Gray version) pin 21 is the pin to pass on to FastLed. For M5StickC it is pin 32.
      That the M5Stack shows a bright white light for the first LED seems to occur when one also uses the M5.Power.begin() command.
      This piece of code should work on both devices adjusted for the device in use:

      //#include <M5StickC.h>
      #include <M5Stack.h>
      #include "FastLED.h"
      
      CRGB leds[15];
      
      void setup() 
      {
      M5.begin();
          FastLED.addLeds<NEOPIXEL, 21>(leds, 15); // M5Stack Gray
          //FastLED.addLeds<NEOPIXEL, 32>(leds, 15); // M5StickC 
      }
      
      void loop()
      {
          static uint8_t hue = 0;
          if (255 == hue)
              hue = 0;
          else
              FastLED.showColor(CHSV(hue++, 255, 50));
          delay(50);
      }
      
      posted in Units
      K
      Kees
    • Control first LED on neopixel strip with FastLED with M5Stack

      Some simple questions:

      Controlling the LEDs works well, but how can I control the first LED? Most of the time it is a very bright white, but it can change.
      How can I use the strip on a M5Stick C?

      posted in Units
      K
      Kees
    • RE: M5StickC and 18650C endurance

      @Pepsi Thanks, I could not find the call to decrease the speed. Not very much, but it helps.

      posted in M5 Stick/StickC
      K
      Kees
    • RE: M5StickC and 18650C endurance

      @liemph and @ajb2k3 Thanks. I ordered a few. It will take several weeks, but they will be useful. Also for other projects I am working on.

      posted in M5 Stick/StickC
      K
      Kees
    • RE: M5StickC and 18650C endurance

      @ajb2k3 said in M5StickC and 18650C endurance:

      kewize

      Can you be a bit more specific? I can not find any information with that name.

      posted in M5 Stick/StickC
      K
      Kees
    • RE: M5StickC and 18650C endurance

      @liemph Ah, nice device. Been searching the internet and found one brand with interesting devices (even with blue tooth data gathering) but the shipping costs are ridiculous. Could you tell me what brand you have. Makes searching less difficult.

      posted in M5 Stick/StickC
      K
      Kees
    • RE: M5StickC and 18650C endurance

      @crami25 . Thanks for the video. Could be useful for another project I am working on. But for this I can not let an elderly person remove the battery for charging as Pepsi wrote.

      @Pepsi I can not find anything on corespeed. How did you lower this? Maybe this will give just enough endurance.

      @liemph Thanks. I did a number of simple tests and got rather varying results. Ranging from 8 to 22 hours (only once), but mostly around 12 hours, but with large charging times indeed. I also used two different charging devices. How ever I would like to measure these values (charging and discharging) for better tests, but not on the screen. I want to send them using the BLE I already use. Could you share with me how you read these values.

      posted in M5 Stick/StickC
      K
      Kees
    • RE: M5StickC and 18650C endurance

      @Pepsi BTW, how much time does it take to fully charge the battery? Does probably depend on the charger, but just to have an idea.

      posted in M5 Stick/StickC
      K
      Kees
    • RE: M5StickC and 18650C endurance

      @crami25 thanks for the information. If I understand the discussion between you and Pepsi correctly I could use an older type power bank!? Nice to know but I wanted to use the supplied battery because combined it is still easy enough to carry around. I am making a simple device for my mother to carry around and use as alarm device in case of emergency for the spare days no one else is around. The device passes the emergency to a local smartphone/tablet which passes the messages to a select group of people who can assist using Google Firebase. One of them responds and this action will be reported back to the local server and then to the device and shown on the LCD. A separate power bank is possible, but less easy to carry around.

      @Pepsi Nice project! So you send more messages per time interval and you use the LCD all the time and you also use both cores. The only difference is the speed of the core(s). The battery indicator (what do you use for measurement?) was at first part of my plan, but I skipped that for saving the battery. How do I change the speed? I could test with that. However it feels like there is something I am missing. It seems I should at least get the same results. Thanks anyway.

      posted in M5 Stick/StickC
      K
      Kees
    • RE: M5StickC and 18650C endurance

      @Pepsi Thanks for the information. Please confirm you use BLE and you have the LCD on on and you measure/estimate 24+ hours of battery lifetime. Is this correct?

      Did you specifically exclude anything else instead of just not using it?

      I use BLE as a client that sends one simple characteristic every 5 minutes. Once in 6 seconds I flash the LED for 100 msec. That is all. The LCD is set off (using some informattion I found in the forum). I do use both cores (one for BLE and one for buttons and screen (only exceptional states)). I tested a few times without further optimizing and did not get much more than 11 hours. I hope to get something like the 24+ you mention. Is there a major diiference with your setup that could explain this?

      posted in M5 Stick/StickC
      K
      Kees