Curio Res
Curio Res
  • 14
  • 1 215 442
How to Code Arduino: Beginner's Tutorial
Learn how to write C++ code for your Arduino projects.
Video Topics:
1. Button Tutorial Part 1 (Intro): czcams.com/video/ZOllXMxLRqc/video.htmlsi=Do0s9KJsiVxRSXco&t=32
2. Arduino Code Structure: czcams.com/video/ZOllXMxLRqc/video.htmlsi=dIjEpLr69TBW_Obm&t=54
3. C++ Variables: czcams.com/video/ZOllXMxLRqc/video.htmlsi=sOXXqbTJkDaP0l2Z&t=146
4. C++ Functions: czcams.com/video/ZOllXMxLRqc/video.htmlsi=gmVe9M08DNLgBGgH&t=258
5. Serial Communication: czcams.com/video/ZOllXMxLRqc/video.htmlsi=vYFjEaLsnMPi1ar0&t=402
6. Digital I/O Pins: czcams.com/video/ZOllXMxLRqc/video.htmlsi=jRoQh-FRVHhr_rnk&t=532
7. Button Tutorial Part 2 (Reading from the button): czcams.com/video/ZOllXMxLRqc/video.htmlsi=kUUrpvSbhELqpzUu&t=668
8. DRY principle: czcams.com/video/ZOllXMxLRqc/video.htmlsi=oo8vOKwradJRVwLZ&t=815
9. Preprocessor Directives: czcams.com/video/ZOllXMxLRqc/video.htmlsi=QEVN7HCvFJR22W6T&t=877
10. Button Tutorial Part 3: czcams.com/video/ZOllXMxLRqc/video.htmlsi=y92OqRHV7cZLUeLr&t=1000
11. If Statements and Comparison Operators: czcams.com/video/ZOllXMxLRqc/video.htmlsi=GAFTs39MWKWQ5TQk&t=1052
12. Logical Operators: czcams.com/video/ZOllXMxLRqc/video.htmlsi=v03RcGaaLOHdYMZN&t=1170
13. Button Tutorial Part 4: czcams.com/video/ZOllXMxLRqc/video.htmlsi=2bAdEv_p6YuVelMS&t=1248
14. C++ For Loops: czcams.com/video/ZOllXMxLRqc/video.htmlsi=TnRFN5THBEGcCI8M&t=1373
15. C++ Arrays: czcams.com/video/ZOllXMxLRqc/video.htmlsi=gU5kd0RcOeHoouia&t=1456
16. Button Tutorial Part 5: czcams.com/video/ZOllXMxLRqc/video.htmlsi=O-folOFootv1Y9fm&t=1540
17. Arduino Libraries: czcams.com/video/ZOllXMxLRqc/video.htmlsi=E-Wvy_rAMMWyBJwP&t=1795
18. Button Tutorial Part 6: czcams.com/video/ZOllXMxLRqc/video.htmlsi=slMHcbtjZVLhbCMv&t=1883
zhlédnutí: 5 128

Video

