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

Blog posts

Driver for the Grove Beginner Kit for Arduino (updated 2024)

[updated for Windows ARM users] For students attempting to get the USB drivers working for the Grove Beginner Kit for Arduino please follow these instructions: First: make sure that you're not using the white USB cable.  Use a different one. Second: install the USB driver for the board. a) Go to Seeed Studio's wiki: https://wiki.seeedstudio.com/Grove-Beginner-Kit-For-Arduino/ b) […]

VPL: A Java Unit Test Example

The following is an example of the files needed to create a working Virtual Programming Lab exercise for Java: vpl_run.sh vpl_evaluate.sh MainClass.java StudentSolution.java TeacherReferenceSolutions.java TheTestClass.java With this you can evaluate one student submission against a single reference solution. Two methods are run: one is the student's method and one is the teacher's method. The output […]

Testing the LEDs and Button 1 on the ChipKit I/O with KL25

As part of a research project I'm resurrecting some KL25Z boards and ChipKit basic I/O shield boards and seeing if they can be used together. The ChipKit has some pushbuttons and LEDs. The following code, with the help of single-stepping and the debugger can get the LED bank and BTN1 on the ChipKit I/O board […]

Air Quality Training (WHSC)

Summary The Ontario Workers Health & Safety Training Centre provides training on Indoor Air Quality.  It’s valuable training for Joint Health and Safety Committee members to provide them on background to better understand how to go about gathering and analyzing information on indoor air in the workplace.  The training covers common issues, limitations, and responsibilities. (preview here)  Given the importance of […]

Java and Arduino: Serial Communication

Before we started using Firmata and Firmata4j in the EECS 1021 class, Richard Robinson and I put together lab activities that used the Fazecast jSerialComm library paired with customized Arduino serial code. The approach is summarized in three videos: Video 1: The Plan for Sending Data to an Arduino We need to send information, in […]

Initial Review: M3 Pro MacBook Pro

One sentence summary The latest M3 Pro laptops from Apple have one main target audience: people holding on to their Intel-based MacBooks, like me. Background I have a 2018 MacBook Air. I used it to teach in France and Germany during my sabbatical. I used it to teach online and in-person here at York University. […]

Coughing into your elbow: a (new) old wives' tale

TL;DR: There is little to no evidence to show that coughing into your elbow prevents the spread of disease. Elbow-coughing has long struck me as a cop-out, but some posts on Twitter piqued my interest into digging around in the scientific literature. Thanks to Dr. Christine Peters and Dr. Lee Altenberg for the pointers to […]

State Machines for Electro-mechanical Projects in MATLAB

A challenge that new engineering students have when developing programs is trying to determine how to plan out their program. Should the student include a loop? Two loops? One after the other? One inside another? When adding sensors and actuators -- as we do in our course -- when should the sensor be read and […]

Automated Grading of Python in VPL using Unit Tests

A few of my colleagues here at YorkU have expressed an interest in using Python with Virtual Programming Lab on our Moodle-based eClass Learning Management System. I don't have a lot of Python experience, having only really used it for some data processing and toy embedded system demonstrations in the past. So I adapted the […]

You're capable of reading a thermometer -- and a CO2 sensor!

If you feel that it's too hot or too cold in your office or classroom, you wouldn't expect your employer to say "Hey! You can't bring a thermometer into the classroom to measure temperature. You need expert training to read and set up that thermometer." Of course not. That's ridiculous. And the same goes for […]