Back to Browse

Interactive NeoPixel Animations with micro:bit // Creative LEDs * 06 *

1.2K views
Premiered Apr 26, 2024
12:10

In this video we'll make interactive NeoPixel Animations using the buttons on the micro:bit to change what animation plays. First, I'll show you how to set up the buttons in code blocks, then I'll teach you how to create animation modes that will let you toggle through the animation functions that you've created. Ready to code? Go to https://MakeCode.microbit.org Thanks for watching! Natasha youtube.com/technochic https://instagram.com/technochic Discord - Join the Channel for Project Help, Community, and Inspiration! https://discord.gg/vdeyy9rWSN Participate in the Element 14 Community: https://community.element14.com/microbit Ride with Bike JC: https://bikejc.org/light-up-rides The Full Playlist: https://youtu.be/vaGMm4IGays?si=WPFdW1lsL6mUnCg7 Episode 01 - https://youtu.be/vaGMm4IGays Episode 02 - https://youtu.be/F2w7TIHnuKw Episode 03 - https://youtu.be/5X9AzUUpljw Episode 04 - https://youtu.be/c03qGQsoNjY Episode 05 - https://youtu.be/Vexu92A_Yl8 Episode 06 - https://youtu.be/gpiKxHPD0hM ✨ YOU ARE HERE Episode 07 - https://youtu.be/nNV4528QVQo Episode 08 - https://youtu.be/JpHJH5QsbTM Episode 09 - https://youtu.be/c8R-Q9khym4 Episode 10 - https://youtu.be/OEeU9tP6dZ4 CHAPTERS: 00:00 - Intro and Recap: Setup and NeoPixel Functions 00:37 - Let's Use Buttons To Change The NeoPixel Animation 00:55 - What are Inputs? Microphone, Touch Sensor, Accelerometer, Buttons 01:19 - The "On Button Pressed" Block 01:29 - Event Handler Blocks in Make Code 02:09 - Setting Up Button Blocks 03:39 - Why Does the Animation Only Play Once? 04:03 - Creating Animation "Modes" For NeoPixels In Make Code 05:47 - Using Logic: The If / Else Block 08:51 - Reseting the Mode If It's Too High Or Too Low 10:15 - Why You'll See A Delay When the Mode Changes 10:42 - The NeoPixel Mode Switcher In Action! 11:22 - Up Next: Send The Mode Over the micro:bit Radio! ✨ PROJECT SUPPLIES: (some links earn commissions) NeoPixel LEDs: Neopixel LED Strip with Alligator Clip Connector: https://adafruit.com/product/3812 https://www.newark.com/adafruit/3812/adafruit-neopixel-led-strip-w/dp/62AC0997?ost=adafruit+3812 micro:bit Controller: https://amzn.to/3uRqn3x https://www.newark.com/bbc-microbit?ost=microbit&rd=microbit LiPo Batteries for micro:bit: *double check polarity before buying!* LiPo Battery (get 500 mAh or more) https://amzn.to/3Tb3DE7 https://www.newark.com/adafruit/1578/battery-voltage-3-7v/dp/52X6819?ost=adafruit+1578 LiPo Battery Charger: https://amzn.to/3SPnGaW micro:bit Cases: *double check version before buying!* https://amzn.to/3VuQoRk https://www.newark.com/MarketingProductList?orderCode=75Y0420,75Y0419,29AC0390,29AC0391,14AC4497,44AC5616,01AH8675,01AH8676,01AH8677,01AH8679,01AH8680,01AH8681,01AH8682 Other Accessories: Velcro Dots (Industrial Strength!): https://amzn.to/4bRDsuG Velcro Squares: https://amzn.to/48rcK9e Velcro Cable Ties: https://amzn.to/3Ice2du Mounting Tape: https://amzn.to/3OWtpum micro:bit watch accessory: https://amzn.to/3uH8zbv Link to Neopixel Bike Lights with Arduino (older LED bike version): https://technochic.net/search?q=Arduino+Bike Battery Safety Info: https://technochic.net/blogs/tech-craft-tutorials/battery-safety THANK YOU!! To everyone who helped make this series possible: Ayla Schermer, Tony Borelli, Beatriz Bofill, The Entire Bike JC Team, Matt Palasz, Casey Walker, Wozzy the Best Dog Ever, Becky Stern, Maria Paula Saba, Zach Kling, Julian C, All the workshop participants, Ian Cole, Allen Paschel, Bright Bikes, The Maker Effect Foundation, Anthony Rubalcaba, Sophy Wong, Allie Katz, Debra Ansell, Charlyn Gonda, Xyla Foxlin, Doug Malnati, Adafruit, The Element 14 Presents team, Jordan Johnson, Kelly Hensen, Pat Standley, The Jersey City Theatre Center team, Olga Levina, Lance Michel, The Jersey City Arts and Culture Trust Fund SUPPORTED BY PUBLIC FUNDS FROM THE JERSEY CITY ARTS AND CULTURE TRUST FUND https://www.jerseycityculture.org/programs/arts-and-culture-trust-fund/

Download

0 formats

No download links available.

Interactive NeoPixel Animations with micro:bit // Creative LEDs * 06 * | NatokHD