HOW TO CODE ELECTRONICS & ROBOTS in C Language

แชร์
ฝัง
  • เผยแพร่เมื่อ 28 ก.ค. 2024
  • If you need to install the GCC toolchain which does all the conversion and hard work to translate it into machine code, I recommend using WinAVR 👇👇👇👇
    winavr.sourceforge.net/
    This will install everything needed to program your AVR chips in the C and C++ languages no matter what text editor you use to write the actual code on a Windows PC.(I use Windows)
    Learn how to code electronics and robots in the C language because it is easier and cheaper using the Arduino chip the Atmega328p. If you struggle with electronics or programming robots this is the video for you.
    👇Get the MAKEFILE here👇
    github.com/KimchiSammich/Tuto...
    Affiliate link to support this channel:
    Try Temu for crazy discounts and coupons on, electronic supplies, gadgets, toys, clothing and room decor!
    Great deals on outdoor gear too!
    🟠 temu.to/m/u01lgt7o4g1
    👍Like and Subscribe for more inspiring inventor content!
    If you like this content and want me to create more free 3d printables, please head on over to my Patreon
    👍 / kimchistudios
    I release printables on Cults3D
    Any support/downloads directly supports my work as an artist and content creator, thank you!
    👉cults3d.com/en/users/KimchiRo...
    See more content on my TikTok!
    / kimchi_studios
    See you in the next video!
    #maker
    Get the books I use here:
    📗AVR Programming: Learning to Write Software for Hardware
    Amazon US: amzn.to/3nJhTT7
    Amazon UK: amzn.to/2DBncm8
    📗Encyclopedia of Electronic Components
    Amazon US: amzn.to/3nJhTT7
    Amazon UK: amzn.to/3gWT6ak
    Grab a Basic Electronics Kit
    📦 Amazon US: amzn.to/3lMT0Fu
    Topics to be covered in upcoming videos include:
    ✔ Breadboards
    ✔ Soldering
    ✔ Arduino in AVR C language
    ✔ AVR chips in AVR C language
    ✔ Code for beginners
    ✔ Prototyping
    ✔ Servos
    ✔ Revving up DC Motors with Pulse Width Modulation
    ✔ Glowing and blinking LEDs
    ✔ RC Transmission
    ✔ Stepper Motors
    ✔ Korean Cooking
    ✔ Pushbuttons and Joysticks
    ✔ Serial communications with a PC and other peripherals and sensors
    ✔ Python programs that interact with chips programmed in AVR C
    ✔ Everything
    Find out why C is STILL the best language to program robots.
    Learn how to write and flash your first program in this video!
    Subscribe for a whole lot more to come in the very near future!
    This will be better than Real Housewives.
    I was very hungover when I made this video.
  • วิทยาศาสตร์และเทคโนโลยี

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

  • @gihantharatnayake3411
    @gihantharatnayake3411 3 ปีที่แล้ว +15

    This has to be the most underrated tech channel on TH-cam.

  • @leonardomorel9412
    @leonardomorel9412 3 ปีที่แล้ว +9

    Holly shit, how does this channel not have more subscribers? I know I'm going on a full marathon to learn robotics, your videos are simply great, this 40 min felt like only 10. Thanks for your work!

    • @Kimchi_Studios
      @Kimchi_Studios  3 ปีที่แล้ว +5

      That means A LOT to me! Thank you so much! I have another video for you coming this week. Maybe 2.

  • @iclowe9563
    @iclowe9563 3 ปีที่แล้ว +13

    Just found this channel. I am going to watch ever single one of your vids you're hilarious, while simultaneously being informative. Thank you my good sir 🙂

    • @Kimchi_Studios
      @Kimchi_Studios  3 ปีที่แล้ว

      Glad to have you!

    • @bramantawisnu
      @bramantawisnu 2 ปีที่แล้ว

      did you finish watch every singel video?

  • @oualisadok1281
    @oualisadok1281 3 ปีที่แล้ว +3

    Thank you million of times ! I"ll start my first experience monday as student work and you helped me a lot with those videos I'm a super fan it's so funny and informative i couldn't stop watching.

    • @Kimchi_Studios
      @Kimchi_Studios  3 ปีที่แล้ว

      I have some ATMEGA328P and Raspberry Pi Pico videos coming soon. Stay grounded 🦾💀👍

  • @djad2693
    @djad2693 3 ปีที่แล้ว +1

    Amazing job man respect 👌👌

  • @thetapedeck7437
    @thetapedeck7437 2 ปีที่แล้ว +1

    I know NOTHING about coding.
    I feel like you taught me all the basics and it was PAINLESS 💋

  • @DeepFrydTurd
    @DeepFrydTurd 4 ปีที่แล้ว

    like the book recommendation :) really good content as well! i subbed

    • @Kimchi_Studios
      @Kimchi_Studios  3 ปีที่แล้ว

      Glad to have you aboard! This stuff is so hard, let's make some crazy robots.

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

    Great video. Only watching is amazing already.

  • @BH-cq5ub
    @BH-cq5ub 3 ปีที่แล้ว

    Awesome, thanks a lot

  • @hectorruizlaph
    @hectorruizlaph 3 ปีที่แล้ว

    This is gold content for us robotics newbies

  • @FlamestoneDragon
    @FlamestoneDragon 3 ปีที่แล้ว

    i bet you this is the start of ur channel exploding and becoming popular throughout next year! you are very talented

    • @Kimchi_Studios
      @Kimchi_Studios  3 ปีที่แล้ว

      Thank you so much for your kind words! I will upload more often very soon!

    • @FlamestoneDragon
      @FlamestoneDragon 3 ปีที่แล้ว +1

      @@Kimchi_Studios thank you very much and your welcome! dont overdo yourself :)

  • @abdulmohsenfahad8001
    @abdulmohsenfahad8001 3 ปีที่แล้ว +1

    nice funny dude made a 40 mint video feels like 10 , you have potentials keep on going

  • @victorzhao2769
    @victorzhao2769 2 ปีที่แล้ว

    Just excellent ! Thanks

    • @Kimchi_Studios
      @Kimchi_Studios  2 ปีที่แล้ว

      Glad it helped despite being very boring. Good luck!

  • @kroome8
    @kroome8 3 ปีที่แล้ว

    great!!! nice tutorial...

  • @slavkomirkovic8885
    @slavkomirkovic8885 4 ปีที่แล้ว +4

    This truly deserves more views

    • @Kimchi_Studios
      @Kimchi_Studios  4 ปีที่แล้ว +2

      Thank you! I have a simple servo robot video with code coming up in the next day or so!

    • @slavkomirkovic8885
      @slavkomirkovic8885 4 ปีที่แล้ว

      @@Kimchi_Studios can't wait to see it 😃

    • @djad2693
      @djad2693 3 ปีที่แล้ว +1

      Yah but the problem is that not everyone is interested in programming it seems to hard and impossible for them this is why we don't find that much of views in this kind of videos

  • @ViolinCineMusic
    @ViolinCineMusic 2 ปีที่แล้ว

    Thank you very much sir

  • @joshschrader5527
    @joshschrader5527 4 ปีที่แล้ว +1

    Yes it does this is a great video

    • @Kimchi_Studios
      @Kimchi_Studios  4 ปีที่แล้ว

      Thanks! Will be posting new vid within next week or 2.

  • @reyazhaider3356
    @reyazhaider3356 2 ปีที่แล้ว

    I saw spike and i immediately subbed 😂

  • @--------------------.
    @--------------------. 2 ปีที่แล้ว

    Amazing!

    • @Kimchi_Studios
      @Kimchi_Studios  2 ปีที่แล้ว

      Check out my latest video and get ready for a door mounted laser trip wire alarm video soon.

  • @nothing1715
    @nothing1715 2 ปีที่แล้ว

    It was awesome

  • @FlamestoneDragon
    @FlamestoneDragon 3 ปีที่แล้ว

    thanks!

  • @itsswastik6928
    @itsswastik6928 3 ปีที่แล้ว

    Bohot badhiya

  • @aniruddhthapa6957
    @aniruddhthapa6957 4 ปีที่แล้ว +1

    Thanks bro

  • @ViolinCineMusic
    @ViolinCineMusic 2 ปีที่แล้ว

    Pls keep posting

    • @Kimchi_Studios
      @Kimchi_Studios  2 ปีที่แล้ว

      I will. I promise!
      Working on 2 videos right now.

  • @mutasimahmed3008
    @mutasimahmed3008 2 ปีที่แล้ว +1

    Thank you so much. I am really interested in embedded system. which language do you recommend me to start with?

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

    Epic

  • @marcelforex
    @marcelforex 2 ปีที่แล้ว

    Good

  • @meno437
    @meno437 2 ปีที่แล้ว

    How tf are you so underrated

  • @vinigame7490
    @vinigame7490 3 ปีที่แล้ว +1

    I still have to learn a lot of stuff, but I am going to understand everything about computers one day

    • @Kimchi_Studios
      @Kimchi_Studios  3 ปีที่แล้ว +1

      This is the perfect approach. It is very difficult but you can make A LOT of great things with the basics.

    • @vinigame7490
      @vinigame7490 3 ปีที่แล้ว

      @@Kimchi_Studios I think I will even study informatics :D

    • @Kimchi_Studios
      @Kimchi_Studios  3 ปีที่แล้ว

      You can do it!

  • @TheShadyStudios
    @TheShadyStudios 3 ปีที่แล้ว

    this guy is hilarious

  • @mattmattson4207
    @mattmattson4207 4 ปีที่แล้ว +2

    Hey man! I know javascript, swift (ios) and html, css. I really want to start with robotics and with stuff from absolutely scratch. So I think C programming is good to start with, as I know other languages I will not have a super hard time learning it. Next I need to learn electronics but I don’t know anyyyything about electronics..:( so that’s suck, it feels like I got no clue on how to get into to robotics and like start creating a project with c and apply it to some stuff. What are your tips for me? My goal is to like create something super cool, as the robot on mars that is programmed in C. And I think long term so it can take 10 years if it needs to. Just need your help to get me started and learn robotics, how computers works from scratch with 1 and 0 and all this stuff. I want to know how to do all this!! I want to know how it works and I want to get into to robotics and literally know how to build a computer from scratch with nothing else then a board and cables and electronics stuff!

    • @Kimchi_Studios
      @Kimchi_Studios  4 ปีที่แล้ว +1

      Today is your lucky day. I have thawed out of hibernation. I will show you everything here on on my site. You CAN make incredible things even with small, cheap components. This will be my focus and I will show code and ways to make everything without expensive 3d printers etc.

  • @khangau4844
    @khangau4844 3 ปีที่แล้ว

    Could yopu please keep making tutorial vids regarding AVR programming with an atmega328p?:))

    • @Kimchi_Studios
      @Kimchi_Studios  3 ปีที่แล้ว +1

      YES! Absolutely. Check out my new 2 videos. You can make a robot face with the Atmega328p. I am still working on my pet robot design with that chip and want to make a simple cheap stream deck with the chip also.

    • @khangau4844
      @khangau4844 3 ปีที่แล้ว

      @@Kimchi_Studios wow nice. It d be great if you could make like a series of tutorial on the chip for beginners:))

  • @villanuevagonzalo4386
    @villanuevagonzalo4386 3 ปีที่แล้ว

    Hi, I have a question, I've been learning C++, and I want to know how do I use it for the Electronics or Mechatronics Career. I've been trying to look for more guidence but I couldn't, I just want to know how to use it

    • @Kimchi_Studios
      @Kimchi_Studios  3 ปีที่แล้ว +1

      Each chip and each board (arduino, raspberry pi) can take different languages. Arduino uses the same chip I use but can be programmed in C++ because it has the bootloader. I only know C and some Python. Raspberry Pi can be programmed in Python and it is easy to learn.

    • @villanuevagonzalo4386
      @villanuevagonzalo4386 3 ปีที่แล้ว

      @@Kimchi_Studios Ok, thanks that´s what I wanted to know. So, all I know of C++ can go to Arduino? Do you know any book or course that teaches you Arduino by using C++

  • @Kimchi_Studios
    @Kimchi_Studios  3 ปีที่แล้ว +1

    Whoah! This video was pretty good! You liked it!
    Subscribe so I can teach you more!
    Let's GOOOOOOOOO!!!! Check out my Robot Skull Face I made with this chip in C language!
    👉 th-cam.com/video/q65lGA5ALJ0/w-d-xo.html

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

    What major did you do or like how did you find out how to do robotics and electric/electronic engineering like this cuz I’m confused cuz there’s electrical engineering mechanical engineering mechatronics robotics engineering what major does it take to work with arduino raspberry pi breadboards, servos and all of that

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

      This is the same question I had 10 years ago! People come up with a lot of different names but it's all "Electronics" some call it "Circuits". I don't have a degree in it, I got a book for one chip: the chip that is on the Arduino Uno and studied every day and learned VERY slowly. I was confused for years. Everything is about how to use the flow of electricity to do work. The chips on these boards are like different weapons with pros and cons. Batteries are like a mag full of ammo. Different components like capacitors, motors, servos are like add'ons to the weapon to help use get the ammo downrange. You can program the chips on these boards or by themselves in different languages in order to control the flow of electricity very fast and repeat things and calculate, etc. Mechanical engineering focuses on how shapes can do work, Electrical engeneering is how to safely control large amounts of electricity (construction, buildings, circuit boards). Robotics is a name for mechanical + electrical. Mechatronics is the same. My website has explanations on all of this and its free. Thanks for the question 👍

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

      @@Kimchi_Studios oh alright thanks that solves my question

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

      @@Kimchi_Studios also what’s the book?

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

      @Eazy E Hardware Programming in C by Elliot Williams but that is an older book and ordering the chips is annoying (I have a video here on it). I would recommend something Raspberry Pico related, the Pico is cheap, easier to hook up to PC to program and can be programmed in Micropython (Python with a few very small changes and any experience you gain can be used to write Python code for a PC 👍 ), C (my favorite low level, fast, slim language), C++, and even Arduino language. There is a Pico W that can connect to WiFi and they will be including Bluetooth control in the future. Raspberry Pi magazine and Maker Magazine have FREE pdf versions each month that show different projects with links to the code and full tutorials etc so no need to spend money on a book. Now you got me excited to make some new videos on this stuff 🤣

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

    and assembly language what category is?

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

      Super low level. aka "Final Boss difficulty"

  • @n9583
    @n9583 4 ปีที่แล้ว

    Hi a I just got into electric engineering and I know how to the parts but I don't know where people code to turn them on please tell me the name of a coding program

    • @Kimchi_Studios
      @Kimchi_Studios  4 ปีที่แล้ว

      You can program electronics with different languages. It depends on which microcontroller or which board you use like Raspberry pi or Arduino. I program in C language because it is faster, smaller and the foundation of most other languages.

    • @D_PMAN
      @D_PMAN 3 ปีที่แล้ว

      @@Kimchi_Studios since you program with C, which hardware are u using often?

    • @Kimchi_Studios
      @Kimchi_Studios  3 ปีที่แล้ว

      @@D_PMAN Chip: Atmega328P
      PC: Windows
      Programmer: Sparkfun USB tiny programmer
      Breadboard

  • @Kimchi_Studios
    @Kimchi_Studios  4 ปีที่แล้ว +5

    204 views and no comments?
    *FIRST*

    • @jm7208
      @jm7208 4 ปีที่แล้ว +1

      Can you recommend any good sites for projets we can do ?

    • @Kimchi_Studios
      @Kimchi_Studios  4 ปีที่แล้ว +2

      @@jm7208 Mine because it is about to be updated with robot projects that can tear through space and time. I am about to upload a TON of videos of projects and post on my website. I will be teaching basics that can be combined into fighting machines.

  • @von4858
    @von4858 3 ปีที่แล้ว

    can i use vs code instead of programmers notepad

  • @im4485
    @im4485 2 ปีที่แล้ว

    Can i do all this in just c?

  • @athermaqsood8309
    @athermaqsood8309 3 ปีที่แล้ว

    Cool video tut can you give link to download the make file

    • @Kimchi_Studios
      @Kimchi_Studios  3 ปีที่แล้ว +1

      github.com/KimchiSammich/Tutorial-Files/blob/master/Makefile

    • @athermaqsood8309
      @athermaqsood8309 3 ปีที่แล้ว

      @@Kimchi_Studios thanks

  • @testimonyincrease5161
    @testimonyincrease5161 2 ปีที่แล้ว

    Pls how do I install the compiler

    • @Kimchi_Studios
      @Kimchi_Studios  2 ปีที่แล้ว +1

      The compiler is automatically installed if you install the WinAVR toolchain found here >> winavr.sourceforge.net/
      It is included in the GCC toolchain which gets installed by WINAVR which is why I still recommend doing it this way, it's easier this way.
      From the WinAVR website: " It includes the GNU GCC compiler for C and C++...WinAVRTM contains all the tools for developing on the AVR. This includes avr-gcc (compiler), avrdude (programmer), avr-gdb (debugger), and more! WinAVR is used all over the world from hobbyists sitting in their damp basements, to schools, to commercial projects."

    • @testimonyincrease5161
      @testimonyincrease5161 2 ปีที่แล้ว

      @@Kimchi_Studios thanks

  • @adrianhenry1982
    @adrianhenry1982 2 ปีที่แล้ว

    Resistance is futile....link me.

  • @user-om2ev8wz6g
    @user-om2ev8wz6g 4 ปีที่แล้ว

    Is JavaScript a good language for programming circuits

    • @Kimchi_Studios
      @Kimchi_Studios  4 ปีที่แล้ว

      Javascript is a high level language used for web applications. You want to use a low level language like C, C# or even Python and C++ if the chip/board supports it (Arduino & Raspberry Pi).

    • @ratipatweras5577
      @ratipatweras5577 4 ปีที่แล้ว

      @@Kimchi_Studios do you know a way to check how much power your raspberry pi circuit consumed?

    • @Kimchi_Studios
      @Kimchi_Studios  4 ปีที่แล้ว

      @@ratipatweras5577 Yeah, use a multimeter in between the pi and your power source to see how much. The first answer in google is good too...

  • @meno437
    @meno437 2 ปีที่แล้ว

    38:14 my favorite moment

  • @jwp-yh8wh
    @jwp-yh8wh 2 ปีที่แล้ว

    Do you build robots with Kimchi?

    • @Kimchi_Studios
      @Kimchi_Studios  2 ปีที่แล้ว

      물론 김치를 어느 정도 넣어야지만 작동됩니다 ^^

    • @jwp-yh8wh
      @jwp-yh8wh 2 ปีที่แล้ว

      @@Kimchi_Studios 아하 ㅋㅋㅋㅋ 저도 한번 넣어보겠습니다

    • @Kimchi_Studios
      @Kimchi_Studios  2 ปีที่แล้ว

      😅

  • @tomaszwota1465
    @tomaszwota1465 4 ปีที่แล้ว

    I'm sorry, I've just skipped ahead and I see you edit your Makefile in Wordpad... Why Wordpad in an age of easily accessible, fast and free syntax-coloring editors like the venerable Flo's Notepad2 (I outright replace Microsoft Notepad with that every time I install Windows) or any of a plethora of other good free tools like, say, Notepad++. You even use Programmer's Notepad in the video, why not use that one? I don't remember running Wordpad in about two decades.
    A tip for beginners, Makefile is sensitive when it comes to whitespace characters - if everything looks OK but it just doesn't work, maybe you used MS Notepad and it added BOM character at the beginning (use an editor that can show whitespace characters, or even a hex editor to confirm).
    Anyway, keep up the good work.

    • @Kimchi_Studios
      @Kimchi_Studios  4 ปีที่แล้ว

      Wordpad is my personal preference for viewing Makefiles for organizational work flow purposes. I have never had a problem because I only edit small parts of the Makefile. I don't like opening everything in Programmer's Notepad.

  • @eshamkashif4051
    @eshamkashif4051 4 ปีที่แล้ว +3

    Oh my god when I clicked for your channel I literally got so scared

  • @velmuruganv9943
    @velmuruganv9943 3 ปีที่แล้ว

    Can we do with python

    • @Kimchi_Studios
      @Kimchi_Studios  3 ปีที่แล้ว +2

      Great question! This chip can only speak in AVR C language. However, I am waiting for my order of Raspberry Pi micros to come soon which can be coded with MicroPython language AND C! I can't wait to make tutorials about them.

    • @velmuruganv9943
      @velmuruganv9943 3 ปีที่แล้ว

      @@Kimchi_Studios Appreciate the effort you take :)

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

    This video made me cry...in my pants

    • @Kimchi_Studios
      @Kimchi_Studios  ปีที่แล้ว +1

      🤣🤣🤣💀

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

      @@Kimchi_Studios don't judge me.

  • @shadaman8795
    @shadaman8795 2 ปีที่แล้ว

    Koi electrical software engineer hai jisko c programming aati ho?

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

    Up

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

    38:12 avrage error enjoyer

  • @yosuasasauw4006
    @yosuasasauw4006 3 ปีที่แล้ว

    funny moments : 38:14

  • @veerlas7773
    @veerlas7773 4 ปีที่แล้ว

    Your intro is long

    • @Kimchi_Studios
      @Kimchi_Studios  4 ปีที่แล้ว

      Yeah it was. Check out my latest videos they are much shorter!