Skip to main content Skip to local navigation
Home » Category: 'Matlab'

Matlab

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

Matlab and Arduino (Fall 2023)

[updated in 2024] I use Arduino-compatible hardware in two of the engineering programming classes that I teach here at York University. Rather than program the boards directly, I have the students install a little program on the Arduinos that can communicate with the programs that the students actually write on their own computers. For the […]

Automated student testing of Matlab code, Part 2

Here I’m going to outline an exercise in Matlab that combines the following features: A text file with four variants of the question Random selection of the variant Visual component in the form of an ASCII-art equation, like this: 2 ⋅ s + 4 ⋅ t a = ───────────── s + t The objective is […]

Automated student testing of Matlab code, Part 1

It’s important to have dynamic 24/7 interactive activities for programming classes. There are plenty of solutions out there, including Matlab Grader and Möbius. The folks at Jetbrains have their Academy system, too. What I need, at this stage, is a no bells-and-whistles, auto-grader for Matlab code that can run a unit test on a student’s […]

Lab Kit details for EECS 1011/1021

[Updated March 2024] EECS 1011 (and 1021) Lab Kit The EECS 1011 kit is available for purchase from the York University Bookstore. The link for all lab kits at the Bookstore is here. As soon as it is available your course instructor will let you know. While the official kit is designed to work for […]

Pedagogy in a Pandemic: Teaching without Exams

This is the first semester that I’ve taught 100% online.  The Fall 2020 lockdown and the YorkU strike in 2018 gave me a taste of what it would be like and alerted me to the need for restructuring of my classes in order to make them more favourable to learning.  During the pandemic, students are […]

Additional resources for Arduino Hardware and Matlab

[courtesy of Eric Prandovzsky.] You can use the available devices in the kit to come up with something creative Button LED Buzzer Microphone Light Sensor Potentiometer DHT11 Temperature sensor.  Pump Soil Moisture Sensor MOSFET If you want to add any advanced devices, these are the ones that have drivers available for MATLAB (all found on […]

The Arduino Support Package in Matlab

Matlab Arduino Support Package Installation Online Installation isn’t working If you are having trouble installing Arduino Matlab support packages using the online method (see below) https://www.mathworks.com/help/matlab/matlab_external/support-package-installation.html You may use the following steps to offline-install Arduino Matlab Support packages Steps to follow    1. Clean the Installation Directory For R2016b and newer a. Open MATLAB and […]

Grove board connections in MATLAB

I’ve posted two videos on YouTube about getting your Grove (or other Arduino-compatible board) connected to MATLAB.  You can see the two videos here: 1. Grove board: https://www.youtube.com/watch?time_continue=3&v=ni72AXdbHoY&feature=emb_title  2. Seeeduino (Uno-like) board: https://www.youtube.com/watch?time_continue=1&v=C7unT9C_IMo&feature=emb_title  one includes the Grove Beginner Kit and the other is a standard Arduino Uno-compatible board.  Depending on whether you are using the […]

Lab Kit for EECS 1011 and 1021.

The YorkU Bookstore sells a lab kit for EECS 1011 and 1021.  The original batch of kits arrived in September, 2020.  The next batch arrived in December, 2020.  If you live in a country for which the Bookstore does not ship to you, or you have discovered that there is no more stock at the […]