Color Flames Animation Example using FastLED Library (with Code)

แชร์
ฝัง
  • เผยแพร่เมื่อ 29 ธ.ค. 2024

ความคิดเห็น • 14

  • @k.chriscaldwell4141
    @k.chriscaldwell4141 11 หลายเดือนก่อน

    Thank you.

  • @calebwiedel
    @calebwiedel ปีที่แล้ว

    What do you use for diffusion material?

    • @Electriangle
      @Electriangle  ปีที่แล้ว

      In this video, I used a large plastic diffusion sheet that I had pulled from a broken TV for demonstration. I've been experimenting with various materials for diffusion in my projects and haven't found a favorite yet. So I use different materials for diffusion like hot glue or a painted acrylic sheet depending on the project. I'm planning to experiment with epoxy soon in a future project.

  • @Steinveri
    @Steinveri ปีที่แล้ว

    Awesome

  • @hama_sart
    @hama_sart 6 หลายเดือนก่อน

    Hello! Im a huge fan of your youtube channel, I have learned a lot with arduino and neopixels thanks to you! Im truly grateful, I just have 1 question.......
    Do you happen to know a code or a way I could use the color flame animation, in a way that by pressing a button I could change the flames color as the animation plays out?
    As in when I upload the code to the Neopixels the flame is red and when I press the button it changes to blue colored flame, then to the green colored one etc...
    I await for your response and thanks for everything so far!

    • @Electriangle
      @Electriangle  6 หลายเดือนก่อน +1

      I appreciate it! I have created that sketch for you now so you can use it with an input button as you described. Check out the new folder on Github. There are a few ways to implement what you described in the code, I tried to go for the simplest approach I could think of. There are comments in the code if you're interested in following along for that.
      Link to Github: github.com/Electriangle/Color_Flames_Main
      Let me know if you need clarification or would like assistance with making adjustments to it. Enjoy the project!

    • @hama_sart
      @hama_sart 5 หลายเดือนก่อน

      ​@@ElectriangleThank you so much it worked like a charm! I was just wondering if theres a default code to change colors of the animations you have in the channel with a button, Thank you so much anyway

    • @Electriangle
      @Electriangle  5 หลายเดือนก่อน

      @@hama_sart Sure, I made a new repository template now similar to the previous code but this time using the switch-case method. So you can simply add in any of the different animations and function calls into the sketch, and it will switch between them with the button press.
      Link to GitHub: github.com/Electriangle/FastLED_With_Button_Control
      Keep in mind, if an animation uses the delay() Arduino function, that may give you an issue with the button because you will have to hold the button for longer until the delay() function is complete. I noticed this when testing the code out. I've been avoiding the use of the delay() function now in my newer sketches, but some of my older animations still have that limitation. Maybe someday I'll get a little time to go back and fix them.

  • @vinothkumar.i5471
    @vinothkumar.i5471 10 หลายเดือนก่อน

    Sir all nice but i want bouncing ball code

    • @Electriangle
      @Electriangle  10 หลายเดือนก่อน

      Ok, thanks for the suggestion. I can try to work on the code for this for a new video.

    • @Electriangle
      @Electriangle  10 หลายเดือนก่อน

      Actually, Daniel Wilson has already made a nice bouncing ball code.
      Is this what you are looking for? th-cam.com/video/UCeNXBzHL_U/w-d-xo.html

    • @vinothkumar.i5471
      @vinothkumar.i5471 10 หลายเดือนก่อน

      @@Electriangle ok thanks for reply sir ❤️

    • @vinothkumar.i5471
      @vinothkumar.i5471 10 หลายเดือนก่อน

      How to upload this code to an ATtiny85 microcontroller and combine all effects (ball, fire, fade, rainbow, knight rider) into a single program that runs sequentially with a 10-second delay between each effect

    • @Electriangle
      @Electriangle  10 หลายเดือนก่อน

      @@vinothkumar.i5471 I have not been able to get the FastLED library to work on the ATtiny85 microcontroller. Also, the ATtiny85 has very limited flash and RAM, so I doubt it would be able to handle all these effects without running out of memory. I suggest you look for another microcontroller. If you want a small one, the ESP8266 Wemos D1 Mini microcontroller might work for what you need. An Arduino Nano or ESP32 could also work.