Bode Plots Explained
zhlédnutí 32KPřed 9 měsíci
Bode plots are an essential but sometimes confusing tool for frequency domain analysis. In this video, we'll start with an intuitive look at Bode plots. Afterward, we'll dive deeper: constructing Bode plots analytically and from recorded data.
The Serial Analyzer App
zhlédnutí 19KPřed rokem
A new way to analyze serial data in the time and frequency domains: my new app called the Serial Analyzer! Download it here: www.curiores.com/serialanalyzer#downloads Visit the GitHub page to learn more about the app: github.com/curiores/SerialAnalyzer
How to build an Arduino controlled solar charger
zhlédnutí 84KPřed 2 lety
In this video, I'll show you how to build a solar charging circuit controlled by an Arduino. You can find the code and circuit diagrams here: github.com/curiores/ArduinoTutorials/tree/main/SolarCharger
Arduino Digital Low-Pass Filter 2.0
zhlédnutí 45KPřed 2 lety
In this video, you'll learn how to use a low-pass filter to clean up a noisy signal on an Arduino. This video offers an easy to use implementation. For details about low-pass filters, see our earlier video: czcams.com/video/HJ-C4Incgpw/video.html You can find the code here on our GitHub page: github.com/curiores/ArduinoTutorials/tree/main/BasicFilters/ArduinoImplementations/LowPass/LowPass2.0 T...
How to process Arduino data in Python
zhlédnutí 26KPřed 2 lety
Learn how to read Arduino data into Python, process it, and create plots. Code (in PythonProcess/): github.com/curiores/ArduinoTutorials This workflow allows you to access the vast array of Python tools to work with your Arduino (or other microcontroller) data. Python links: Download Python: www.python.org/downloads/ Python for Beginners: czcams.com/video/kqtD5dpn9C8/video.html
DC motor PID speed control
zhlédnutí 220KPřed 2 lety
GitHub Code (under /SpeedControl): github.com/curiores/ArduinoTutorials If your platform does not have access to "atomic.h" (and so you get an error message), you can use the alternative version of the code that has been uploaded to the repository. It is labeled "_NoAtomic". Learn how to control the speed of a DC motor with an encoder using a PID controller. In this video, I walk you through se...
How to design and implement a digital low-pass filter on an Arduino
zhlédnutí 140KPřed 2 lety
In this video, you'll learn how a low-pass filter works and how to implement it on an Arduino to process signals in real-time. You don't have to be a mathematician to design your low-pass filter. You can use libraries to do the work for you. The python scripts linked below can help you to get started. github.com/curiores/ArduinoTutorials/blob/main/BasicFilters/Design/LowPass/LowPassFilter.ipynb...
How to control multiple DC motors with encoders
zhlédnutí 63KPřed 3 lety
In this video, you'll learn how to connect and write code to control several DC motors with encoders using the PID algorithm. Code (in MultipleEncoders/): github.com/curiores/ArduinoTutorials If your platform does not have access to "atomic.h" (and so you get an error message), you can use the alternative version of the code that has been uploaded to the repository. It is labeled "_NoAtomic". P...
How to control a DC motor with an encoder
zhlédnutí 419KPřed 3 lety
Find the tutorial on our website: curiores.com/positioncontrol GitHub Code: github.com/curiores/ArduinoTutorials/tree/main/encoderControl If your platform does not have access to "atomic.h" (and so you get an error message), you can use the alternative version of the code that has been uploaded to the repository. It is labeled "_NoAtomic". An encoder makes it possible to control the position of...
How accurate are time of flight sensors?
zhlédnutí 18KPřed 3 lety
If you have any comments or questions, we want to hear them! Leave them in the comments below. The time of flight breakouts used in this video are VL53L0X: www.pololu.com/product/2490 VL53L1X: www.pololu.com/product/3415 VL53L3CX: www.pololu.com/product/3416 VL6180: www.adafruit.com/product/3316 Sharp GP2Y0A60SZLF: www.pololu.com/product/2474 We used the HC-SR04 ultrasonic ranger: www.amazon.co...
How to use sensors with Arduino
zhlédnutí 24KPřed 3 lety
By the end of this video, you will have the skills to use sensor breakouts with Arduino. Learn to connect sensors, load libraries, write code to use those libraries, and plot streaming data with the serial plotter. Practice with four sensors: the DHT11 to measure temperature and humidity, the HC-SR04 to measure range, the HC-SR501 to detect motion, and the GY-521 (which contains an MPU 6050) to...
How to use a transistor as a switch
zhlédnutí 13KPřed 3 lety
In this video, you'll learn the basics of how to use an Arduino to power and control loads using buttons and transistors. If you're not familiar with using a digital output pin on the Arduino, get started by watching the first video in this series, linked below. czcams.com/video/I0ZIrzoI61g/video.html View the code for this video on the github repo: github.com/curiores/ArduinoTutorials/blob/mai...
Arduino Blinking LED Tutorial
zhlédnutí 110KPřed 3 lety
A tutorial for connecting an LED to an Arduino board and writing code to make it blink. Lean more about coding the Arduino: czcams.com/video/ZOllXMxLRqc/video.html You can find the diagram and code at our website: curiores.com/blinkingled The code is also available on GitHub: github.com/curiores/ArduinoTutorials/blob/main/ledblink/ledblink.ino

