GhostyDigits
GhostyDigits
  • 11
  • 83 936

วีดีโอ

PIC18F interfacing Seven-Segment display
มุมมอง 1.9K4 ปีที่แล้ว
PIC18F interfacing Seven-Segment display
PIC18 Timers- Blink an LED with Timer0
มุมมอง 22K4 ปีที่แล้ว
PIC18 Timers- Blink an LED with Timer0
PIC18 Timers- Introduction to timers in PIC Microcontrollers
มุมมอง 3K4 ปีที่แล้ว
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.1K4 ปีที่แล้ว
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.6K4 ปีที่แล้ว
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
มุมมอง 9K4 ปีที่แล้ว
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.8K4 ปีที่แล้ว
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.4K4 ปีที่แล้ว
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.2K4 ปีที่แล้ว
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 t...
How to program PIC18F | Blinking an LED step by step
มุมมอง 23K4 ปีที่แล้ว
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...

ความคิดเห็น

  • @ahmed-lf3io
    @ahmed-lf3io หลายเดือนก่อน

    that was great, thanks

  • @ahmed-lf3io
    @ahmed-lf3io หลายเดือนก่อน

    That was nice and clear, thanks

  • @thanatosor
    @thanatosor 3 หลายเดือนก่อน

    Proteus Alt on Linux ?

  • @عايشبصمت-ح1ي
    @عايشبصمت-ح1ي 3 หลายเดือนก่อน

    The introooooooo just woooooooow

  • @mineown1861
    @mineown1861 7 หลายเดือนก่อน

    All the basics in one package , well explained , great vid.

  • @AdrianHiggins83
    @AdrianHiggins83 8 หลายเดือนก่อน

    Can u run a html5 website? Schedule io , read sensors and use logic to switch output?

  • @onyedinachiokwuoha8036
    @onyedinachiokwuoha8036 8 หลายเดือนก่อน

    Thanks for the lecture please can you use pic18f2550 as Avr programmer

  • @abdelrrahmanebrave1772
    @abdelrrahmanebrave1772 9 หลายเดือนก่อน

    Good

  • @anithasshenoy6662
    @anithasshenoy6662 9 หลายเดือนก่อน

    can't see what is being typed - too small , too far away.

  • @Danielgeni0812
    @Danielgeni0812 10 หลายเดือนก่อน

    please send me the code .

  • @user-nt4nm4fb3u
    @user-nt4nm4fb3u 10 หลายเดือนก่อน

    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.

  • @jairam2788
    @jairam2788 11 หลายเดือนก่อน

    What should I use _xtal_freq when I am using internal oscillator

  • @rodmeyer541
    @rodmeyer541 11 หลายเดือนก่อน

    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; }

    • @asdfasdf8198
      @asdfasdf8198 3 หลายเดือนก่อน

      why did he assign T0CON=0b01001010; shouldn't it stay 0b0000000 0

  • @sosscs
    @sosscs ปีที่แล้ว

    can you make a tutorial on analog to digital converter

  • @lkthebusyguy
    @lkthebusyguy ปีที่แล้ว

    Thank you for explaining it so well.

  • @oiooiioioiooioii5400
    @oiooiioioiooioii5400 ปีที่แล้ว

    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?

  • @dita3788
    @dita3788 ปีที่แล้ว

    Dimana kita bisa dapat alat programernya itu

  • @dita3788
    @dita3788 ปีที่แล้ว

    Can read data from pic18f25q10

  • @mrmf4712
    @mrmf4712 ปีที่แล้ว

    Wha tis in the line 77?

  • @adesuyisunday4287
    @adesuyisunday4287 ปีที่แล้ว

    Nice video and topic. Can you do sinewave inverter using 18f pic 28pin type?

  • @kentavarxd5820
    @kentavarxd5820 ปีที่แล้ว

    How do you connect controller to PC?

  • @wolvorineda2351
    @wolvorineda2351 ปีที่แล้ว

    where source code?

  • @raed9152
    @raed9152 ปีที่แล้ว

    After watching this video, I have really learned how to interface a keypad with PIC18.🙏🙏

    • @savagehalt1555
      @savagehalt1555 6 หลายเดือนก่อน

      this is one of the comments of all time

  • @shajinify1
    @shajinify1 ปีที่แล้ว

    error: expected ';' after top level declarator

  • @t1d100
    @t1d100 2 ปีที่แล้ว

    More good stuff! Thank you.

  • @t1d100
    @t1d100 2 ปีที่แล้ว

    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?

  • @t1d100
    @t1d100 2 ปีที่แล้ว

    Excellent! Excellent teaching and video production. I hope that you will return to making PIC18F(4550) videos. I need the help! lol Thank you.

  • @academia4706
    @academia4706 2 ปีที่แล้ว

    WOOOOW!!!! this channel is a hidden gem!

  • @appypolly46
    @appypolly46 2 ปีที่แล้ว

    well done guy thanks for all you did for us!

  • @zs6deb
    @zs6deb 2 ปีที่แล้ว

    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.

  • @conconmervin
    @conconmervin 2 ปีที่แล้ว

    Please upload new videos. Your videos are soooooo good.

  • @mathis4711
    @mathis4711 2 ปีที่แล้ว

    Respect!!! Very simple and clear explanation.

  • @apjabdulkalamfanatm6231
    @apjabdulkalamfanatm6231 2 ปีที่แล้ว

    Bro Please make a stepper motor interface video. Also tell us about L293D driver

  • @oveschleisner-meyer8139
    @oveschleisner-meyer8139 2 ปีที่แล้ว

    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???

  • @shite9678
    @shite9678 2 ปีที่แล้ว

    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.

  • @ASIGOO
    @ASIGOO 2 ปีที่แล้ว

    Is there a limit to the frequency of using an external interrupt? I'm only able to get 10kHz on an external interrupt

  • @morelifezibbs9733
    @morelifezibbs9733 2 ปีที่แล้ว

    thank you

  • @shikharsingh1298
    @shikharsingh1298 2 ปีที่แล้ว

    Love the horror music intro

    • @nihal19961
      @nihal19961 10 หลายเดือนก่อน

      and the drip background for pic18

  • @techacademy9787
    @techacademy9787 2 ปีที่แล้ว

    Very well done

  • @pra-thegeneralstores924
    @pra-thegeneralstores924 2 ปีที่แล้ว

    You are simply a genius .... Put more such videos sir!!!!!!!! It's my very genuine request to put such interfacing videos sir !!!!

  • @revolveralex1162
    @revolveralex1162 2 ปีที่แล้ว

    i like the explanation and the example , tanks man!

  • @pyes
    @pyes 2 ปีที่แล้ว

    Came here to figure out how to connect my pickit 4 to the pic. "Just read the datasheet" was not particularly helpful.

  • @abebawdereje2789
    @abebawdereje2789 2 ปีที่แล้ว

    very nice video keep it up\\\\\\\

  • @bharatkumar9048
    @bharatkumar9048 3 ปีที่แล้ว

    Nice video. What configuration bits did you set?

  • @saulotavares144
    @saulotavares144 3 ปีที่แล้ว

    Very nice!!!

  • @spykespark8477
    @spykespark8477 3 ปีที่แล้ว

    Thank you very much.

  • @shawonafthab3572
    @shawonafthab3572 3 ปีที่แล้ว

    I subscribed u,

  • @fifaham
    @fifaham 3 ปีที่แล้ว

    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.

  • @fifaham
    @fifaham 3 ปีที่แล้ว

    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?

    • @shivakrishnagajula4140
      @shivakrishnagajula4140 2 ปีที่แล้ว

      Can you please send me that assembly code ? That will help for my project

    • @fifaham
      @fifaham 2 ปีที่แล้ว

      @@shivakrishnagajula4140 th-cam.com/video/N84gq8ElaIw/w-d-xo.html

  • @tasmeemreza2186
    @tasmeemreza2186 3 ปีที่แล้ว

    sir we need details math about latency