- Видео 11
- Просмотров 84 120
GhostyDigits
Добавлен 27 июн 2020
Welcome to GhostyDigits. Want to learn more about embedded systems and Microcontrollers ? Then subscribe!!
Tutorial style videos teaching you how to program PIC Microcontrollers through a non-traditional, funny and detailed way. As well as, how to use sensors, drivers and different user interface methods with PIC18 Microcontroller. And of course giving you the tips and tricks of "Embedded C" and how to write the most efficient C code for your embedded projects.
Sound like something you have been searching for? Hit the subscribe button and get started in the field of embedded systems.
Tutorial style videos teaching you how to program PIC Microcontrollers through a non-traditional, funny and detailed way. As well as, how to use sensors, drivers and different user interface methods with PIC18 Microcontroller. And of course giving you the tips and tricks of "Embedded C" and how to write the most efficient C code for your embedded projects.
Sound like something you have been searching for? Hit the subscribe button and get started in the field of embedded systems.
How to interface an LCD with PIC18 Microcontroller
How to interface an LCD with PIC18 Microcontroller
Просмотров: 12 212
Видео
PIC18F interfacing Seven-Segment display
Просмотров 1,9 тыс.4 года назад
PIC18F interfacing Seven-Segment display
PIC18 Timers- Blink an LED with Timer0
Просмотров 22 тыс.4 года назад
PIC18 Timers- Blink an LED with Timer0
PIC18 Timers- Introduction to timers in PIC Microcontrollers
Просмотров 3 тыс.4 года назад
SPOILER: this video is a special one, watch it till the end you're assigned a task of programming a microwave oven. you do it within minutes and implement all timing tasks using the good old delay_ms you knew about in GhostyDigits.. you deliver your task before the deadline and feel like a champion🏋️🏋️ next day your manager tells you your code is flawed and fires you and you're like what the he...
Keypad interfacing with PIC18 Microcontroller
Просмотров 2,1 тыс.4 года назад
Keypads are one of the basic components in many embedded projects that we come across all the time. Its ease of use and interfacing has made it an appealing option in many embedded applications. In this video, we will cover this wonderful component, covering its working mechanism and the way to operate it, followed by a sample project to cement your understanding of that device. This wonderful ...
PIC18 PORTB Interrupt on Change (IoC)
Просмотров 4,6 тыс.4 года назад
In this video we will give an example of interrupts introduced in the previous one, which is PORTB interrupt-on-change. This is a feature in PIC MCU's that helps you interface multi-line peripherals, such as keypads, more efficiently. We will break it down to you and in the end there will be a small project as we used to do... To help you follow along with us please subscribe to the channel and...
Interrupts in PIC Microcontrollers | PIC18F External interrupts
Просмотров 9 тыс.4 года назад
Interrupts enable the Microcontroller to deal with urgent events with minimal delay..Want to know how to program interrupts in PIC18F..follow me in this video. In this video t I'll be discussing Interrupts in general and why they're important .Then I give you overview on how to configure interrupts and how to write your ISR. Finally, we put things together and use PIC18F External Interrupt to m...
What is an embedded system? | Embedded systems and Microcontrollers
Просмотров 1,8 тыс.4 года назад
In this video I will be discussing the definition of embedded systems, where you can find them and what is required to build an embedded system. And I'll talk about the heart of any embedded system, the Microcontroller, giving you a basic idea of what is inside a Microcontroller and how they function. Then I'll answer the classic question of what's the difference between a Microcontroller and a...
Introduction to PIC18F | Getting started- installing MPLAB
Просмотров 1,4 тыс.4 года назад
PIC18F4550/2550 are popular Microcontrollers in PIC18 family and are the ones we use in this series of videos on embedded systems. We use MPLAB to write and debug code. In this video we open the datasheet of PIC18F4550/2550 for the first time and see what features this Microcontroller has. Then we start installing MPLAB and the other programs we are going to use. Wish it was helpful..Don't forg...
How to program GPIO ports in PIC18F - user interface with I/O ports
Просмотров 3,2 тыс.4 года назад
Want to use PIC18F2550 to light LEDs and respond to buttons. GPIO ports are what you need to learn for this task. In this video I'll discuss how to program I/O ports in PIC18F2550. What registers and bits you should manipulate, and explain every single line in code in details. Then I implement a simple project with and LED and a button. Find it helpful..Don't forget to Subscribe to my Channel r...
How to program PIC18F | Blinking an LED step by step
Просмотров 23 тыс.4 года назад
Want to learn how to program PIC18F4550/2550 Microcontrollers and write code for it using MPLAB IDE to blink an LED. Okay, watch this video. in this video I start by giving you the steps of making a project with MPLAB, simulate it with Proteus and finally connecting PIC18F2550 on a breadboard and get it to blink an LED. So follow me till the end Find it helpful...Don't forget to Subscribe to my...
that was great, thanks
That was nice and clear, thanks
Proteus Alt on Linux ?
The introooooooo just woooooooow
All the basics in one package , well explained , great vid.
Can u run a html5 website? Schedule io , read sensors and use logic to switch output?
Thanks for the lecture please can you use pic18f2550 as Avr programmer
Good
can't see what is being typed - too small , too far away.
please send me the code .
Thank you for the explanation, One thing I need to convey is that your English pronunciation is hard to grasp. Please make it more clear.
What should I use _xtal_freq when I am using internal oscillator
I fixed the code. the way you did it dont work for xc8 #include <xc.h> #define _XTAL_FREQ 16000000 void __interrupt() myISR(void){ PORTBbits.RB0^=1; TMR0L=236; INTCONbits.TMR0IF=0; } void main(void){ TRISB=0; PORTB=0; T0CON=0b01001010; TMR0L=236; INTCONbits.TMR0IE=1; INTCONbits.GIE=1; T0CONbits.TMR0ON=1; while(1){ } return; }
why did he assign T0CON=0b01001010; shouldn't it stay 0b0000000 0
can you make a tutorial on analog to digital converter
Thank you for explaining it so well.
I have been looking at a Geiger counter circuit that uses PIC18F2550 and it has a button switch to ground on Pin 22 with a 10K resistor from the pin to +5v. I believe the button is used to change the modes on the device to measure in 15/30/120 second intervals. I'm curious how this works. Where can I read more about this?
Dimana kita bisa dapat alat programernya itu
Can read data from pic18f25q10
Wha tis in the line 77?
Nice video and topic. Can you do sinewave inverter using 18f pic 28pin type?
How do you connect controller to PC?
where source code?
After watching this video, I have really learned how to interface a keypad with PIC18.🙏🙏
this is one of the comments of all time
error: expected ';' after top level declarator
More good stuff! Thank you.
My project is a DIY PSU. I am a novice. I will be using two rotary encoders to control digital potentiometers to set the voltage and the current. The push button knob switch will be used to change between course and fine adjustment. I take it that using pins that have interrupt capability are the best pins to use for the rotary encoders. Do I have this correctly? And, as each encoder has an "A" and "B" pin and a switch, I will need a total of six pins that have interrupt capability. Also correct? Further, it would be best for each of these six pins to have internal) pull up resistors and b) Schmitt Triggers, for debouncing. Correct, again? I will be checking the Data Sheet, but do you know (by memory,) if the PIC18F4550 has at least six pins that have all of these needed functions? If so, do you also know their pin numbers? Please and thank you. Much appreciated. EDIT: I started to watch your next video and see that you will be answering some of my questions. However, I would appreciate any of your comments, or suggestions. EDIT2: In the second video, you clarify that there are only four interrupt pins. Accordingly, I guess that I could use the switch on the encoders to initiate the interrupt and an additional button press to change between Course and Fine. That way, I would only need two pins that have the interrupt function. The four A/B encoder pins could be on other digital pins that have pull up resistors and Schmitt Triggers. So, I am off to investigate those pins.EDIT3: Further limitations are encountered... INT0=SDI and INT1=SCK. I believe these two pins will be needed to communicate with the MCP41HV51 digital pots that I plan to use. That leaves INT2. Therefore, I will use a separate tactile switch on INT2 to initiate the interrupt and enable the voltage and current encoders. Does that all sound about right? What other options might you suggest?
Excellent! Excellent teaching and video production. I hope that you will return to making PIC18F(4550) videos. I need the help! lol Thank you.
WOOOOW!!!! this channel is a hidden gem!
well done guy thanks for all you did for us!
Thank you very much young man, your teaching is excellent and to the point... but am I missing something or did you fail to but a 'return;' at the end if the Interrupt Service Routine? Without it, the program seems to execute once and then comes to an abrupt stop.
Please upload new videos. Your videos are soooooo good.
Respect!!! Very simple and clear explanation.
Bro Please make a stepper motor interface video. Also tell us about L293D driver
7:23 minutes in the video you just placed some coding in the bottom of the program containing something wit 500 ms.... Where did you get this small program from???
I'm trying to figure out how to do this with the 4 bit option enabled and I can't find anything meaningful...everyone says to use xlcd.h but it doesn't exist with xc8 and is not in the legacy xc8 file from microchip. Very annoying.
Is there a limit to the frequency of using an external interrupt? I'm only able to get 10kHz on an external interrupt
thank you
Love the horror music intro
and the drip background for pic18
Very well done
You are simply a genius .... Put more such videos sir!!!!!!!! It's my very genuine request to put such interfacing videos sir !!!!
i like the explanation and the example , tanks man!
Came here to figure out how to connect my pickit 4 to the pic. "Just read the datasheet" was not particularly helpful.
very nice video keep it up\\\\\\\
Nice video. What configuration bits did you set?
Very nice!!!
Thank you very much.
I subscribed u,
I have had those issues before when dealing with precise timing and I assigned the registers a little less values and I was able to get an accurate measurement on the Oscilloscope. Data sheets are great references but theory and practices are seldom the same. Hardware by nature causes delays and we will never be able to illuminate those latencies. I wouldn't call the compiler stupid, it is something that is almost impossible to avoid.
Very nice video, well done. I did similar circuit with 2 LEDs similar to the train crossing signal. I also used PIC18F4550 but I programmed it with Assembly code. What do you think about that?
Can you please send me that assembly code ? That will help for my project
@@shivakrishnagajula4140 ruclips.net/video/N84gq8ElaIw/видео.html
sir we need details math about latency