Komentáře

  • @aliakbar4068
    @aliakbar4068 Před dnem

    If we use the direct difference equation with the coefficient that is got by python script , I am getting error of inf , and OVER flow, but using above library it is working I do not know how, here is my code double xn1 = 0; double xn2 = 0; double yn1 = 0; double yn2 = 0; double b0 = 0.00024; double b1 = 0.00048; double b2 = 0.00024; double a1 = 1.95558; double a2 = -0.95654; void loop() { float t = micros() / 1.0e6; float xn = sin(2 * PI * 2 * t) + 0.2 * sin(2 * PI * 50 * t) + 0.1 * sin(2 * PI * 100 * t); double bx = b0 * xn + b1 * xn1 + b2 * xn2; double ax = -a1 * yn1 - a2 * yn2; double yn = ax + bx; xn2 = xn1; xn1 = xn; yn2 = yn1; yn1 = yn; Serial.print(2 * xn); Serial.print(" "); Serial.println(2 * yn); }

  • @flywittzbeats4008
    @flywittzbeats4008 Před 5 dny

    Why am I just now learning this after countless videos on dsp and arduino?! Lol

  • @rigor.m9422
    @rigor.m9422 Před 6 dny

    Wowww this is fr one of the best explanations I have seen of this. I wish you could also narrate the rest of my control systems course 😭

  • @ubuntuscorpious
    @ubuntuscorpious Před 6 dny

    Love the high quality work your producing but you have one hell of a difficulty ramp in your tutorials! You went from blinking an LED to applying calculus in advanced coding within 4 videos! Feel free to reference some training material so that some of us non engineers can keep up. 😀

    • @curiores111
      @curiores111 Před 6 dny

      Any specific concepts/ideas that you'd like to see explained more?

  • @99john58
    @99john58 Před 9 dny

    "Bode plot" not booooodeeeeeee plot

  • @orlin369
    @orlin369 Před 10 dny

    Great video, I have suggestion. Can you create video that explain how to control DC motor at the same time by speed and position? I like you videos very much. It helped me allot as a student in industrial automation. Thanks in advance!

  • @ProfeARios
    @ProfeARios Před 12 dny

    Thank you so much for sharing!!!! Greetings from Panama!!!! 🇵🇦

  • @sneezydwarf8744
    @sneezydwarf8744 Před 15 dny

    Hi! Can I use a programable DC power source instead of solar panel?

  • @chougulenikhiljgd
    @chougulenikhiljgd Před 17 dny

    Best explanation which connects dots practically and theoretically. Do you have python and arduino codes where we can try this personally?

  • @bflmpsvz870
    @bflmpsvz870 Před 20 dny

    This is amazing!

  • @farzadv2007
    @farzadv2007 Před 22 dny

    Very good videos and useful content, please don't give up your channel

    • @curiores111
      @curiores111 Před 22 dny

      Thank you! I appreciate the encouragement. It's difficult to put in the effort.

  • @danielardelian2
    @danielardelian2 Před 22 dny

    Excellent presentation! The Python and Arduino code is much appreciated!

    • @curiores111
      @curiores111 Před 22 dny

      That's very generous Daniel. I'm so glad you found the code useful. 💖

  • @wilberparireyes8243
    @wilberparireyes8243 Před 22 dny

    EXCELENT

  • @frankdearr2772
    @frankdearr2772 Před 23 dny

    great topic, thanks 👍

  • @luiggitello8546
    @luiggitello8546 Před 23 dny

    Im doing this exact experiment but with state space. Can’t believe i just found your channel, loved your video

  • @dayworkhard
    @dayworkhard Před 25 dny

    amazing explanation!

  • @w02190219
    @w02190219 Před 26 dny

    nice

  • @sennabullet
    @sennabullet Před 27 dny

    This is an exceptional video! Great production and amazing explanation. Thank you for sharing your knowledge with us.

  • @flangooo2617
    @flangooo2617 Před 28 dny

    would it be possible to charge a computer with this?

    • @King_Ithra
      @King_Ithra Před 5 dny

      A computer doesn’t charge; as far as I know, you can only charge a battery not a computer

  • @hand5492
    @hand5492 Před 29 dny

    whats the app name???

  • @joelevi9823
    @joelevi9823 Před měsícem

    Did someone tried it with STM32? C printf can be used there to print to serial..i guess it will give same results

  • @joelevi9823
    @joelevi9823 Před měsícem

    Amazing work.. also like your videos they are very clear in info and audio ( calming tone of voice )

  • @majdhammad7741
    @majdhammad7741 Před měsícem

    Impressive tutorial thank you ❤

  • @nitinnarkhede6758
    @nitinnarkhede6758 Před měsícem

    Very nice explanation, is it iir filter if yes please take little pain to explain the implementation of fir filter, thanks

  • @erikrodriguez7112
    @erikrodriguez7112 Před měsícem

    I absolutely love your videos. The way you explain things is perfect. I am using your code in a robotic project and believe I understand the feedback loop. My robot is running mecanum wheels. What I am scratching my head on is how to change directions. With mecanum wheels, I can rotate in place, move left/right, and so on. But apparently my intellect is having a hard time incorporating this into your code.

  • @blackholefalling4802
    @blackholefalling4802 Před měsícem

    Thank you I really like this video it helped me a lot! Could you make a video on frequency response and how to compute a system's and steady-state? And include for mechanical engineering examples such as a mass. spring, damper. Again thank you!

  • @jonni2734
    @jonni2734 Před měsícem

    Beautiful video! Thanks!!!!!

  • @Rafy_24
    @Rafy_24 Před měsícem

    The power of the Sun... And about 60kFLOPS... In the palm of my hand

  • @eyadmothana5506
    @eyadmothana5506 Před měsícem

    I always want to learn about these things. But never find any. Thank u very much

  • @kakashi8203
    @kakashi8203 Před měsícem

    Wow, this is probably the most well made video about bode plot ever. Even after studying control theory in undergrads we struggled to understand it intuitively. Your visuals are just amazing. Along with your ASMR voice (as opposed to cranky old professors shouting at you) this makes for a very pleasant watching experience. I suspect (due to the wide time gaps between, and unusual high quality of your videos) that you might be a PhD student (= passion for knowledge + financial struggle). I would love to support this channel once i get a job, so that you don't become discouraged and stop making these videos, but that might take some time (2 years at least, gotta finish my masters first).

  • @amjadtrablsi4051
    @amjadtrablsi4051 Před měsícem

    Amazing , I like your Videos

  • @osamayousef6219
    @osamayousef6219 Před měsícem

    @curiores111 thank you for this wonderful explanation. I am a student of computer and automation engineering in the middle of my university journey. Please tell me how I can be a successful engineer and how to apply what I learn at the university. In short, tell me how to be like you please.

  • @Ivan-tw4cz
    @Ivan-tw4cz Před měsícem

    Lovely video!

  • @neacksen9485
    @neacksen9485 Před měsícem

    Hello! Thank you very much for this high quality video. I was just wondering: why are we using an atomic block, or just stopping the interrupts, when fetching its value? What are the risks if not doing it?

  • @BeMuslimOnly
    @BeMuslimOnly Před měsícem

    You did an exceptional job, please do more of these videos. It was very informative

  • @PrasannaRoutray97
    @PrasannaRoutray97 Před měsícem

    Tried the same with a stepper?

  • @rakesh9800
    @rakesh9800 Před měsícem

    More videos required we are waiting for learning more so plz give more videos consistently

  • @erikr6382
    @erikr6382 Před měsícem

    Are those Fritzing diagrams?

  • @PhG1961
    @PhG1961 Před měsícem

    This is by far one of the better videos I've seen. Very well explained and at the same time entertaining too!

  • @nathalieb4648
    @nathalieb4648 Před měsícem

    Hello, thank you for the amazing video. It is helping me A TON w/ my senior (bachelor's) project.

  • @harishr6488
    @harishr6488 Před měsícem

    No other video on the internet helped me explain bode plots as simple as this video did. I understood this so intuitively, Thank you so much!

  • @binoubanini4633
    @binoubanini4633 Před 2 měsíci

    Hiiii can I have Ur email? 🦋

  • @leonardoluca5420
    @leonardoluca5420 Před 2 měsíci

    I wonder if this could be improved by defining a transfer function for the motor and doing the root locus to find an optimal gain?

  • @pepsi-hf8fq
    @pepsi-hf8fq Před 2 měsíci

    Beautiful plotting.

  • @pollenbarua5450
    @pollenbarua5450 Před 2 měsíci

    what an amazing content..........superb

  • @robinwersich3424
    @robinwersich3424 Před 2 měsíci

    I had an idea to fix the issues of methods 1 and 2 for velocity measurement. It's basically a hybrid of the two: Regularly check how many pulses there have been since the last check, but instead of just assuming the check interval as time, always record the last pulse timestamp and use it to get a more accurate time between checks Would that work?

  • @prashantnayak7278
    @prashantnayak7278 Před 2 měsíci

    This is a really nice explanation of filter design and its implementation on real-time microcontrollers. Your python code is impressive; I am a research scientist, and I want to cite your work in one of my works on filter design for real-time noise control.

  • @vgyashwanthkumar4492
    @vgyashwanthkumar4492 Před 2 měsíci

    File not found error is coming while running the python script what could be the reason mam

  • @onlooker251
    @onlooker251 Před 2 měsíci

    Dry well presented tutorial - Thanks for sharing.

  • @DIY-electronics-automation
    @DIY-electronics-automation Před 2 měsíci

    Can not be uninstalled!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Beware!!!!

    • @curiores111
      @curiores111 Před 2 měsíci

      Really? I just tried uninstalling from the windows apps menu and it worked. Did you try that? (The installer is an existing electron utility -- could certainly be buggy. I haven't had an issue with that so far though)

    • @DIY-electronics-automation
      @DIY-electronics-automation Před 2 měsíci

      @@curiores111 I had tried cclean and win10 uninstaller already. Everytime i tried. I was told serial analyzer was running and refuse to uninstall. Finally, I had to delete it in the Appdata folder. Note it was deleted and not uninstall. BTW, my Mcafee reported threat.