Kludgeware
Kludgeware
  • Видео 47
  • Просмотров 675 241
Timers EXPLAINED || Essential Engineering
Timers are a critical part of most microcontroller applications, which carry over effects into the real world. Watch to grasp a basic overview of the timer microcontroller peripheral, and stay tuned for future videos explaining how to setup timers in code.
Просмотров: 694

Видео

Daisy-Chain Shift Registers || Essential Engineering Tutorial using Arduino
Просмотров 3,9 тыс.2 года назад
GitHub source code: github.com/hendog993/RUclips_arduino/tree/master/DaisyChain Shift Register Datasheet: www.ti.com/lit/ds/symlink/sn74hc595.pdf Shift Register Tutorial: ruclips.net/video/COMowOnImKk/видео.html Timestamps: 00:00 Intro 00:46 Circuit 02:25 Software 03:40 Shift Pattern 06:02 Final Demonstration This video is an explanation and example of how to daisy chain shift registers using a...
Serial-In Parallel-Out Shift Register Tutorial (SN74HC595N) using Arduino
Просмотров 3,3 тыс.2 года назад
Circuit tool: www.falstad.com/circuit/circuitjs.html Datasheet: www.ti.com/lit/ds/symlink/sn74hc595.pdf Source code: github.com/hendog993/RUclips_arduino/tree/master/ShiftRegister Timestamps: Intro 00:00 Understanding D Flip Flops 00:47 Chaining Together Flops 01:30 The Output Register 02:04 Circuit Overview 03:25 Shift Register Software 04:59 Binary Counter 11:20 ABOUT ME: I am a recent gradua...
Arduino/Electronics push button tutorial.
Просмотров 1,2 тыс.2 года назад
Timestamps: 00:00 Intro 00:25 Button Schematic 02:21 Arduino IDE setup 03:20 Pull Down Resistor 06:50 Button on Interrupt routine 10:50 RC Debounce circuit 13:12 Debounced signal on oscilloscope 14:49 Debounced signal on interrupt Using buttons with microcontroller, Arduino projects, etc. may not be as simple as it seems. There are two main challenges to these push buttons I address in this vid...
Python Tutorial: How to Read and Write Text Files
Просмотров 36 тыс.4 года назад
GitHub source code: tinyurl.com/y343vbuu This video teaches the basics of how to read and write basic text files using Python 3. The basic "template" uses an open block, with the template: with open("filename.txt", "mode") as file: var = file.read(). this reads the file and stores in the variable "var" as a string. file.close() this closes the file to prevent unwanted access. The available mode...
TKinter: Entry Widget Tutorial
Просмотров 76 тыс.4 года назад
Tutorial showing how to use the entry widget in Python's GUI library, TKinter. Entries allow you to type text and manipulate fields within your program. This is NOT the Text widget, which functions similarly to the Entry widget, however, the Entry widget is limited to 1 row of text, while the Text widget can have multiple rows. This video covers how to specify the length of your entry, as well ...
Arduino Project: Ping Pong Ball Clock
Просмотров 5 тыс.4 года назад
Project Description: Arduino-powered LED strips, using Ping Pong balls to diffuse light. This project is a fun demonstration of combining basic Arduino programming, soldering skills, and craftsmanship to produce a unique piece of wall decoration. This clock can display either time or patterns you program with the LEDs. If anyone attempts this project, let me know in the description how it went!...
Advanced LED strip patterns with Arduino
Просмотров 14 тыс.4 года назад
Source code: tinyurl.com/y73mnw72 Here is a simple video showing some fun LED strip patterns created using an Arduino and the FastLED library. Most of these patterns involve using a for loop, so I'd highly recommend being familiar with for loops, RGB color scheme, and Arduino delays to better your understanding of how these work! LEDs are a fun way to create cool displays and color schemes. Sta...
Use Addressable LED Strip with Arduino || Essential Engineering
Просмотров 345 тыс.4 года назад
Github source code: tinyurl.com/yazcha4p LEDs used in this video: tinyurl.com/y7kqxwqh This video covers how to control individually addressable LEDs using an Arduino Nano. LED strips are a fun way to get creative with your Arduino projects, and with a few simple lines of code, you can be up and running in no time! Make sure you are familiar with for loops, the RGB color scheme, and basic circu...
Arduino Range Sensor Tutorial HC-SR04 | Essential Engineering
Просмотров 2854 года назад
Source Code: github.com/hendog993/RUclips_arduino/blob/master/HCSR04.ino trigPin controls the HC-SR04's sound wave emission. echoPin controls the HC-SR04's ability to "listen" to the sound waves return from the object. pulseIn times a pulse duration for a selected pin (in our case, the echoPin). This is directly proportional to how far away our object in question is. The HC-SR04 distance measur...
Add PyPlot to TKinter interface | Essential Engineering
Просмотров 18 тыс.4 года назад
Source Code Starting Point : tinyurl.com/y9kvzcas Source Code Finished: tinyurl.com/ya7b8pq9 Import statement: from matplotlib.backends.backend_tkagg import FigureCanvasTkAgg This video demonstrates how to add a matplotlib plot to a TKinter GUI. First, create a figure including the pyplot of interest. After, we use the FigureCanvasTkAgg to create a chart and then add it to the tkinter GUI using...
Python: How to build Notepad in less than 5 Minutes! | Essential Engineering
Просмотров 18 тыс.4 года назад
GitHub Source Code: github.com/hendog993/Python-RUclips/blob/master/TextEditor.py Learn how to build a barebones text editor using Python's TKinter module. Despite not being the fanciest, latest and greatest IDE available, this text editor is a great practice project for learning Python's TKinter module, basic object oriented methods, and how to read and write files. ABOUT ME: I am a recent gra...
How to bind events to TKinter GUI | Essential Engineering
Просмотров 1,1 тыс.4 года назад
Quick tip showing how to bind key presses to functions in TKinter GUI. For the source code to work, you have to download the csv spreadsheet and setup your path correctly. Event binding connects certain user actions (Mouse press, button press, mouse position) to functions. This adds a little bit more user control to events in your GUI. Events you bind to your application are always "listening",...
How to Display CSV Using TKinter Label & Button | Essential Engineering
Просмотров 15 тыс.4 года назад
Part 1: ruclips.net/video/rXoywV7WYwU/видео.html Part 2: ruclips.net/video/q2LI3w-RGL0/видео.html How to use ListBox in TKinter: ruclips.net/video/y-HLDFTup3g/видео.html This is the final video of our 3 part series, where we went from spreadsheet to CSV and displayed the CSV data interactively! Hope this series has been helpful. Please leave any questions, suggestions, or feedback in the commen...
How to Add CSV to TKinter Listbox | Essential Engineering
Просмотров 8 тыс.4 года назад
Part 1: ruclips.net/video/rXoywV7WYwU/видео.html How to use ListBox in TKinter: ruclips.net/video/y-HLDFTup3g/видео.html Here we learn how to insert CSV information into the TKinter listbox. We can use two options, one with the enumerate function, the other using a StringVar. Once we have the values into the listbox, we create a button to return the correct cursor index of the listbox. This is ...
How to Load CSV files into Python | Essential Engineering
Просмотров 7 тыс.4 года назад
How to Load CSV files into Python | Essential Engineering
Python Project: Assembly Functions Part 2 | Essential Engineering
Просмотров 2344 года назад
Python Project: Assembly Functions Part 2 | Essential Engineering
Python Project: Basic Assembly Functions Part 1 | Essential Engineering
Просмотров 1,5 тыс.4 года назад
Python Project: Basic Assembly Functions Part 1 | Essential Engineering
Stress, Strain, and Tensile Test EXPLAINED | Essential Engineering
Просмотров 3514 года назад
Stress, Strain, and Tensile Test EXPLAINED | Essential Engineering
Python TKinter: Switching Button Commands
Просмотров 6 тыс.4 года назад
Python TKinter: Switching Button Commands
Python Tkinter: Button Widget Tutorial
Просмотров 1,5 тыс.4 года назад
Python Tkinter: Button Widget Tutorial
Learn Arduino: LCD Tutorial
Просмотров 2474 года назад
Learn Arduino: LCD Tutorial
Arduino: Potentiometer "Switch" Trick
Просмотров 2,4 тыс.5 лет назад
Arduino: Potentiometer "Switch" Trick
Arduino Potentiometer Tutorial
Просмотров 1865 лет назад
Arduino Potentiometer Tutorial
How to solve linear equations using Python || Python for engineers
Просмотров 4405 лет назад
How to solve linear equations using Python || Python for engineers
How to use SciPy to curve fit in Python || Python for Engineers
Просмотров 25 тыс.5 лет назад
How to use SciPy to curve fit in Python || Python for Engineers
How to calculate numerical integrals in Python || Numerical Integration.
Просмотров 1,6 тыс.5 лет назад
How to calculate numerical integrals in Python || Numerical Integration.
How to perform numerical differentiation on data sets using Python
Просмотров 2,7 тыс.5 лет назад
How to perform numerical differentiation on data sets using Python
Arduino Project: ASCII Converter
Просмотров 7 тыс.5 лет назад
Arduino Project: ASCII Converter
Python: TKinter Class Based Windows
Просмотров 27 тыс.5 лет назад
Python: TKinter Class Based Windows

