Це відео не доступне.
Перепрошуємо.
Learn PIC Microcontrollers Programming in 1 Tutorial
Вставка
- Опубліковано 23 гру 2020
- [ Learn PIC Microcontrollers Programming in 1 Tutorial ]
In this one tutorial, you'll learn how to pick a microcontroller part for a specific project. How to get started with PIC microcontrollers programming in c. How to use MPLAB X IDE, MPLAB IPE with PICkit3 for flashing the firmware to the MCU. With a few practical projects on GPIO, UART, and build your prototyping board to use in further embedded systems tutorials.
[ ◾-- Support My Work --◾ ]
Patreon: / deep_blue
One-Time Donation: www.paypal.com...
[ ⏱️-- Timestamps --⏱️ ]
00:00:26 - How To Choose an MCU For a Project
00:03:07 - How To Get Started With Any Microcontroller
00:04:05 - Setting Up The Prototyping Board
00:12:05 - PicKit To ICSP Connection
00:13:52 - Setting Up The (Software Tools) Toolchain
00:15:40 - How To Create a New Project in MPLAB X IDE
00:20:30 - Configuration Bits (Fuses) Programming
00:27:01 - How GPIO Ports Work in The uC
00:32:03 - LED Blinking Example Coding
00:34:29 - Different Ways To (Set/Clear) Single Bit of a Register
00:40:15 - How To Flash The Code Using MPLAB IPE
00:44:01 - Button-Controlled LED Project
00:47:58 - Sending Text Strings From uC To PC Over UART
00:57:05 - Sending Numeric Variables To PC
00:59:46 - What To Do Next & Concluding Remarks
[ 🔖-- Attachments --🔖 ]
Code Examples: NA (soon)
Datasheet: ww1.microchip....
My Course Articles: deepbluembedde...
------------------
[ PLAYLISTS ]
💻 Learn Embedded Systems
NA...
💻 Microcontrollers Programming Tutorials
• Microcontrollers Progr...
💻 Embedded Systems Minutes (ESM)
NA...
💻 Embedded & Electronics Projects
NA...
------------------
Disclaimer: These are affiliate links so if you buy anything through them I get a small commission as a kickback from Amazon which helps out the channel. Thank you!
[ ⚙️-- LAB KIT --⚙️ ]
Oscilloscope: amzn.to/37ifUQ2
Function Generator: amzn.to/3qThOyu
Power Supply: amzn.to/37k6h3s
Multimeter: amzn.to/3miUgjc
PicKit3: amzn.to/37gQbrd
PicKit4: amzn.to/3a5JRF0
ST-Link v2: amzn.to/37kM0ei
ST-Link Clone: amzn.to/2Awd8bW
STM32 Blue Pill: amzn.to/3dmciNJ
STM32 Nucleo-L432KC: amzn.to/3ckK9Fv
STM32F4 Discovery: amzn.to/2zRIjib
Parts Organizer: amzn.to/3gQmGjs
Soldering Iron: amzn.to/2Kn8vpV
Microscope: amzn.to/2JXsLyy
PCB Holder: amzn.to/2IPv9qv
Soldering Iron Tip Cleaner: amzn.to/3oRsPhR
Cutting Mat: amzn.to/3mjk2DR
Breadboards: amzn.to/2Mk0MGC
Jumpers Kit: amzn.to/2Xvs4gu - amzn.to/32cgJWk
Capacitors Assortment: amzn.to/2LAIQsi - amzn.to/2Jjt4Aq
Resistors Assortment: amzn.to/3eDKJj0 - amzn.to/2MgClKh
LEDs Assortment: amzn.to/3gIDdFl - amzn.to/2Bg19zH
Crystal Oscillators: amzn.to/2LBpWS9
Tweezers: amzn.to/2IUBRvq
[ 🎬-- GEAR --🎬 ]
Main Camera (Canon 90D): amzn.to/2K7iRub
Secondary Camera (Lumix G7): amzn.to/3mgHGRj
Lens: amzn.to/2JUid3d
Tripod: amzn.to/3mk438H
Laptop: amzn.to/3p4yn99
PC Microphone: amzn.to/34aA3pe
Camera Microphone: amzn.to/380VKcJ
Headphones: amzn.to/3nkZI6q
[ 📚-- RECOMMENDED REFERENCE BOOKS --📚 ]
My recommendations list for reference textbooks in embedded systems, microcontrollers programming, and control systems for Engineering Students.
📚 deepbluembedde...
[ 💻-- UDEMY COURSES --💻 ]
deepbluembedde...
------------------
[ 🔗-- LINKS --🔗 ]
🌎 Website: deepbluembedde...
📸 Instagram: / deepbluembedded
📝 LinkedIn: / khaled-magdy-
📂 GitHub: github.com/Kha...
[ ⭐-- PATRONS CREDIT --⭐ ]
Thanks To All My Supporters Who Made This Work Possible!
Abdullah
Klaus Rolland
mohammed alfihan
I still need to improve the English quality, there still much of room for improvements. But as of now, do you find it difficult to follow along this one video? Especially if you're a native speaker
I'd really like to hear your feedback in this regard. And thanks for watching!
Oh my god..! @27:14 you started to explain with gates and latch for port configuration. What a fantastic explanation. Thank you so much bro.!!
Superb tutorial. thank you very much.
Your English is fine and the sound is very clear.
Every one have their own accent. No problem with that.your English is understandable. Language is all about conveying message that part you done good. Nice video.
I’m a native English speaker and I had no problem at all understanding you. You speak pretty clearly.
Your English is perfect. Delighted I found your tutorial. Just what I need ( I think??)for led displays.
Amazing video, covers all the bases without unnecessary parts. Great work!
Thank you for an excellent and very helpful tutorial. Your English is very good (I’m a native speaker), you speak clearly and not too fast which is really helpful. I look forward to future tutorials.
Do check our channel for embedded systems content like this www.youtube.com/@XanthiumIndustries/videos
PLEASE MAKE MORE! This is one if the not the best intros to this topic on youtube!
Well done. You presented a lot of information but didn't get bogged down in the details that a beginner is not ready for.
Excellent overview for beginners or experienced professionals who is interested to start the career as embedded programmers.. Great job
You don't need the IPE at all. You can just hit the 'upload' icon in the IDE. It's the button immediately to the right of the green 'Play' icon in the toolbar. At least, that's how I've been doing it for years now. 🙂
what a fantastic tutorial. I m gonna spend my evening going through videos on ur channel to find more videos.
I have been using microcontrollers for a year, but I was, and still , and I will learn a lot from you .. Thank you
Thanks so much for your kind words. I wish I can always meet your expectations and deliver something helpful ❤️
That was a wonderful explanation how to use (program) microcontrollers. It has been awhile since I've taken electronics courses but I'm going to have to pickup a breadboard and experiment. Thank so much!
This is the best tutorial on PIC Microcontrollers on YT :) Thanks!
As a beginner, this tutorial was extremely helpful. Thank you!
This is fantastic! Thank you so much for sharing your knowledge with us. This was just what I was looking for to get started.
Really appreciate your work. I was planning to shift on pic microcontroller and i got this Video which will help me me to start. Thank you.
Do check our channel for embedded systems content like this www.youtube.com/@XanthiumIndustries/videos
The most anticipated uC video in english of 2020 :) Keep them coming! Best regards! p.s. MPLAB IPE isn't necessary if you're not into production. MPLAB X IDE has everything needed to flash your PIC.
I use subtitle to help me understand the topic. I amazed you could configured the chip by read manual only. Thank you for sharing the topic.
This is the tutorial I was searching for and would be better if I had found it earlier. Amazing coverup of all basics, Please suggest me some books to thoroughly understand PIC microcontrollers. Thankyou very much.
Do check our channel for embedded systems content like this www.youtube.com/@XanthiumIndustries/videos
Hi Khaled, Thank you for all your efforts. I found it easy to understand.
No probs with your english at all.
All the best.
Native English speaker here.
جزاك الله خيرا.
Absolute legend
I'm a big fan of AVR and ESP MCU's but want to learn about PIC. I like this video tutorial a lot.
As for the English, it's more than good enough :) I'm not a native English speaker so from time to time it's a bit fast but that's why you can pause and rewind ;)
Great job!
You also could add the schematic of your device too. I know it's not that hard to figure out on your own, but for beginner it can be difficult a little.
Great tutorial!!! Your explanation is better than my professor's.
Do check our channel for embedded systems content like this www.youtube.com/@XanthiumIndustries/videos
Very well explained ... Thankyou 👍👍
please make more videos in detail related to pic and arm....
you are excellent.........
I am waiting for more videos
One note about the 5V voltage regulator, LM7805 (and the likes of it):
You need to place a capacitor of at least 100nF (0.1uF) at the input and at the output, as close as possible to the regulator, to prevent oscillations and stabilize the regulator. The datasheets normally recommend 0.33uF at the input and 0.1uF at the output.
You can see the effect of this if you just connect a higher voltage (7 volts and above) to its input and then measure its output voltage, which will be unstable and relatively far from 5 volts, but once you place capacitors on its input and output you will get a stable, accurate voltage.
This is really nice to know. I'll do some measurements and check it myself because it sounds interesting. Thanks Edin 😃
@@khaledmagdy If you already have a nice capacitor across the input voltage that is not far from 7805, like on your board, that will do. The output capacitor is for larger load transients.
Do check our channel for embedded systems content like this www.youtube.com/@XanthiumIndustries/videos
Very very useful tutorial 👍 thanks for your detailed explanation and demonstration 👌.
Do check our channel for embedded systems content like this www.youtube.com/@XanthiumIndustries/videos
Excellent tutorial, thank you so much.
Pls continue this series ,the content is very nice so pls continue
Thanks for your kind words! Sure, I'm gonna continue producing Embedded systems tutorials as soon as I get back to it.
Could you tell me why it is necessary to use a voltage regulator in this arrangement? Shouldn't capacitors be also used with the regulator?
Do check our channel for embedded systems content like this www.youtube.com/@XanthiumIndustries/videos
"6. How To Control Stepper Motors With PIC uC" - link broken- Please upload your excellent tutorial. all are easy to grasp and detail.
Well done tutorial, full of useful information.
You can put some tags in parts of your video or split it in topics to have better order, and jump to a specific part of your video.
Thank you, congrats.
Absolutely nice tutorial... Waiting for another tutorial
This is so far the best as regards to micro controllers but could you please share a video on code development for an automatic inverter
My friend, I simply love you. You are so great at explaining things. Very systematic. I need a fast tutorial, but I need more a fast overview. You have it! Great, great, great! Thank you!
Your video is so good my friend ❤
Thanks, this was very good and exactly the info I needed to get started with a pic micro
Thanks to u sir for this great work.
Sir can you have a tutorial/pdf of how to make the pic mcu board just like the arduino board.
DeepBlue?? Where are you?? We need you here in youtube land!!!
Good video, thank you. Learned a lot in a short time!
I had pic16c58a. Replacement but not working ,Pic meant program interfere control. Does it need program before replace for ?working
One of the better videos I've seen on using MPLAB and the PIC.
*Any good lessons online for learning the C language for PIC programming in general?*
I've been using PIC BASIC because I was familiar with BASIC since the Tandy 8000 and Commadore Vic20/Amega days. Switching to C at 50+ yrs old is kinda like learning a new language later in life. But I'm picking some of it up.
Just would like some overall breakdown of how the structure works etc so I can start making some subroutines.
PIC BASIC doesn't use so much bracket dependent structures.
Do check our channel for embedded systems content like this www.youtube.com/@XanthiumIndustries/videos
this is a fantastic resource, thanks so much.
مجهود كبير ربنا يجعله في ميزان حسناتك❤️❤️❤️❤️
This man dropped a full microcontroller tutorial and then disappeared. Absolute chad
And seriously thinking about coming back✌️ I hope it's very soon. Thanks bro!
@@khaledmagdy amen brother 🙏
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.
please make VIDEO about sending 32 Bytes DATA to Windows PC using C++ GCC by 10MIPS+ PIC MC using USB
Hi. I just tried out this tut of yours and at first it did not work. I have the exact same setup but the led on RD0 would not blink, even after an successful build. Only after i enabled tmr1 did it start. Is it compulsory to have the timer activated for the PIC to operate or is there some other problem? On the whole, it is one of, if not the best tutorial on UA-cam presented on this topic. I got it to blink and I'm going to try the other examples also. Thanks.
very interesting video sir
will you take out tutorial 2?
الله يديك العافيه يا ابن النيل يا غالي❤تحيه لاهلي أهل النيل❤
Does your website have information on how to configure the internal oscillator?
Hello sir, when i include xc.h, it keeps bringing error, like it cant find the xc.h please how can i resolve this? Also the TRISA or LATA is not working, i also tried it with B-D nothing works, Please advise on what to do. thank you.
You are really doing a great job.
Hey can you make a single video on embedded C. It will be really helpful.
Thanks for your feedback. I'd definitely consider making an Embedded C Tutorial.
Can you please any book from where a deep knowledge about PIC microcontrollers can be achieved?
By the way, great work with this tutorial and looking forward to further tutorials from you. Keep up the good work.
Do check our channel for embedded systems content like this www.youtube.com/@XanthiumIndustries/videos
Really enjoyed this video great introduction thanks!
Thank you so much. This video is very useful for my study. Please help to upload more videos for PIC if possible
Extremely fantastic. Imtiaz from Pakistan.
Very nice video,
very good presentation, thank you very much.
You got the same scope as I do.
I thought it looked familiar.
But then again, it is very popular, so it's no wonder.
Thank you for a great tutorial
Excellent tutorial
Deepblue thank you.
Great video. Very good work.
Eres genial tu video me ayudo mucho, muchas gracias :) :)
How annoying that the IDE constantly warns (in yellow) about not being able to resolve the header file and errors (in red) all the bit field names that it cannot find, but then when you go to compile / build there are no errors. That should be in sync.
I'm interested in created microcontroller, because I want to learn how to build a regular printer from scratch. I was wondering if anyone can point me in the right direction?
Thanks!
I will be great if you create one pdf of your both course(PIC & STM), its easy to purchase and download. if possible please create pdf.
Great , I really appreciate your work thanks
Nice info, thanks for sharing it, keep it up :)
Every pic microcontroller need program before use ?
sir when i loaded the hex file in proteus it does not work would you pls post some suggestion
My compiler does not recognize LATD, i used PORTD instead. The code uploads but the pic is not performing how i want it to ( blinking led)
You can still try this method
LATDbits.LATD0 = 1;
Sir put videos with dynamic memory allocations
Very good tutorial !
Lot of thanks for this tuto !
Are there any good free simulators for PIC12s? Or nearly any microchip? I want to use proteus but don't want to pay for it because I'm just starting out.
Sorry for that... but... Why you are using the LM7805 ? This microcontroller can't blink a led without that?
I've been using it to support a bit wide input voltage range while keeping the output voltage @ 5v. According to its datasheet it should handle up to 1.5A so I guess it's a good option, but it may get hot as you draw too much current (like 1A continusous) or if you're connecting a 12v or higher input voltage source.
We need new videos. Please keep going!
2 errors generated.
(908) exit status = 1
nbproject/Makefile-default.mk:101: recipe for target 'build/default/production/test.p1' failed
make[2]: Leaving directory 'D:/pic'
nbproject/Makefile-default.mk:85: recipe for target '.build-conf' failed
make[1]: Leaving directory 'D:/pic'
nbproject/Makefile-impl.mk:39: recipe for target '.build-impl' failed
make[2]: *** [build/default/production/test.p1] Error 1
make[1]: *** [.build-conf] Error 2
make: *** [.build-impl] Error 2
BUILD FAILED (exit value 2, total time: 658ms)
any help?
That awesome! great job... keep it up!
Can you make a video on FFT in assembly language and explain it the code.
CAN I PROGRAM PIC WITHOUT PICKIT?
Yes, using PICSIMLAB
Would this be any different from using pic18f2455, for a dc-dc buck converter?
Not at all, almost the same info applies to pic18f2550 as well. You'd find a handful of tutorials with pic18f2550 on my website as well.
@@khaledmagdy sorry I meant pic18f2455
Good job thanks
I need more of this how do we Link up sir?
great ! thank you alot
مختصر واضح و مفيد
Please take one tutorial with rxb8 wireless remote control receiver also explain rxb8 receiver.
Sir pleas prepare and send circuite and code project on PIC16F77A
great tutorial. Why not make more
Thanks so much for the valuable tutorial. I am trying to download the latest version of MPLAB but I got a message indicating that it is not available in my country! the same applies for xc compiler! Is there an alternative link to download them? Thanks again
You can use vpn i guess
Or navigate to the archive tab, you'll find various links there
thank you.
How do I buy u r course, price of the course, will I get support after when i m working on my projects
Unfortunately i don't have a video course on PIC microcontrollers programming. However, I've published a lot of articles on the subject many years ago and they're still available if they'd help.
is this capable pic16f1947 read and write?
ALVIN!!
Add more video's of pic microcontroller
Thnks for upload a video
Your English is perfect just as your teaching. Please keep doing the good work you do.
Just curious! Are you Egyptian?
Thanks for your kind words. Yeah, i'm Egyptian! 😃
@@khaledmagdy Same here. I knew from the way you teach.
I thought you did know it from the accent 😅
@@khaledmagdy No. It was the content of the video. As I said, it is very good.
The dancing 🕺🏾 programmer 👨💻 like Riyad Mahrez
جزاك الله خيرا شرح محترم