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

arduino

Java and Arduino (2022 edition)

Java and Arduino (2022 edition)

In the EECS 1021 class here at York University the students learning about object oriented programming in an engineering that uses sensors and actuators. We use Arduino devices that host a special pre-made firmware called Firmata to do this in order to unburden the students from the C++ coding that would otherwise be required on […]

Matlab and Arduino (Fall 2023)

Matlab and Arduino (Fall 2023)

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 first course, the […]

Installing SIMAVR on Mac OS X

Installing SIMAVR on Mac OS X

The SIMAVR package is for simulating AVR processors like the ATMEGA328 on the Arduino UNO. I'm looking to try to use it with VPL in courses like our computer architecture class, EECS 2021, as a way of simulating the UNO's processor in exercises involving assembler and C programming. On a Mac, we use HomeBrew. The […]

Serial Communications & Java

Serial Communications & Java

In my EECS 1021 class, in which we connect Java programs on a Mac or Windows machine with programs running on an Arduino-compatible board, we generally use Firmata. When combined with a library like Firmata4j (Java) or pyFirmata (Python), or Arduino-Octave (Matlab), Firmata provides an easy-to-use pathway for this to happen. It is, however, a […]

Easy Java + Arduino with Firmata (updated)

Easy Java + Arduino with Firmata (updated)

Arduino devices are commonplace in Engineering programs. Even if the profs don't use them, the students do. In Engineering programs, we often need to set up sensor monitoring or motor control systems. If students haven't worked with these in the first through third years of their programs, they are likely to encounter them in the […]

Firmata & Java

Firmata & Java

Firmata is a set of Arduino projects that are aimed at helping solve a particular class of problems with embedded devices: having a main computer send and receive data from an Arduino, typically in a simple control or data-logging application. This is similar to how people use the Arduino support for Matlab. In Java we […]

Lab Kit details for EECS 1011/1021

Lab Kit details for EECS 1011/1021

EECS 1011 (and 1021) Lab Kit The EECS 1011 kit will be 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 most students, […]

Additional resources for Arduino Hardware and Matlab

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

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