Tutorial #7: How to Write Software And Program Your Board - Step by Step
A Step by Step tutorial to help everyone to learn how to design and build a simple microcontroller board. This Part 7 is about writing software and programming your board in MPLAB.
Here is the finished project where you can see how this board is used:
- Making a Magic Wand with Light Effects and Spell Recognition | Wizards Wand
Download the finished Schematic and PCB here:
Download the project source code from here:
Watch the full tutorial here:
Individual videos of this tutorial:
- Tutorial #1: How to Design and Build Your Own Board - Simply and Easily
- Tutorial #2: Drawing Schematic and Connecting Microcontroller Accelerometer ( EasyEDA )
- Tutorial #3: Starting a new PCB, Placing Components, Improving Schematic
- Tutorial #4: How To Do PCB Layout (Step by Step)
- Tutorial #5: Improving Your PCB Layout and Manufacturing Your Board
- Tutorial #6: Useful Steps To Do After You Receive Your Boards From Production Some soldering tips
- Tutorial #7: How to Write Software And Program Your Board - Step by Step
Chapters:
00:00 - Installing MPLAB
01:54 - Installing XC8 Compiler
04:10 - Installing MPLAB Code Configurator
05:40 - Installing PickKit 4
06:49 - Starting a new project
12:27 - Starting with Code Configurator
17:47 - Implementing PWM output
55:41 - Implementing I2C
1:13:59 - How to debug software
1:15:55 - Implementing interrupt
------------------------------------------------------
Would you like to support me? It’s simple:
- Sign up for my Hardware design and PCB Layout online courses:
- You can also support me through Patreon:
- Or sign up for my Udemy course:
It is much appreciated. Thank you,
- Robert