Комментарии

  • @kareemsanchez6896
    @kareemsanchez6896 4 дня назад

    hi, my led connection only has a red and black wire, how would i be able to connect the arduino to it?

  • @stephen285
    @stephen285 18 дней назад

    a great help ty!

  • @Nuryasmin_rahaman8041
    @Nuryasmin_rahaman8041 29 дней назад

    Very nice project thanks 👍❤👌💯

  • @EpicPichu
    @EpicPichu Месяц назад

    Can i use a different power source to power the LEDs? If i used a long strip, will it work properly with your setup?

  • @tranquangnhon6520
    @tranquangnhon6520 Месяц назад

    How can i do that without library

  • @janxspirit6707
    @janxspirit6707 3 месяца назад

    Very easy to follow thank you!

  • @MiguelisNoisy
    @MiguelisNoisy 4 месяца назад

    The URL in the description have expired. Can you update with direct links?

  • @chadlunders4898
    @chadlunders4898 5 месяцев назад

    Are there other addressable devices other than LEDs. I am looking for something to address switches for piano keys.

  • @techandgaming4376
    @techandgaming4376 6 месяцев назад

    3:25 / 7:36 AT THIS MOVMENT ONLY 3 LEDS ARE GLOWING,SO CAN YOU TELL ME HOW TO GLOW MORE LEDS? IS IT BY ADDING MORE FOR (int i=0; i<NUM_LEDS; I++) { leads[I] = CRGB(0, 255 - 20*i, 20i ); FastLED.setbrightness(6*i); FastLED.show(); delay(50); OR EDITING #define NUM_LEDS 60 TO #define NUM_LEDS AND NUMBER OF LEDS WE WANT TO GLOW

  • @Triggeredgaming27
    @Triggeredgaming27 6 месяцев назад

    3:25 / 7:36 AT THIS MOVMENT ONLY 3 LEDS ARE GLOWING,SO CAN YOU TELL ME HOW TO GLOW MORE LEDS? IS IT BY ADDING MORE FOR (int i=0; i<NUM_LEDS; I++) { leads[I] = CRGB(0, 255 - 20*i, 20i ); FastLED.setbrightness(6*i); FastLED.show(); delay(50); OR EDITING #define NUM_LEDS 60 TO #define NUM_LEDS AND NUMBER OF LEDS WE WANT TO GLOW

  • @headshotzwillhappen
    @headshotzwillhappen 7 месяцев назад

    Ok so can i run 2 led strips of say 12 leds off one board by entering line 4 and 5 as 4- #define LED_PIN 3 AND 5- #define NUM_LEDS 12? Im trying to build a controller for light strips that are making diy wheel lights on my car :)

  • @vg_coder
    @vg_coder 7 месяцев назад

    Very Helpful! Nice quick to-the-point video.

  • @Roberta_Toaldo
    @Roberta_Toaldo 7 месяцев назад

    Thank you for this amazing explanation!

  • @zacharywho5442
    @zacharywho5442 8 месяцев назад

    Any idea on how close those numbers can be, I.E. how many selections there could be while remaining reliable?

  • @d10denis26
    @d10denis26 9 месяцев назад

    Could you please upload a tutorial with the code I have to do a project for school and I would like to do that but I don’t know how to do the code

  • @asphaltlegends3740
    @asphaltlegends3740 9 месяцев назад

    thank you so much

  • @sandrocavali9810
    @sandrocavali9810 9 месяцев назад

    thanks mate, I´ve had this arduino in its box since the pandemicum and now it will be turned into a VU meter for the studio

  • @bazrazin1
    @bazrazin1 10 месяцев назад

    i learnt some programming today, also where is the addressing done how does next led light up from the previous one or any from the strip.

  • @DHINAKARAN-MURUGAN
    @DHINAKARAN-MURUGAN 11 месяцев назад

    device link description pin panga comment pin panga

  • @GrooveYouVerse
    @GrooveYouVerse 11 месяцев назад

    Great video. My question is how I would make a final/completed device? I want to make a gift for someone, and I want it to be where they plug the usb for power and it does its thing. But the device won’t have a breadboard. Like how do I minimize into a smaller package? I hope I’m asking the right question(s).

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

    Can I use esp2022 instead of Arduino?

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

    Amazing project and video, thanks. Can i connect led strip directly to the ESP? How WLED program works that it can power leds with no additional power source? No breadboard and no transistors in scheme?

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

    BTW -never mind. I got this far (see below). Thanks again, this was a great video! #include <FastLED.h> #define LED_PIN 2 #define NUM_LEDS 60 int iR = 7; int iG = 155; int iB = 9; int iDelay = 50; boolean lDelta = true; CRGB leds[NUM_LEDS]; void setup() { // put your setup code here, to run once: FastLED.addLeds<WS2812, LED_PIN, GRB>(leds, NUM_LEDS); FastLED.setMaxPowerInVoltsAndMilliamps(5,350); FastLED.clear(); FastLED.show(); Serial.begin(9600); //open serial port } void loop() { // put your main code here, to run repeatedly: for (int i=0; i<NUM_LEDS; i++){ leds[i] = CRGB(iR,iG,iB); FastLED.setBrightness(15); FastLED.show(); delay(iDelay); } if (lDelta == true) { iR = 7; iG = 155; iB = 9; lDelta = false; Serial.println("lDelta was true, now it is "); Serial.print(lDelta); } else {iR = 155; iG = 7; iB = 9; lDelta = true; Serial.println("lDelta was false, now it is "); Serial.print(lDelta); } }

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

    Greetings! I do have a question: In my case (and it looks to be this way in the video) at the start of the Void Loop, the lights blink off before continuing. Is there a way to have them never go out? Thanks!

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

    Aside from the array numbering (yet, 0 to 59), this is a great video! Thank you for posting!

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

    What about a .cpp file? I thought you needed one if you create a custom .h file

  • @JamesTorrey-p4b
    @JamesTorrey-p4b Год назад

    Could you run 5 lights from one arduino? I have a work project that requires something like this.

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

      The Arduino's built in power supply should be able to handle 5 LEDs

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

    How did you come with the resistance and capacitance values

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

    will this work with cooler master sickleflow 120?

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

    Using the global attribute inside the function would make it work just fine, increasing n variable and so on. Why would you put global in global scope? Never seen that

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

    can i use 12v strip in this manner

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

    Also needed would be automatic update when selection in list box is made.

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

    Thanks alot that file.close() solved my race condition issue while writing and reading in other .py file

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

    I would move de FastLED.show() outside of the for loops.

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

    Do we need a capacitor and a resistor ?? Is it must-need parts?

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

      The capacitor is just a bypass capacitor to the power supply. It isn't required, but it is good practice to use one on your power rail to smooth out any "ripples" in the rails

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

    Saved me a lot of $. Turns out rotary selectors that are small cost like $15-40 each. But using a minature trimpot and this will work just as well. Thanks for uploading

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

    May I ask if is it ok if I don't use a external power supply? my led strip is a 1m 60 led 5v (each led takes up about 0.3 watts). And I'm also using a Arduino pro micro

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

      Check the datasheet of your Arduino and see the maximum current output available for the power rails. If all LEDs full brightness will overdraw the power output, you can't use the onboard power supply, unless you can limit the current output in software. If you do use an external power supply, make sure the data line and power supply to the LEDs share a common ground.

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

    Hello! I am looking to learn how to connect an LED light strip to an arcade button so that when the arcade button is pressed, the LED light strip turns on or flashes a specific colour. I have looked online and it appears that an ardunio is helpful in doing this, but I am not sure how to make the connection, or what kind of hardware is needed. This is my first lighting project so any help is appreciated!

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

    what is the function of "pass" in the class window?

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

      It's simply used as a placeholder/indentation forcer. Pass does nothing here, it just gives a clear notation of where the class definition ended instead of only relying on indentation.

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

    Nice video! I'm actually trying to build an arduino project that can control an individually addreseble led strip that has 24 leds using an ir remote. I've got the code and components ready, but I'm worried about the current being an issue. Do you know how much power would approximately be needed, and if so, what gauge/ AWG wire would I need to handle that much current. Also, do you know how to connect a separate power supply to the circuit because I don't think the arduino can handle plugging a power supply into the Power Jack connector.

  • @mirda-elektro
    @mirda-elektro Год назад

    Perfect video. Thanks. 👍👍👍👍

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

    This was soooo helpful! Thank you very much 💜

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

    how do you this with out pack and use grid fro the labels and entries

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

    I am trying to figure out to write the for loop so that there is a group of 4-5 LEDs moving down the strip, there is a delay, and then another group of 5 LEDs that start down the line. Any idea where I can find an example of how to write this to achieve the desired effect?

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

    Tq for sharing. Suggestion: Extend the idea to animating the plot with a time base.

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

    Sir how to add data's in treeview ,listbox,textbox using xlrd and xlwt and openpyxl.please teach me sir

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

    can you hook up 2 led strips by just wiring the second one the same way as the first one using the same pin on the arduino? I am making a lightsaber with them, and I want 2 strips so I can stick them back to back and make a more evenly lit blade

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

      I don't see why that wouldn't work, the current limiting resistor should help prevent a current overdraw on the data line (which isn't that high in the first place). However, in this approach, you likely could not use the Arduino as a power supply and you would have to find a way to externally power the LEDs. Using the Arduino power supply, the max amount of LEDs you can power is 9.

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

    This is exactly what I needed! Button tutorials seemed all over the place and they didn't get to the base of why and what. This is amazing. The only thing I missed is understanding what the digital in pin does to determine if the signal is high or low. Is it if the signal is between a certain range

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

    How to operate this with a switch

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

    how do you do it with r+?