Skip to main content Skip to local navigation
Home » Category: 'Uncategorized' (Page 4)

Uncategorized

Getting started with the LPC802

Getting started with the LPC802

This is a little different.  Apparently, the LPC802 board SDK / BSP is already installed in MCUXpresso, but you can't compile anything beyond the simple printf example.  Anything that requires the LPC8xx.h file won't compile.  So I reimported the SDK like I did for the KL25 and KL43.  That means that you see two versions […]

Interrupts, Bit Clearing and Setting in XC8

Interrupts, Bit Clearing and Setting in XC8

While testing out the PIC16F88 replacement for the PIC16F84 on the INSA microcontroller teaching board I ran into issues with two things not working as per the standard sources of examples (e.g. Microchip's Developer Wiki): Interrupt Service Routines Bit setting, clearing via structures These examples appear to have been written for versions of XC8 prior […]

Programming the INSA PIC16 Board

Programming the INSA PIC16 Board

After a few months twiddling PIC16 bits in simulation I need to get three, three-hour lab sessions written up for the PIC16F84.  The school has provided me with two versions of their PIC16F84A boards, one designed for Mechatronics students and one for EE students. The board designs date to the dawn of the Arduino era […]

A Simple Program on Three Simple Microcontrollers: Compare and Contrast

A Simple Program on Three Simple Microcontrollers: Compare and Contrast

Introduction Here we're going to "kick the tires" on examining a simple example program, using three 8-bit microcontrollers: the classic PIC16F84A, it's updated cousin found on the Microchip Curiosity Board, the PIC16F1619, and the ATMEGA328P made famous by the Arduino UNO. We'll be using a "debugging first" approach to programming that is intended to enable students […]

Is Assembler the Latin of Programming Languages?

Is Assembler the Latin of Programming Languages?

How bad and outdated is Assembler?  For many of us, Assembler is the Latin of programming languages.  Below, I talk about my changing perspective on this. In preparation for the embedded systems course I'll be helping to teach at the INSA in Strasbourg I'm reviewing my PIC-based teaching material, mostly based on the PIC32.  This […]

An example project: Alarm System

An example project: Alarm System

“Home Security and Automation” Project Description [What the project is to achieve, a half to one page. Please describe the educational component of the project.] Home security projects are relatively common for engineering and computer science students.  They typically focus on a superficial and limited technical implementation. The objective of this project is to learn […]

Rethinking C, C++ and Assembler

Rethinking C, C++ and Assembler

I don't like Assembler programming.  I was forced to use it in 1997 in EE 380 on the Motorola 68000 with Prof Nelson Durdle at the University of Alberta.  Ditto, for C++.  My C professor, Prof. Martin Mintchev, in EE 445 convinced me that it was bloated and terrible.  So, since that time, I've been […]