How to Use a Simple Microcontroller Part 1 - An Introduction (PIC10F200)

Поділитися
Вставка
  • Опубліковано 10 гру 2024

КОМЕНТАРІ • 93

  • @W1RMD
    @W1RMD 2 роки тому +29

    I've got that exact same toaster!

  • @FASHIONIZE
    @FASHIONIZE 8 місяців тому +4

    This is the best intro to microcontrollers i've found.

  • @seeking9145
    @seeking9145 5 років тому +61

    This is the first video I saw of this channel and I immediately subscribed. I like tutorials for explaining how things work and not only how to use them.

    • @CircuitBread
      @CircuitBread  5 років тому +7

      Thanks for the feedback! That's why I love Sergey's tutorials, and his write-ups that we post on circuitbread.com are even better than my video versions in this regard. He is quite thorough in explaining the whys and hows.

    • @dragonliu5350
      @dragonliu5350 4 роки тому

      HAHA,i am also love this Chanel immediately,but i am will to watch more making videos than explaining videos.

    • @nathanthomas9395
      @nathanthomas9395 3 роки тому

      same

    • @SuryanshInstrumental
      @SuryanshInstrumental 3 роки тому

      Same with me bro😂😂

    • @SuryanshInstrumental
      @SuryanshInstrumental 3 роки тому

      I also see this video and subscribed this immediately😂😂

  • @CircuitBread
    @CircuitBread  4 роки тому +8

    Hi all! These microcontroller video tutorials are based on the written tutorials that Sergey has put together. He goes into *a lot* more detail in the code, the organization, and the schematics and I highly recommend you check out the accompanying written tutorial for each of these. For this introductory tutorial, you can find it here: www.circuitbread.com/tutorials/how-to-use-a-simple-microcontroller-series-intro-pic10f200-part-1

  • @jobbydude
    @jobbydude 2 роки тому +4

    Thank you for this amazing series! This will serve as an introduction for me to dive into electronics and microcontrollers with a better understanding of it at a lower level. Also exited to learn assembly. I can make projects with fewer and cheaper parts this time.

  • @Richie_
    @Richie_ 3 роки тому

    I've had an Arduino for 4 weeks now but I need to learn how microcontrollers work. I ordered a PIC10F200 for these tutorials.

  • @bendustin7609
    @bendustin7609 Рік тому +2

    Im so excited, thanks a lot

  • @christerranaldo906
    @christerranaldo906 3 роки тому +7

    I'm currently designing a device which counts Pull-Ups. I already shrunk the project down to just the Atmega328 chip but the costs of those chips is still a bit too much for production (I'm planning to produce around 10 devices). I hope this series will give me some insight in cheaper alternatives :)

  • @marcvandenhende5344
    @marcvandenhende5344 4 роки тому +2

    A thumbs up for the way you bring over the information. I do have my thoughts on the use of a pic though... PICs may be a good choice for when you have to do very simple things or just to learn how microcontrollers work at the lowest level. But I did a lot of PIC assembly language programming at work (pic16f and pic18f devices) and believe me, pics are definitely not a good choice for larger assembly language projects. The use of memory banks and the way conditional branching is performed makes programming errors unavoidable.

    • @CircuitBread
      @CircuitBread  4 роки тому +2

      Hey Marc, thanks for the feedback! Those are some great insights and I hope people see this when they're considering what to use for some of their projects. When Sergey and I were discussing this, we chose it because we wanted the simplest example possible to go over the functions of a microcontroller. We explicitly assumed that once people go through these, they'll have a better idea of what's going on at the fundamental / underlying levels but then move onto a complete different microcontroller (and probably change to C).

  • @RixtronixLAB
    @RixtronixLAB Рік тому +1

    Cool info, well done, thanks for sharing :)

  • @jasonchiak6789
    @jasonchiak6789 4 роки тому +3

    Awesome Wonderful Keep going ..... Well Delivered

  • @dragonliu5350
    @dragonliu5350 4 роки тому +3

    So good Chanel with so less fans.good luck

  • @wunderkid8749
    @wunderkid8749 4 роки тому +2

    Wow. I'm glad that i found this channel. One subscriber for sure. Keep it up !

  • @zayn7510
    @zayn7510 4 роки тому +6

    the best video on the internet

  • @hannahwells9397
    @hannahwells9397 2 роки тому +2

    I've been hunting for tutorials that go to the basics without using the arduou environment

  • @PriyaPriya-qm3pl
    @PriyaPriya-qm3pl Рік тому +1

    Very nice thank you dear

  • @shadadalhaj7576
    @shadadalhaj7576 5 років тому +4

    Thanks for your easy way

    • @CircuitBread
      @CircuitBread  5 років тому +1

      Thanks Shadad! We're really enjoying making this series, it has been a lot of fun so far. We have two that are being edited (one of which will hopefully be posted later today) and two more that we're hoping to shoot tomorrow - Sergey has been creating some really interesting tutorials!

  • @randomassname42069
    @randomassname42069 3 роки тому +2

    Assembly is great for learning how a microcontroller works, but most c-compilers are way better than any beginner can write in assembly, it takes a lot of experience to really get anything out of coding in assembly

    • @CircuitBread
      @CircuitBread  3 роки тому +1

      Yeah, I'd agree with that wholeheartedly. For practical applications, the only time I've used assembly is embedded in C-code when I want to directly control how many cycles occur for timing purposes. Sergey may be able to write eloquent and efficient Assembly, but C is more up my alley.

  • @jtauscher
    @jtauscher Місяць тому

    Hi, I hope you are doing well! Do you know its possible to have 3 PWM outputs with this exactly PIC10F200 (6Pins)? I want to build a simple but compact fire simulation with 3 LEDs and simple arduino commands like >> analogWrite(ledPin1, random(120)+135);

  • @stnwrd
    @stnwrd 2 роки тому +3

    Barebones was what I was looking for. Simple and easy to use. I also like designing and making my own custom circuits. Making my own design and not using someone else design.

  • @dLLund
    @dLLund 4 роки тому +1

    could one cable directly from rs232 serial port on older computer to the rx & tx pins on the uC, to eliminate the pickit2/3 ? null modem, i assume [rx->tx & tx->rx], & pretty slow, maybe 1200 baud ? thank you for posting your fine series of tutorial videos. you've re-animated an old man's interest. used to program stepper controllers w/ n-codes, an ascii text editor, a simple rs232 cable, and a short basic program to down/upload. that was 30 years ago, however. thank you. dLLund

    • @CircuitBread
      @CircuitBread  4 роки тому

      Hi David! Actually, once you've programmed the PIC, you don't need the PICKit2/3/4 at all. You can provide power from another source and the RS232 is completely independent of the PICKits. And if you have an older computer, you won't need the USB-RS232 converter, though you will still need a logic level shifter as the voltage levels on the microcontroller and the voltage levels on the computer rs232 serial ports are different. That is the piece from Sparkfun that I bought a decade ago and is plugged into the actual breadboard. Thing is, even with an old computer, you could probably go significantly faster than 1200 baud (I guess it depends on how old the computer is) but that setup sounds like it would work!

  • @saneeshelectronica9293
    @saneeshelectronica9293 3 роки тому +1

    i have a speedo meter works on encoder. encoder purse rate 0- 500 pulses per second on both channel A & B .my meter has 5% errror i wanted to feed this to micro controller and make 5% more pulses out put on both channel to compensate the error. (for examble if frequency 100 hz i need 105 hz output) could you please guide me

    • @CircuitBread
      @CircuitBread  3 роки тому

      Hi Saneesh, have you looked at our PWM tutorial? Did it help out? www.circuitbread.com/tutorials/pwm-led-dimming-part-7-microcontroller-basics-pic10f200

  • @juansauceda9656
    @juansauceda9656 4 роки тому +1

    Great work!

    • @CircuitBread
      @CircuitBread  4 роки тому

      Thanks Juan! Also appreciate the shout-out on Twitter!

  • @Fnta_discovery
    @Fnta_discovery 2 роки тому

    Hello. often program the microcontrollers. I see bit shift right or left using symbol ">>". why we use it. I am waiting for your response thank you.

  • @anyonecanmakeit718
    @anyonecanmakeit718 Рік тому

    Sir if i use pic12f508 instead of u told i just have to change library for that ic right??
    Pls comment i m not getting pic12f200

    • @davidconner-shover51
      @davidconner-shover51 Рік тому

      for the size, not a bad one, I've done a single character display (20LEDs in a 4x5 grid) with no extra silicon with a 12c509 in the past, it had the room to implement 4 bits of shading, character maps, scrolling, messages. I used every last byte on it. ROM and RAM, however.

  • @ebenezerdzuwa2823
    @ebenezerdzuwa2823 5 років тому +1

    thanks what an awesome explanation.

  • @elkelvinhobrook1143
    @elkelvinhobrook1143 3 роки тому +1

    Wow greatful

  • @brucelamb6060
    @brucelamb6060 3 роки тому +1

    Great intro! I think i'm sold on watching more.
    Before I do.. Is there software on "emulating" components such as the microchip/controller and various possible hardware?
    I would like to emulate and make sure it works before I go buy the real stuff and make it work.
    Very familiar with c++ and memory management. Little experience with MIPS32 assembly.

  • @allenchow-dc6br
    @allenchow-dc6br Рік тому

    Does all pic microcontroller do need Been program before use ?

    • @CircuitBread
      @CircuitBread  Рік тому

      We go over everything that you'll need in a later tutorial, which includes a programmer (like a PICKit).

    • @allenchow-dc6br
      @allenchow-dc6br Рік тому

      @@CircuitBread good

  • @raulcajacuri3930
    @raulcajacuri3930 11 місяців тому +1

    thanks

  • @tanishjeetsingh4350
    @tanishjeetsingh4350 4 роки тому +1

    Hey,
    Can you do a project on 8051 using assembly language.

    • @CircuitBread
      @CircuitBread  4 роки тому

      Hey Tanishjeet! Sergey and I are in discussions right now about what he's doing next 0 we have about five more tutorials on this topic we still need to wrap up. Honestly, though, it's unlikely it'll be on the 8051, though it is an option.

  • @mikey38632
    @mikey38632 Рік тому

    C'mon, you could fly to the moon with that!

  • @seanlicht6083
    @seanlicht6083 2 роки тому

    Can't find anyone that has 10f200 on hand will 10f220 be the same?

  • @jayahanton7867
    @jayahanton7867 4 роки тому +1

    Thanq

  • @abdulrahmanzam2803
    @abdulrahmanzam2803 3 роки тому

    Hope you explain the transistor to us

  • @bennyhinnsamuel3149
    @bennyhinnsamuel3149 2 роки тому

    Please can someone urgently help me with a guide of designing a pcb board or the circuit for pic mcu, just like the arduino board

  • @work1008
    @work1008 4 роки тому

    3:56 so what to use when going commercial?

    • @CircuitBread
      @CircuitBread  4 роки тому +4

      That's an interesting question! Like so many answers in engineering - it depends. What kind of application are you going for? If you want a simple, inexpensive chip to play a birthday jingle in a card, then the PIC10F200 may be the ideal solution. If you're looking for a robust ADAS solution that can handle touchscreen interfaces, dozens of peripherals, and still have real-time responsiveness, then Renesas has some great products. I'm curious if there are other people out there reading these comments that might have some more thoughts on this, though.

  • @GaryCrowellJr
    @GaryCrowellJr 5 років тому +1

    OH YEEEEAH TURN ON THOSE LEDS!

  • @migkillerphantom
    @migkillerphantom 4 роки тому +1

    There isn't an order of magnitude difference in binary program size between asm and compiled C. The reason arduino code is huge is that it includes a whole bunch of standard library shit, defines a whole bunch of interrupts, and has a bunch of overhead for their own platform functions.
    Remove the static overhead and you will be left with binaries within the same order of magnitude in size.

    • @CircuitBread
      @CircuitBread  4 роки тому +1

      Thanks for the comment - you're right, it doesn't need to be that much bigger. In general, programming something in C versus ASM on the PIC they should be relatively similar in size and poorly written ASM code could easily be larger than well-written C code with a good compiler. But with Arduino, building an LED blinky program, the output code size it gives is an order of magnitude bigger than the PIC code of the same size. I don't know the inner workings of the Arduino well enough to say why, but in our tests, it's pretty clear. It would be interesting to know why.

  • @oldguy8177able
    @oldguy8177able 4 роки тому +1

    yes i want to understand how these things work arduino good but i want to know more

    • @CircuitBread
      @CircuitBread  4 роки тому +1

      Cool! Yeah, the first 5-7 of these are really great at getting a better understanding of how the microcontroller works and how the commands in general work. The later tutorials start to focus more on applications and peripherals which are also very useful but it is a different focus.

  • @tomhankstomhanks2579
    @tomhankstomhanks2579 Рік тому

    Is it possible to add , ram and rom to this smal simlpe microcontroller 😅?

    • @CircuitBread
      @CircuitBread  Рік тому +1

      You can't add RAM and ROM to the MCU (well, technically, you could have some external chips) but you can just look at the PIC10F series and choose an option with more RAM and ROM.

  • @lct9031
    @lct9031 2 роки тому

    Is it possible to use micro python to code these chips?

    • @CircuitBread
      @CircuitBread  2 роки тому

      I'm not very familiar with micro python, but my understanding is that while it is compatible with some PIC's, the PIC10F200 is not one of them. If I'm not mistaken, it only works with 16-bit PICs.

  • @samudayarajapaksha1468
    @samudayarajapaksha1468 4 роки тому

    good start..

  • @pietervanniekerk4453
    @pietervanniekerk4453 4 роки тому

    How about something with a STM30g030 form st

    • @CircuitBread
      @CircuitBread  4 роки тому +1

      Hi Pieter! We do have some STM projects we've been working on and it is also on the list of possible future topics, but probably not anything soon. For me, I actually have more experience with the STM32F than the the PIC10F, but Sergey is the driving force behind these and we'll see what he wants to do.

  • @Copynnpaste
    @Copynnpaste Рік тому

    What type of education do I need to learn all this

    • @CircuitBread
      @CircuitBread  Рік тому

      It's helpful to have a bit of circuits background to understand some things that we skim over on that subject (we do have a basic circuits playlist - you don't need much past Ohm's Law to understand everything we do here: ua-cam.com/play/PLfYdTiQCV_p4IKgfbRML5EHFJPfBdW9Fv.html
      If this is your first foray into anything technical like this, you should be fine but I think it will just be all that much more important to go and read the written tutorials that Sergey wrote in addition to watching these videos. Between the written and video tutorials, you should be able to work through all these!

    • @Copynnpaste
      @Copynnpaste Рік тому

      @@CircuitBread thank you, I’m glad I ran into your Chanel. This is definitely something I’m looking to get into.

  • @lecrammped9036
    @lecrammped9036 3 місяці тому

    Tremendo

  • @mauricioherrera2482
    @mauricioherrera2482 3 роки тому

    Thanks for the videos. Are You a Romulan?

    • @CircuitBread
      @CircuitBread  3 роки тому +1

      I've never done any genetic testing but physiologically, all indication is that I'm human. I'll let you know if I find out anything to the contrary!

  • @wayneeden98
    @wayneeden98 2 роки тому

    If anyone can help me figure out to build a small 2 inch by 2 inch circuit board that would direct electric current in 2 different directions, with 1 or 2 different micro electric motors, by turning a bolt in 2 different directions with something that you would hold in your hand, that's all I need, my door is open,

  • @unchayndspersonalaccount7690
    @unchayndspersonalaccount7690 3 роки тому +1

    But can it run Doom

    • @CircuitBread
      @CircuitBread  3 роки тому

      😂 I don't think so but there are smarter people out there than I.

    • @unchayndspersonalaccount7690
      @unchayndspersonalaccount7690 3 роки тому +1

      @@CircuitBread Haha there's a running joke of trying to get Doom to run on lots of different things. I think someone ran it on a printer, and I think someone even ran it on an Arduino Uno lol. As for running it on this tiny chip... it's a pretty far-fetched prospect 😂

  • @yasinozkan839
    @yasinozkan839 4 роки тому

    5:00 with the subtitles
    Conceptual-->sexual :)
    Who is the writer?
    By the way...
    Very fluent, comprehensive and understanable content. Thanks ^^

    • @CircuitBread
      @CircuitBread  4 роки тому +1

      Haha! Oh dang it - that's me. I obviously didn't do the greatest job cleaning up that text, I'll jump in and fix that now. Glad you enjoyed and thanks for pointing that out!

  • @dynamogaming7521
    @dynamogaming7521 5 років тому +1

    Thanks sir

  • @xtrlab2376
    @xtrlab2376 3 роки тому

    Hii sir

  • @thomasschuler5351
    @thomasschuler5351 3 роки тому

    zoom in - zoom out - zoom in - zoom out - zoom in - zoom out - zoom in - zoom out - zoom in - zoom out ... makes this video hard to watch