Part 1. Intro to Embedded C Programming with the PIC18F14K50

Поделиться
HTML-код
  • Опубликовано: 4 июн 2024
  • Due to the popularity of the embedded system tutorials based on Assembly and the PIC10F200, Sergey has put together an embedded systems tutorial based on the C language using the PIC18F14K50. In this introduction tutorial, Josh covers the intent of this tutorial series, emphasizes the importance of Sergey's written tutorials that these videos are based on, before reviewing some of the hardware and software that will be used in the series.
    This is a companion piece for the more detailed written tutorial written by Sergey, which you can find here: www.circuitbread.com/tutorial...
    0:00 Introduction
    0:20 What we're doing in this tutorial series
    0:52 Overview of the PIC18F14K50 hardware
    1:50 Emphasizing the importance of Sergey's written tutorial
    3:31 More about this tutorial series
    4:50 The hardware and software you'll need
    7:08 MPLAB IDE and XC8 compiler Installation
    11:54 Summary
    12:36 The toast will never pop up
    For electronics tools, tutorials, equations and more check out our site: www.circuitbread.com
    And check out our Friends of CircuitBread, who offer special discounts, product samples, resources and more to our users: www.circuitbread.com/friends
    CircuitBread is joining the fight to help people more easily learn about and use electronics. With an ever-growing array of equations, tools, and tutorials, we're striving for the best ways to make electronics and electrical engineering topics more accessible to everyone.
    Connect with CircuitBread:
    Discord ➤ / discord
    Instagram ➤ / circuitbread
    Facebook ➤ / circuitbread
    Twitter ➤ / circuitbread
  • НаукаНаука

