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.
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.
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
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.
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 :)
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.
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).
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!
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
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.
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);
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.
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
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!
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
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
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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!
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,
@@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 😂
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!
I've got that exact same toaster!
This is the best intro to microcontrollers i've found.
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.
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.
HAHA,i am also love this Chanel immediately,but i am will to watch more making videos than explaining videos.
same
Same with me bro😂😂
I also see this video and subscribed this immediately😂😂
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
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.
I've had an Arduino for 4 weeks now but I need to learn how microcontrollers work. I ordered a PIC10F200 for these tutorials.
Awesome!
Im so excited, thanks a lot
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 :)
How’s prison Creed?
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.
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).
Cool info, well done, thanks for sharing :)
Awesome Wonderful Keep going ..... Well Delivered
Thanks Jason!
So good Chanel with so less fans.good luck
Thank you!
Wow. I'm glad that i found this channel. One subscriber for sure. Keep it up !
Thanks, I appreciate it!
the best video on the internet
Thanks Umair!
I've been hunting for tutorials that go to the basics without using the arduou environment
Very nice thank you dear
Thanks for your easy way
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!
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
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.
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);
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.
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
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!
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
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
Great work!
Thanks Juan! Also appreciate the shout-out on Twitter!
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.
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
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.
thanks what an awesome explanation.
Wow greatful
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.
Does all pic microcontroller do need Been program before use ?
We go over everything that you'll need in a later tutorial, which includes a programmer (like a PICKit).
@@CircuitBread good
thanks
Hey,
Can you do a project on 8051 using assembly language.
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.
C'mon, you could fly to the moon with that!
Can't find anyone that has 10f200 on hand will 10f220 be the same?
Yep, that should work just fine.
Thanq
Hope you explain the transistor to us
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
3:56 so what to use when going commercial?
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.
OH YEEEEAH TURN ON THOSE LEDS!
😂
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.
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.
yes i want to understand how these things work arduino good but i want to know more
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.
Is it possible to add , ram and rom to this smal simlpe microcontroller 😅?
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.
Is it possible to use micro python to code these chips?
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.
good start..
How about something with a STM30g030 form st
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.
What type of education do I need to learn all this
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!
@@CircuitBread thank you, I’m glad I ran into your Chanel. This is definitely something I’m looking to get into.
Tremendo
Thanks for the videos. Are You a Romulan?
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!
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,
But can it run Doom
😂 I don't think so but there are smarter people out there than I.
@@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 😂
5:00 with the subtitles
Conceptual-->sexual :)
Who is the writer?
By the way...
Very fluent, comprehensive and understanable content. Thanks ^^
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!
Thanks sir
Hii sir
👋
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