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

arduino

Measuring voltage on a Grove Board

The Arduino-compatible Grove board that we use in EECS 1021 and EECS 1011 at York University has multiple analogue sensors on it. Other analogue sensors, like the soil moisture sensor, can be attached to the board using either the Arduino headers (in yellow) or with the Grove connectors. Students in EECS 1011 and 1021 are […]

Writing to the OLED with Firmata and Firmata4j

While demonstrating the OLED display in class this week, I messed up the lesson -- twice -- because I forgot a really important detail: timing. When putting information on the OLED display it's important to take into consideration timing. But that timing is not always important to consider. Where I messed up was in demonstrating […]

Your Arduino or Grove Board needs a Driver

Some students will find that their Grove Beginner Kit for Arduino board will have trouble being recognized by their Windows or macOS machine. It is important that you download the driver from SiLabs if this is the case, as per the instructions found on the Wiki page for the Grove Beginner Kit. That page will […]

Version 2.3.9 of Firmata4j

When using Maven to load the Firmata4j library you'll be required to use version 2.3.8 and you'll need to load dependencies in a particular order, as per my earlier blog page. It's manageable but a little cumbersome. That said, most students can handle it. Instead, you can try to use version 2.3.9. I've loaded the […]

Firmata4j and a Simple DHT20 example

After my earlier blog post from today, I wanted to verify that I could read single bytes of data from other sensors on the Grove Beginner Kit for Arduino. The next target? The DHT20 sensor. According to the data sheet, I should be able to be able to request a status byte and that that […]

Main Project Example for EECS 1021

[This was written specifically for the 2024 edition of the course. Some details may have changed. Please refer to current documentation provided in class. The following is an example of a main project for the EECS 1021 course. While I think that it's important to provide concrete examples it's also important not to provide examples […]

Trying out the M5Stack

My colleague, Eric Prandovszky, has been discussing the M5Stack system with me for a while and acquired a few modules to us to try out. Today I tried out the M5Stack Core 2 AWS module. My objective is to see if we can program it using the legacy Arduino 1.x IDE on macOS with Apple […]

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

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

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