Thank u. Back in 2000 when i was studying Automatism..I remember I bought one pic programmer.. the price was like 300 canadian $.. and I checked the price now... changed drastically.. I am watching your channel to recap what I have forgot in all this years. Thank u for this channel.
Another application which is personally my favorite would be oscillators! :) Basically capacitive delays reacting to each other, which is btw the purpose of the capacitor in NE555 circuit you mention at the end of the video - the more capacitance you put in there, the more delay and the longer oscillations would occur (alongside with the resistance, following the RC formula). Multivibrators are pretty easy to understand, you just have to charge one capacitor on the trigger level of the transistor gate which would charge the second capacitor on its collector which would trigger and decharge the first capacitor and so on and on, which would give us continuous switching... But the phase-shifting oscillators are even on the next level! The point is to use 3 capacitors to make 180° phase-shift and put it to the negative feedback of an amplifier which would give us continuous resonant frequency as sinusoidal wave on the output. Love that phenomenon! Not even talking about the RLC oscillators! :D
ESP32 are excellent choice for IOT (internet of things) projects. Extremely easy to program using Arduino (& supported library). It includes wireless. I have used it for many home automation projects & it is supported by Home Assistant, a home automation control center. You can also wirelessly update ESP 32.
I'm also using it. And if I want an ultra cheap solution with wifi, to control a relay, sense temperature, or control a led strip, the esp01s is the perfect solution (with Tasmota & Node-Red).
Cool stuff, just got into microcontrollers the last few months buying all types from different makers and i think my main issue was all the hardware layer abstraction, hiding away the workings of the cpu which i think is a mistake we should learn how they actually manipulates things with their registers and not hide it away. Beginner tutorials should have you blinking an LED with registers and even implementing your own delay function using the built in timer modules or interreupts to emphasize the workings of the cpu. For the first time as programmers we're given the keys to the cpu instead of taking a backseat, i think we should know how to drive it. I think where electornics skills come in handy at that point, being able to understand the hardware of it. Computers arent 1's and 0's they're changing voltages. See another unhelpful hardware layer abstraction 1's and 0's lol As i dig deeper i find the little circuites that make up the inviditual modules of the cpu to be quite fascinating, like how 1 gpio pin can have 3 states, which a real hardware circuit figures out by configuring itself based on a bit set in memory. Amazing.
@@elewizard I'm aware that an Arduino itself is not a microcontroller. But I'm very surprised you think it's the worst choice to start with. It is just *barely* a platform based on (typically) the AVR microcontrollers, uses the same dev environment, language, etc. But I suppose that's why they make menus. I've taught classes with Arduinos, and I can't really imagine doing the same introductory classes with the bare microcontroller.
@@elewizard I don't see what's wrong with Arduino. Since there's a lot of documentation, it's easy to use for beginner, so for me it can be a good choice.
I’d have said your definition of a Microcontroller was wrong. Many SoC devices contain all you list for a Microcontroller. The major difference is that the CPU in a Microcontroller is designed to behave in a precisely predictable way. Modern application processors are far from predictable as they execute code out of order, talk to cache memory that may miss, and beyond that to SDRAM that isn’t predictable as to what state it is in (the data requested may be on the current open page, or anywhere through to being mid refresh). Microcontrollers can be relied on to complete a given piece of code in a predictable time, thus allowing you to do things like bit banging. An ESP32 for example can generate a perfectly good VGA video image in code, an ATMEGA can bit bang WS2812 LED protocols etc.
Thank you, you light my way. I'm not a complete newbie, but I'm basic user, you was very very clear and complete, you helped me to have a good basic of how mcu work. thx
Wow, this is, by far, the best video about Microcontrollers. If you do an extensive and complete playlist about microcontrollers you will become a reference on RUclips. So, I think you'll cover STM, ATMEL, ESP, right? Congratulations.
I used Microchip pic for years using assembly language but now I use Arduinno and C. With originally the pic having just 44 instructions (16F84), it was easy to program in assembly but you had to know all the rgisters inside the pic.
Glad I am not the only one that thought so! PIC are wonderful, but somewhat complex. I worked with the 12F family for a project and the learning curve was steep. @@elewizard
Yeah… I’ve been trough learning gamedev and web apps and each didn’t satisfied my „Geeks G point”. Hope this will do and you will help me cross. You’ve earned a sub and all the bells! Thanks 👍
The best beginners mcu is not an mcu, but an arduino. Plug and play. Tons of available sketches, so one can get familiar with concepts of doing stuff with an mcu. After that you can drift to avr, since arduino is based on an avr mcu and after that go to any platform you like, or all of them
@@elewizard learning to swim having yor hands and legs tied and an anchor chained to your neck is not the best idea for the majority of people. Some might make it, but 99.99% wont. And that's exactly how "real" MCU learning is compared to arduino. All the infrastructure for MCUs is made by retards, that don't know how humans think, what are ergonomics, and how to teach people. I'm no pro in electronics, but using an arduino I can make things done. I many times tried to start with avr, stm, pic and other shit. And despite me already understanding what I need (without arduino I wouldn't even know what I needed) I cant even start doing stuff, since this doesn't work, or that dumbfuckerry is incompatible, or the cat crossed the street in the wrong place. Sure I can larn that eventually by going to a university and wasting 5 years of my life and few hundred $k, but I aint got time nor money to waste for such stupidity just to get a damn led blinking. Dont get me wrong, arduino is als shit, but at least, its very user friendly, especially thanks to the community. You want to learn how to blink a led - watch a vid and look at the code. How to use a keypad - watch a vid and code. Mux? Adc? Rfid? The same. Didn't understand frome the first one - watch another one from millions out there. And there you go, you already understand what you need to do and what the mcu needs to do, and you can grow on that, instead of figuring out how the fuck you configure that shitmcu you have there connected to your pc, not to mention how to flash it, or how to switch a pin high or low. Arduino is THE BEST learning platform period. Nothing will come close due to the enormous arduino community. And in the end it's better to get stuck with arduino, then not get started at all with mcus all together.
I like to think about MCU as "All In One" Computer : Flash Memory, SRAM, CPU, I/O, Clock, Power management... All inside just a single chip. which CPU/MPU never will become or be able to compete with.
This could not have came in a better time, or have you cracked the algorithm? :) loljk Since after many years, I am now getting more serious about electronics, specifically microchips. :) Thank you for this intro Masterclass! :) And I will see you next timeeee, for this series! :)
Back in the day a byte meant 8 bits. Now that we have 16, 32, and 64 bit MCU's, 6:07, am I saving MCU cycles and/or memory by declaring a variable as a byte as apposed declaring it as an integer?
My biggest question at this point is, how do I choose which microcontroller to use with an LCD. And example of one that I've looked at is a 128x64 White on Blue Graphic LCD from Crystalfontz (CFAG12864B-TMI-V). Which microcontroller would work best with this?
Selecting right microcontroller for driving your LCD I'd not a big deal, because, almost every microcontroller can drive a 64x128 GLCD. you have to consider other parameters like, cost, size and parameters like these 👍
@@elewizard Thanks for the quick reply and information! I'm fascinated with LCD's and the microcontrollers that control them. I've got an extra STC15W408S that I do want to experiment with and would like to attach it to some kind of multi-row LCD. I'm planning a small audio amplifier and would like to add inputs for a CD, DVD, Phono, Aux, and an FM/AM radio. I'd like to use a 6 position switch that will ultimately control what is displayed on the LCD. If the switch is set to CD, I'd like for the LCD to display "CD". If switched to FM, I'd like have the display to show the MHz and if AM, KHz. Can you suggest more in-depth videos that would help direct me on how to accomplish this?
The sensitivity to noise is true? DIP is better then SMTs? If so, thank you for the info. But then again, using a breadboard will increase such sensitivity alot. (Just to inform those who are not aware)
I have an HT48R32-B-0 microcontroller in my hi fi audio amp and need a programmer, do you know what am i looking for and can you help with a device that will program that. i have the original chip so i just need to copy the info onto a blank one. Thanks
I bought two bags of random ICs, I got two Texas Instruments TMS1200NC 4-bit microcontrollers (Called microcomputers in the TMS1000 series datasheet. The datasheet is copyrighted 1975, lol.) and I have no idea what they have been used for or what the internal ROMs have been programmed with. Anyone got any idea how I could get a ROM dump out of them or how/if I could bypass the internal ROM and use an external EEPROM for program storage?
micro-controllers, i often consider them 'cheating', i like to make stuff myself using analogue electronics. but, i make model rockets and like to put avionics in them, then i use micro-controllers, i couldn't, in a million years make an analogue IMU, then record the signal or send it using radio waves. what was i saying? oh yes, sometimes i think the world is too ready to reduce tech to black boxes. when i was a kid i could see, with a scope, and easily understand analogue tv, and how it worked. now when i take a tv to bits it is just ICs. no wonder young people aren't so ready to grab a probe and soldering iron and burrow their way into a modern device, as it so incomprehensible. sorry, ive had a drink, im waffling........ ah yes! i remember what i was saying. take, for instance making a synth- pretty easy to buy a cem3340 and make a VCO. but then how to drive it? most people would buy an arduino and use PCM to drive it in sub-par manner. i say spend 20 quid on bits and make a baby 8. again, i have forgotten what point i was making. Tuesday is beer day. sorry. Fundamentals! using micro-controllers is all well and god, but i think sometimes people fail to learn the fundamentals before they play with a MC. the numbers of posts ive seen online of people trying to do something with an arduino, yet the concept of pull up resistors is unknown to them.
Far from truth. Everyone who is using mcu in any application (for example motor control) needs to know everything about system that needs to be controled. In case of motor control one needs to know all mathematical relationships between all variables, voltage to speed, rpm and torque, etc. All mentioned variables are analogue in it's nature, and are observed mostly via oscilloscope.
❤ nice video sir... Please detailed video on Attiny85 (specially RGB led colours control in single potentiometer... If possible)... Thank you... and❤From odisha, India
Great video. However, it may come to you as a surprise that "component" is pronounced (accentuated) differently. On the second syllable, not the first. I used to pronounce it like you, until I learned better.
Thank u. Back in 2000 when i was studying Automatism..I remember I bought one pic programmer.. the price was like 300 canadian $.. and I checked the price now... changed drastically.. I am watching your channel to recap what I have forgot in all this years. Thank u for this channel.
Thanks for sharing
Another application which is personally my favorite would be oscillators! :) Basically capacitive delays reacting to each other, which is btw the purpose of the capacitor in NE555 circuit you mention at the end of the video - the more capacitance you put in there, the more delay and the longer oscillations would occur (alongside with the resistance, following the RC formula). Multivibrators are pretty easy to understand, you just have to charge one capacitor on the trigger level of the transistor gate which would charge the second capacitor on its collector which would trigger and decharge the first capacitor and so on and on, which would give us continuous switching... But the phase-shifting oscillators are even on the next level! The point is to use 3 capacitors to make 180° phase-shift and put it to the negative feedback of an amplifier which would give us continuous resonant frequency as sinusoidal wave on the output. Love that phenomenon! Not even talking about the RLC oscillators! :D
Thanks for sharing
ESP32 are excellent choice for IOT (internet of things) projects. Extremely easy to program using Arduino (& supported library). It includes wireless. I have used it for many home automation projects & it is supported by Home Assistant, a home automation control center. You can also wirelessly update ESP 32.
Thanks for sharing!
I'm also using it. And if I want an ultra cheap solution with wifi, to control a relay, sense temperature, or control a led strip, the esp01s is the perfect solution (with Tasmota & Node-Red).
can you do it with micro pro one
@@zed-zar sorry, do what?
Cool stuff, just got into microcontrollers the last few months buying all types from different makers and i think my main issue was all the hardware layer abstraction, hiding away the workings of the cpu which i think is a mistake we should learn how they actually manipulates things with their registers and not hide it away. Beginner tutorials should have you blinking an LED with registers and even implementing your own delay function using the built in timer modules or interreupts to emphasize the workings of the cpu. For the first time as programmers we're given the keys to the cpu instead of taking a backseat, i think we should know how to drive it. I think where electornics skills come in handy at that point, being able to understand the hardware of it. Computers arent 1's and 0's they're changing voltages. See another unhelpful hardware layer abstraction 1's and 0's lol As i dig deeper i find the little circuites that make up the inviditual modules of the cpu to be quite fascinating, like how 1 gpio pin can have 3 states, which a real hardware circuit figures out by configuring itself based on a bit set in memory. Amazing.
Thank you for sharing
I have been using ESP family MCUs especially, ESP8266 and ESP32 quite happily. 4Mb default flash size of those MCU's made them favorable.
Thanks for sharing
Very nicely done. The only thing I might suggest is that Arduinos might be the easiest introduction to microcontrollers.
Thank you for watching. Arduino is not a microcontroller, it is a platform.
I thank arduino is worst choice to start with 👍
@@elewizard I'm aware that an Arduino itself is not a microcontroller. But I'm very surprised you think it's the worst choice to start with. It is just *barely* a platform based on (typically) the AVR microcontrollers, uses the same dev environment, language, etc. But I suppose that's why they make menus. I've taught classes with Arduinos, and I can't really imagine doing the same introductory classes with the bare microcontroller.
@@elewizard I don't see what's wrong with Arduino.
Since there's a lot of documentation, it's easy to use for beginner, so for me it can be a good choice.
I will give you more details in one of my upcoming videos 👌
I’d have said your definition of a Microcontroller was wrong. Many SoC devices contain all you list for a Microcontroller. The major difference is that the CPU in a Microcontroller is designed to behave in a precisely predictable way. Modern application processors are far from predictable as they execute code out of order, talk to cache memory that may miss, and beyond that to SDRAM that isn’t predictable as to what state it is in (the data requested may be on the current open page, or anywhere through to being mid refresh). Microcontrollers can be relied on to complete a given piece of code in a predictable time, thus allowing you to do things like bit banging. An ESP32 for example can generate a perfectly good VGA video image in code, an ATMEGA can bit bang WS2812 LED protocols etc.
Thank you for your feedback ❤️
😢
Thanks for this intro into microcontroller! i just want to start learning this and your video is byfar the best for a beginner like me !
Awesome 👌, glad my video was helpful 😀
Thank you, you light my way. I'm not a complete newbie, but I'm basic user, you was very very clear and complete, you helped me to have a good basic of how mcu work. thx
Wow, thank you for the compliment ❤️
You melted my heart
Wow, this is, by far, the best video about Microcontrollers. If you do an extensive and complete playlist about microcontrollers you will become a reference on RUclips. So, I think you'll cover STM, ATMEL, ESP, right? Congratulations.
Glad it was helpful! Yes I will cover STM32, Atmel AVR and some others 🥂
I used Microchip pic for years using assembly language but now I use Arduinno and C. With originally the pic having just 44 instructions (16F84), it was easy to program in assembly but you had to know all the rgisters inside the pic.
Yes, that was difficult to remember registers and instructions.
Nowadays it is much easier
Glad I am not the only one that thought so! PIC are wonderful, but somewhat complex. I worked with the 12F family for a project and the learning curve was steep. @@elewizard
Excited for this wave of videos! Keep 'em coming, Wizard!
More to come!
Yeah… I’ve been trough learning gamedev and web apps and each didn’t satisfied my „Geeks G point”. Hope this will do and you will help me cross. You’ve earned a sub and all the bells! Thanks 👍
Wow, thank you for subscribing my channel ❤️
I will do my best for you, cheers 🥂
Excellent..! I daily look for your web series..! You are simply great..!
Thank you so much 😀
The best beginners mcu is not an mcu, but an arduino. Plug and play. Tons of available sketches, so one can get familiar with concepts of doing stuff with an mcu. After that you can drift to avr, since arduino is based on an avr mcu and after that go to any platform you like, or all of them
I don't think so, immigration from arduino to a real microcontroller is difficult and many beginners are trapped in the arduino platform
@@elewizard learning to swim having yor hands and legs tied and an anchor chained to your neck is not the best idea for the majority of people. Some might make it, but 99.99% wont. And that's exactly how "real" MCU learning is compared to arduino. All the infrastructure for MCUs is made by retards, that don't know how humans think, what are ergonomics, and how to teach people. I'm no pro in electronics, but using an arduino I can make things done. I many times tried to start with avr, stm, pic and other shit. And despite me already understanding what I need (without arduino I wouldn't even know what I needed) I cant even start doing stuff, since this doesn't work, or that dumbfuckerry is incompatible, or the cat crossed the street in the wrong place. Sure I can larn that eventually by going to a university and wasting 5 years of my life and few hundred $k, but I aint got time nor money to waste for such stupidity just to get a damn led blinking. Dont get me wrong, arduino is als shit, but at least, its very user friendly, especially thanks to the community. You want to learn how to blink a led - watch a vid and look at the code. How to use a keypad - watch a vid and code. Mux? Adc? Rfid? The same. Didn't understand frome the first one - watch another one from millions out there. And there you go, you already understand what you need to do and what the mcu needs to do, and you can grow on that, instead of figuring out how the fuck you configure that shitmcu you have there connected to your pc, not to mention how to flash it, or how to switch a pin high or low. Arduino is THE BEST learning platform period. Nothing will come close due to the enormous arduino community. And in the end it's better to get stuck with arduino, then not get started at all with mcus all together.
Arduino is good for prototyping 👍
I like to think about MCU as "All In One" Computer :
Flash Memory, SRAM, CPU, I/O, Clock, Power management... All inside just a single chip.
which CPU/MPU never will become or be able to compete with.
Yes, exactly. Actually it is an all in one computer
This could not have came in a better time, or have you cracked the algorithm? :)
loljk Since after many years, I am now getting more serious about electronics, specifically microchips. :)
Thank you for this intro Masterclass! :)
And I will see you next timeeee, for this series! :)
No I have nothing to do with the algorithm 😉
Glad you like the video 🍻
best video on microcontrollers for beginners , very informative thank you for making such awesome videos
Glad you liked it
How does RISC-V fit into the microcontroller ecosystem, if at all?
Why not!
Back in the day a byte meant 8 bits. Now that we have 16, 32, and 64 bit MCU's, 6:07, am I saving MCU cycles and/or memory by declaring a variable as a byte as apposed declaring it as an integer?
It depends on the compiler you are using, in most cases yes you are saving memory
thank u so much , witch is better, to learn MCUs or to learn Arduino instead?
I think it is better to start with AVR
My biggest question at this point is, how do I choose which microcontroller to use with an LCD. And example of one that I've looked at is a 128x64 White on Blue Graphic LCD from Crystalfontz (CFAG12864B-TMI-V). Which microcontroller would work best with this?
Selecting right microcontroller for driving your LCD I'd not a big deal, because, almost every microcontroller can drive a 64x128 GLCD. you have to consider other parameters like, cost, size and parameters like these 👍
@@elewizard Thanks for the quick reply and information! I'm fascinated with LCD's and the microcontrollers that control them. I've got an extra STC15W408S that I do want to experiment with and would like to attach it to some kind of multi-row LCD. I'm planning a small audio amplifier and would like to add inputs for a CD, DVD, Phono, Aux, and an FM/AM radio. I'd like to use a 6 position switch that will ultimately control what is displayed on the LCD. If the switch is set to CD, I'd like for the LCD to display "CD". If switched to FM, I'd like have the display to show the MHz and if AM, KHz. Can you suggest more in-depth videos that would help direct me on how to accomplish this?
nice appetizing start.
The sensitivity to noise is true? DIP is better then SMTs? If so, thank you for the info.
But then again, using a breadboard will increase such sensitivity alot. (Just to inform those who are not aware)
Yes that is true. But you can compare them on PCB 👍 Then the DIP will win the game 😁
Can anyone help me what I would need to reprogram a N76E003AT20 microcontroller? I have the new code but not the tools to upload it.
Sorry, I have no idea about that 🙃
@@elewizard it's an 8051 series processor if that helps
Great video! Is the mcu detachable after it has been programmed using the universal flasher?
Hi friend
Where do you stay in Nigeria?
@@AugustineAriola Ebonyi state
It depends on some factors. In most cases, yes it is
You are an amazing person
Thank you for your effort
It's my pleasure
great, i wait for continue
Next video is comming in few days
I have an HT48R32-B-0 microcontroller in my hi fi audio amp and need a programmer, do you know what am i looking for and can you help with a device that will program that. i have the original chip so i just need to copy the info onto a blank one. Thanks
Very good
Thanks❤️
Great video. Thanks for sharing.
Thanks for watching!
Excellent video. Thank you.
You are welcome! I'm so happy you liked the video
I bought two bags of random ICs, I got two Texas Instruments TMS1200NC 4-bit microcontrollers (Called microcomputers in the TMS1000 series datasheet. The datasheet is copyrighted 1975, lol.) and I have no idea what they have been used for or what the internal ROMs have been programmed with. Anyone got any idea how I could get a ROM dump out of them or how/if I could bypass the internal ROM and use an external EEPROM for program storage?
You are wonderful teacher
Glad you think so!
What a great idea 🙂
Thank you! 😊
Beautifully Explained ! Thank you !
Glad it was helpful!
Cool info, well done, thanks for sharing :)
Thanks for watching!
Great video
Glad you enjoyed it
Very nice explanation ❤
Thanks a lot 😊
👍👍👍
🍻🍻🍻
Can the computer operating system use Windows, Mac, and/or Linux, to run the software?
Yes, usually software is executed on windows
Thanks a lot. You are a great man
You are most welcome ❤️
Keep watching
micro-controllers, i often consider them 'cheating', i like to make stuff myself using analogue electronics. but, i make model rockets and like to put avionics in them, then i use micro-controllers, i couldn't, in a million years make an analogue IMU, then record the signal or send it using radio waves. what was i saying? oh yes, sometimes i think the world is too ready to reduce tech to black boxes. when i was a kid i could see, with a scope, and easily understand analogue tv, and how it worked. now when i take a tv to bits it is just ICs. no wonder young people aren't so ready to grab a probe and soldering iron and burrow their way into a modern device, as it so incomprehensible. sorry, ive had a drink, im waffling........
ah yes! i remember what i was saying. take, for instance making a synth- pretty easy to buy a cem3340 and make a VCO. but then how to drive it? most people would buy an arduino and use PCM to drive it in sub-par manner. i say spend 20 quid on bits and make a baby 8. again, i have forgotten what point i was making. Tuesday is beer day. sorry.
Fundamentals! using micro-controllers is all well and god, but i think sometimes people fail to learn the fundamentals before they play with a MC. the numbers of posts ive seen online of people trying to do something with an arduino, yet the concept of pull up resistors is unknown to them.
I agree with you about arduino, it make people feel professional while they don't know basic concepts like ohm's law
Cheers 🥂
Far from truth. Everyone who is using mcu in any application (for example motor control) needs to know everything about system that needs to be controled. In case of motor control one needs to know all mathematical relationships between all variables, voltage to speed, rpm and torque, etc. All mentioned variables are analogue in it's nature, and are observed mostly via oscilloscope.
Great video!! Are you going to talk about Raspberry Pi Pico also?
Possibly! But not soon
💖💖💖💖
❤️❤️❤️❤️❤️
❤ nice video sir...
Please detailed video on Attiny85 (specially RGB led colours control in single potentiometer... If possible)...
Thank you... and❤From odisha, India
Will try, thanks for watching ❤️❤️❤️
Thank you 🎉🎉🎉🎉
You’re welcome 😊
Interesting
Great
thanks
You're welcome my friend
Bl808 from buffalo labs is 64 bit.
Thanks for sharing
The best ones are the reprogrammable ones you find in junk electronics.
Maybe 👍
@elewizard do any come to mind?
@@sleyeborgrobot6843 You just have to take things apart and get lucky.
Great video. However, it may come to you as a surprise that "component" is pronounced (accentuated) differently. On the second syllable, not the first. I used to pronounce it like you, until I learned better.
Thank you so much for correcting me 😊
I am trying to improve my English
Real coneheads use the linux terminal as their microcontroller IDE.
👍😂
abi türk müsün
Evet, Ana dilim Azerbaijan turkçesi
شما ایرانی هستی؟
چون آب واتا رو میزه پرسیدم😅😂
😁Yes
subscribed
Welcome to our community ❤️😊
Promo_SM