Skip to main content Skip to local navigation
Home » Posts tagged 'arduino'

arduino

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

Debuggers, MPLAB X and the Arduino

Debuggers, MPLAB X and the Arduino

This page is about programming ATMEGA328 chips, like the one found on the Arduino UNO, using modern (post 2015) tools like MPLAB X and the Snap or PICKit4 debuggers. As of July 2021 there is a little hiccup in how to do this. Hopefully in the future Microchip will fix the issue and render this […]

Modifying an Arduino for MPLAB X

Modifying an Arduino for MPLAB X

To allow the UNO to be programmed by the PICKit 4 via the ICSP header (circled in blue, below), we need to cut the reset signal trace that links the '328P processor to the USB Bridging chip that is also found on the UNO, the MEGA16U2. There are also two other wires that we won't […]

2020/21's First Year Students: Arduinos, Matlab and Java

2020/21's First Year Students: Arduinos, Matlab and Java

Introduction The 1st year programming courses in the Lassonde School at YorkU were revamped for the 2020/21 school year so that students could do hands-on lab activities from home.  The students took two programming classes: Matlab procedural programming in Fall 2020 Java object-oriented programming in Winter 2021 In both courses the students used Arduino-compatible hardware […]

Matlab: adding Arduino support

Matlab: adding Arduino support

[this is a draft... it needs to be cleaned up.] I'm using MATLAB 2019b, whereas you are probably using something a little newer, like 2020b.  It shouldn't make much (if any) difference. Open up MATLAB and then go to Add-ons and check out the Hardware support packages. You'll be greeted with a list of all […]

Matlab and Arduino

Matlab and Arduino

The programming and embedded systems curriculum in engineering should be constantly revised as the underlying methods and technologies are constantly changing. Here, I'm exploring how we can update the systems we use in our first year programming class at the Lassonde School.    Low barriers to entry are key as many of our students have […]