Skip to content
18
Aprende
PIC18
CALETAS
Search
Ctrl
K
Cancel
Sign in
C
Estudiante
Logout
zackness
zackness_ofc
zackness_ofc
StartupVen
CALETAS
Select theme
Dark
Light
Auto
Select language
Espanol
English
Tutor IA
CALETAS · AprendePIC18
Tutor IA
↺
×
Enviar
Start here
Study path
CALETAS Ecosystem and StartupVen
Basic microcontroller concepts
What is the PIC18F4550
PIC vs Arduino, ESP32, and Raspberry Pi
Foundations
Basic architecture
Main PIC18F4550 registers
Bits, bytes, hexadecimal and masks
PIC18 assembly
Config bits and configuration word
MPLAB v8, MPLAB X, Proteus, and board
First program
Using GPIO ports
Introduction: what we will build
Create project and .ASM file
LIST and #include
Course config bits
Reset vector and sandwich layout
TRIS: RB0 output, RB1 input
Wire LED and button in Proteus
LAT: turn on the LED (first test)
PORT: button controls the LED
Review final program and save
Check what you learned
Tutorial — First LED
Partial I prep
Partial I preparation
Theory exam guide
Delays
Software delays
Machine and instruction cycles
Delay loops
Delay calculation and applications
GPIO
GPIO - TRIS, PORT and LAT
Buttons, pull-up and debounce
Comparisons
Register comparisons
C and Z flags in comparisons
Compare to zero
Compare two registers
Practice 1 — ALU
ALU operations in assembly
Introduction: WREG and operands
Add and subtract
OR, AND, and XOR
Multiply with MULWF
Summary and Practice 1
Tutorial — Practice 1: Math operations
Partial II prep
Partial II preparation
Exam-style exercise bank
Interrupts
Interrupts
PIC18 interrupts
Introduction: polling vs interrupts
Create project and .ASM file
LIST, CONFIG, and interrupt vectors
RAM variables and LED GPIO
Configure Timer0 (no ISR yet)
Enable interrupts (GIE and TMR0IE)
Minimal ISR: check flag and clear
Save and restore context
Full ISR: toggle LED and reload Timer0
Preview: RB4–RB7 interrupt (keyboard)
Check what you learned
Tutorial — Practice 5: Timers and interrupts
LCD and keyboard
HD44780 LCD and matrix keyboard
Tutorial — Practice 2: Keyboard and LCD
Timers
Timer 0
Timer 1 and Timer 2
Tutorial — Practice 3: Frequency meter
PWM / CCP
PWM and CCP module
Tutorial — Practice 4: PWM
Tutorial — Practice 6: Stepper motor
Partial III prep
Partial III preparation
Exam-style exercise bank
ADC
Analog-to-Digital Converter (ADC)
Tutorial — Practice 7: A/D converter
Communication
UART / EUSART
SPI and I2C (MSSP)
USB on PIC18F4550
Tutorial — Practice 8: Serial communication
Partial IV prep
Partial IV preparation
Final partial-style project
Tutorial — Practice 9: Integrator project
Reference and review
Bilingual glossary
Quick register guide
Exercise tutorials
Extra projects
Project - Traffic light
Project - Tank level control
Tutorial index
Tutorial catalog
Interactive practical guides
Using GPIO ports
ALU operations
PIC18 interrupts
Exercise tutorials
zackness
zackness_ofc
zackness_ofc
StartupVen
CALETAS
Select theme
Dark
Light
Auto
Select language
Espanol
English
Exercise tutorials
Recommended exercises
Tank level control
Countdown on 7-segment display
Button-controlled LED blink
Calculate TMR0 for 2 seconds
50% PWM with PR2=249
Explain TRIS vs LAT vs PORT
Extra steps for each exercise
Section titled “Extra steps for each exercise”
Study routine
Read prompt and draw the circuit
Write precise pseudocode
Create a flowchart
Write modular assembly code
Simulate in Proteus
Explain orally without reading notes
Back to tutorial dashboard