Skip to main content Skip to local navigation
Home » Page 21

Blog posts

Getting Started with the Adafruit Metro M0 Express

I bought the Adafruit Metro M0 Express because it has both a debugger port soldered on and has a SAMD21 chip on it.  While it has a bootloader and CircuitPython on it, I'm actually only interested in using it as a potentially student-friendly development platform for learning C / C++ on the Cortex M0+. I […]

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 […]

Back to the Future: Trackballs

I've been using trackballs for many years.  I started with a Logitech Trackman Wheel.  I got a second one when my first one stopped working.  But when they stopped making them prices soared ($400+) so I looked for alternatives. I tried the Kensington Expert and continue to use it at home.  It's got Bluetooth, is […]

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 […]

Embedded Systems course in Karlsruhe, Germany

I'll be teaching the IP 411 "Embedded Systems for Engineering Applications” class at HS Karlsruhe in October as part of my sabbatical activities.  It will take place over four days: Fri 12 October 2018, 2 pm – 5.30 pm Sat 13 October 2018, 9 am – 5.30 pm Fri 19 October 2018, 2 pm – 5.30 […]

Debugging with Breakpoints: Simulation is not the Real Thing

As my deadline for producing teaching material for the PIC16 boards at INSA Strasbourg approaches, I'm running into real world debugging issues. Now, it's important to point out that I'm trying to make sure that my teaching material is debugging-focused and provides an opportunity for self-directed learning. The first attempts at running a program on […]

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 […]

Choosing a platform for teaching microcontroller programming

While planning a book on programming microcontrollers I've been trying to settle on a small group of microcontrollers that could be used for examples. Every couple of years I do this to myself.  Below are a few examples, including the ubiquitous Arduino UNO with an 8-bit chip, as well as the FRDM-KL25Z and Adafruit Metro […]

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 […]

The YorkU Teaching Wheels

[This is a reposting of my original blog post at the York University Teaching Commons' Blog.] Peer-to-Peer Teaching Feedback Done Right: The YorkU Teaching Wheels There are typically two ways to get feedback on teaching: through anonymous student feedback and through your colleagues on the tenure and promotion committee.  But both of these mechanisms are […]