Baseline PIC C programming lesson 1 - Flash an LED

  Рет қаралды 70,945

Gooligum Technologies

Gooligum Technologies

Күн бұрын

Пікірлер: 40
@NoodleFlame
@NoodleFlame Жыл бұрын
This is hands down the best tutorial I have found to get started with mplab x, thank you so much!
@ScratchinGold
@ScratchinGold 6 жыл бұрын
Thanks for making these videos to accompany the lessons!
@naadirprofootballeur
@naadirprofootballeur 5 жыл бұрын
2:08 "Sign your life away to Microchip" lol. Nice video though. Thank you!
@Paul-ls9lx
@Paul-ls9lx Жыл бұрын
Your students are lucky to be there teacher.
@KingDuken
@KingDuken 2 жыл бұрын
"Sign your life to Microchip" LOL
@electron7373
@electron7373 Жыл бұрын
Excellent tutorial ! Thanks GT!
@RAINE____
@RAINE____ 4 жыл бұрын
Mate, this is a fantastic tutorial. Thanks
@VitorVitalino
@VitorVitalino Жыл бұрын
Amazing content! Helped me a lot. Thank you!
@techattack5171
@techattack5171 Жыл бұрын
Wow. What an amazing tutorial!
@krish2nasa
@krish2nasa 6 жыл бұрын
Hi David, Excellent tutorial, Thank you very much
@alphahr
@alphahr 6 жыл бұрын
Great job, I struggled with Moab x
@pettypavlow8330
@pettypavlow8330 9 ай бұрын
There is no pic10f200.h file in mac xc8/v2.45/include folder.Is there any new changes?
@NoelKipkorir-f5e
@NoelKipkorir-f5e 11 ай бұрын
i have been trying to program a pic12f683 using mplab x but i get builder fail can you make a video on this
@luisalfredosanchezramos6289
@luisalfredosanchezramos6289 5 жыл бұрын
Hi I love your video I need to do two input and two output with two push button ,You could help me a Code Optimizing C Compilers for Microchip PIC
@flowcharttocodeconverter936
@flowcharttocodeconverter936 5 жыл бұрын
Good one. Use flowchart to code converter for firmware designing and auto code conversion.
@ankitkailashi9777
@ankitkailashi9777 2 жыл бұрын
sir i am using explorer 8 kit with pic18f87k22 i am unable to blink a simple led can u pls guide me
@abandonedcranium6592
@abandonedcranium6592 3 жыл бұрын
// #pragma config statements should precede project file includes. I see you did not do this. Does it have any negative effect?
@GooligumElectronics
@GooligumElectronics 3 жыл бұрын
No negative effect that I can detect - no compiler warnings, code seems to work perfectly.
@FloppyEmulatorPicF
@FloppyEmulatorPicF 4 жыл бұрын
very good
@naylinaung786
@naylinaung786 5 жыл бұрын
Sir, Thank you very much.
@dimitrisblane6368
@dimitrisblane6368 4 жыл бұрын
What is the 0b1101?
@ProgrammerSheep
@ProgrammerSheep 5 жыл бұрын
2:08 LOL
@mayur00123
@mayur00123 6 жыл бұрын
Please make a tutorial flash an led on pic12f510 in embedded c
@GooligumElectronics
@GooligumElectronics 6 жыл бұрын
Pretty much exactly the same as the 10F200 version, just a different config section, which MPLAB can generate for you (as shown in this lesson). In the next lesson I'll switch to a different PIC (12F509), and that will demonstrate changing the config, but the procedure is same as shown in this one.
@mayur00123
@mayur00123 6 жыл бұрын
Gooligum Electronics this is code built and simulate and flash but not working on hardware..pls suggest.. #include // PIC12F510 Configuration Bit Settings // 'C' source line config statements #include // #pragma config statements should precede project file includes. // Use project enums instead of #define for ON and OFF. // CONFIG #pragma config OSC = IntRC // Oscillator Select (INTOSC with 1.125 ms DRT) #pragma config WDT = OFF // Watchdog Timer Enable bit (WDT disabled) #pragma config CP = OFF // Code Protect (Code protection off) #pragma config MCLRE = ON // Master Clear Enable bit (GP3/MCLR Functions as MCLR) #pragma config IOSCFS = ON // Internal Oscillator Frequency Select bit (8 MHz INTOSC Speed) #define _XTAL_FREQ 8000000 #define LED1 GPIObits.GP0 void main() { TRISGPIO= 0x00; GPIO = 0x00; while(1) { LED1=1; __delay_ms(4000); LED1=0; __delay_ms(4000); } }
@jasbirsingh6070
@jasbirsingh6070 4 жыл бұрын
Thank you
@nitonixnitron5569
@nitonixnitron5569 2 жыл бұрын
Personally, I would prefer not to have the background music, but nice tutorial
@lavieuinme
@lavieuinme 5 жыл бұрын
Thank you!!!!!
@Lifeless11111
@Lifeless11111 2 жыл бұрын
Can someone explain what is 0b0010 ? is that a byte ? how do i learn this? All of this video is kinda pointless , i already have an ide and i already program in C , but i do not understand this type of code, is it asci? or just binary in a way?
@mkhaled23
@mkhaled23 2 жыл бұрын
b means binary, x means hexadecimal. 8 bits = 1 byte. 0 means configure as output, 1 means configure as input (configured as input by default, I think). This chip only has 4 available pins. Hence, TRIS = 0b1101 (bit3 bit2 bit1 bit0, where bit1 corresponds to GP1). A binary can only be 0 or 1 (base 2). Similarly, GPIO = 0b0010 (bit3 bit2 bit1 bit0) means you are setting bit 1 as HIGH, which means it will provide a voltage to drive that pin (maybe 3.3V) and this will basically provide power to turn ON the LED. And other 3 pins are driven LOW. You can search on KZbin for further tutorials. kzbin.info/aero/PLjueKcCvkvtpE8GoDSWoej_mh3gAIV150
@Lifeless11111
@Lifeless11111 2 жыл бұрын
@@mkhaled23 okay ty for clarifying. now it makes a little more sense . No one seems to explain this basic stuff
@torstenvwn
@torstenvwn 4 жыл бұрын
There is a buzzing noise when you use the microphone
@GooligumElectronics
@GooligumElectronics 3 жыл бұрын
Thanks for letting me know - but improved in the later videos, I think?
@ahmednawaz4858
@ahmednawaz4858 4 жыл бұрын
Pic microcontroller's programing in ccs pic c compiler video link:m.kzbin.info/www/bejne/pqSqaWupgbqGrJY
@kB-hg2ci
@kB-hg2ci 4 жыл бұрын
This is probably the fifth or sixth tutorial I followed and couldn't run. Nothing but errors.
@GooligumElectronics
@GooligumElectronics 3 жыл бұрын
Sorry you've had that experience. I can only say that the videos are real, i.e. no tricks. What worked for me should work for you if you follow along closely.
@amajout
@amajout 2 жыл бұрын
@@GooligumElectronics just want to drop a tip, PIC10F204 & PIC10F206 have a comparator, if not disabled (put all 0) no pin would work, I learned it the hard way
@IngeBall
@IngeBall 2 жыл бұрын
Sign your life away 😂😂😂 Sad but true..
Baseline PIC C lesson 2 - Reading Switches
13:49
Gooligum Technologies
Рет қаралды 6 М.
Midrange PIC C programming lesson 1 -  Light an LED
21:54
Gooligum Technologies
Рет қаралды 4,5 М.
Кәсіпқой бокс | Жәнібек Әлімханұлы - Андрей Михайлович
48:57
Life hack 😂 Watermelon magic box! #shorts by Leisi Crazy
00:17
Leisi Crazy
Рет қаралды 78 МЛН
Good teacher wows kids with practical examples #shorts
00:32
I migliori trucchetti di Fabiosa
Рет қаралды 11 МЛН
Ozoda - Lada ( Official Music Video 2024 )
06:07
Ozoda
Рет қаралды 27 МЛН
How to get source code onto a PIC microcontroller
11:21
FriendlyWire
Рет қаралды 91 М.
Программирование микроконтроллеров на си
11:34
Александр Писанец
Рет қаралды 34 М.
10 years of embedded coding in 10 minutes
10:02
Greidi Ajalik
Рет қаралды 407 М.
My 2 Year Journey of Learning C, in 9 minutes
8:42
VoxelRifts (PixelRifts)
Рет қаралды 623 М.
Getting Started with PlatformIO
51:54
DroneBot Workshop
Рет қаралды 627 М.
How to program PIC18F | Blinking an LED step by step
23:50
GhostyDigits
Рет қаралды 22 М.
4. Assembly Language & Computer Architecture
1:17:35
MIT OpenCourseWare
Рет қаралды 717 М.
Кәсіпқой бокс | Жәнібек Әлімханұлы - Андрей Михайлович
48:57