Комментарии • 38

  • @MellexLabs
    @MellexLabs Год назад +10

    Very refreshing to see PIC tutorials amongst all the other types of MCUs out there.

    • @relativenormality
      @relativenormality Год назад +2

      I am using PIC XC8 because Arduino although may get you there faster with lots of different peripherals at some point you are going to have to get your hands dirty and decipher a datasheet and write appropriate code and the friendly Arduino libraries won't troubleshoot for you. I have also found that once you have C down adapting Arduino C libraries for use on PIC is a good resource and starting point.

  • @shashikantsingh6555
    @shashikantsingh6555 Год назад +1

    Thanks sir... I hve been waiting for this series

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

    Thank you very much for starting new series with more powerful PIC. The way you explain tutorials is amazing...👏👏👏

    • @CircuitBread
      @CircuitBread  Год назад +1

      Thank you! I hope the series fulfills your expectations!

  • @fatal_moon4570
    @fatal_moon4570 Год назад +1

    I will be following along for the next parts! Great content for engineering students

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

      Awesome! I appreciate your feedback, let me know your thoughts as you're going along. It's always good to hear where we can improve and what portions are useful!

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

    great job! keep it up! thanks for being a mentor and a pillar of the self-learning community!

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

      Thank you! Sergey is such a fount of wonderful information, I love being able to help him share that knowledge with others!

  • @srinivasn.v3218
    @srinivasn.v3218 Год назад +1

    Awesome tutorial

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

    just passing by to say great job, I was really waiting a lot since the pic10f series with the outdated assembly

  • @arashyusefi1889
    @arashyusefi1889 15 дней назад +1

    Thanks 👍🙏💯😊

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

    Thanks!

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

    Just got my pieces in the mail :D

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

    need to go fix the pic10f200 series. after the compiler has been deprecated its impossible to fallow along with the new compiler

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

    I'm looking forward to the series.
    On the MicroChip website there are two versions of the DIP PIC
    PIC18F14K50-E/P and PIC18F14K50-I/P
    Only the first one is currently in stock but the second is restocking shortly. Do you know which one we need or does it even matter?

    • @CircuitBread
      @CircuitBread  Год назад +2

      Great question! For our uses, either one works. The only difference should be environmental standards - one has a wider operating temperature range than the other. If you're just using it in your lab, you shouldn't be even close to the extremes for either PIC.

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

      @@CircuitBread thank you for the quick answer! Yes, just using it in the lab for now. I could not find the answer in their brief datasheet.

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

    Have you explain somewhere what all the pic hardware related terminologies mean? What are all those things you said in the hardware timestamp?

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

      The PICKit 3 or PICKit 4? Is that what you're referring to? Those are different generations of the programmer that is made by Microchip for programming their microcontrollers. The rest of the hardware referenced is rather generic electrical engineering things, like resistors and LEDs, and Sergey lists them out in the written tutorial. If there's a question about those, I'd check out our Circuit 101 series or our LEDs playlist. If I'm misunderstanding the question, let me know how so I can help!

  • @williambchoang8487
    @williambchoang8487 Год назад +1

    nice

  • @DesertVox
    @DesertVox Год назад +1

    So far, I've only dealt with Arduino and arduino-compatible hardware like ESP32s etc. What would be the reason to learn a new hardware and IDE? Is it really worth it, or should I stick to Arduino as a hobbyist?

    • @CircuitBread
      @CircuitBread  Год назад +1

      Each ecosystem has their own pros and cons. If you're a hobbyist and are more end-result interested versus enjoying the process, well... I'd probably just stick with the Arduino. Arduinos are surprisingly inexpensive, don't need specific programmers (like the PICKit), and some of them are quite powerful. On top of this, there is A LOT of fantastic information and help for Arduinos. That being said, Arduino scales poorly in pricing (buying 1,000+ doesn't see significant price drops like you'd see with an MCU), is not very efficient in its code, is not at flexible on the hardware side, and is missing many features that are needed in "serious" applications. So, pros and cons for each but it sounds like you're probably good with just sticking with the Arduino platform.

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

    Can you tell how to program an ic for user based input , say using up / down buttons?
    Like we have to do to set voltages - high , low etc. OR make a video on this.

    • @CircuitBread
      @CircuitBread  3 месяца назад +1

      Yep, we cover that in two different videos, using the MCC and without. You can find the one that doesn't use the MCC here: ruclips.net/video/4dxnhgv2M6M/видео.html

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

      @@CircuitBread thank you for responding. i shall surely look it up.

  • @zetaconvex1987
    @zetaconvex1987 Год назад +1

    Interesting, Josh. Although, to be honest, I'm now wedded to STM32s and RP2040s.
    A suggestion for the future: a series covering BJTs.

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

      I delved deep into STM32s when I was working toward my MSEE (which I never actually got) and while I liked the platform, PICs were my first MCU love...

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

      BJT specific circuits? Sort of like the op-amp series but with BJTs? I like that idea...

    • @zetaconvex1987
      @zetaconvex1987 Год назад +1

      @@CircuitBread Yeah. Don't bother explaining what's happening at an atomic level. We're more interested in how to use them in our circuits. Also, give us a conceptual framework for their use. Too often tutorials gloss over explaining why they're doing what they're doing.

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

    Oh and btw. in germany we have a saying: "Guten Rutsch" (Gooten Rooch for English speakers)
    Means roughly "Have a good slide into the new year"
    So... Guten Rutsch

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

    If you want to learn C++ buy a Raspberry Pie Pico RP2040, the IDE is free and the chip is about 10 quid and available to buy today it just connects to the USB port and appears as a mass storage device. Gonna enjoy your series though !...cheers.

    • @CircuitBread
      @CircuitBread  Год назад +1

      Interesting! Raspberry Pi's are super fascinating to me but I admit, I always impulse buy one (for nearly each generation, it feels), so I've got like five of them but only use two of them...

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

    I love uCs for for one particular reason. You know by now I'm a mere cable monkey, but i do repairs and stuff. Repairing appliances like Microwaves, washing machines, tumblers and so on aren't really complicated, despite their fancy user interfaces nowadays. If these UI's die or shut down bc of planned obsolescence , you can brew your own. Just beware, building a Wifi enabled Microwave might proof difficult 😛
    I used to do this with with relays back in the days, when uCs existed but weren't as accessible as they are today.

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

      Ha! "Why does the microwave keep losing signal right when it starts cooking? So strange..." Laren's (he's the lead designer for CircuitBread) only video was a review the Amazon Alexa microwave and, I think like most people, was fairly underwhelmed by it...