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

arduino

TinyUSB on Arduino and RP2350: Step 2 -- Simple or Complex?

In Part 1 I looked into how one could create a simple USB program to run on the RP2350. But that's just the tip of the iceberg. There is so much more that can be done via the USB port on a microcontroller like the RP2350! As described in this 2021 post on a TinyUSB […]

TinyUSB on Arduino Step 1: Identify yourself!

As I continue exploring MIDI on Arduino wth 32bit processors like the RP2350, it's clear that there are a lot of people interested in and working on sound and music applications with microcontrollers, including Phil Schatzman (Arduino MIDI, Arduino Audio Tools, and Synthesis Toolkit). While many of his projects don't use TinyUSB under-the-hood, his latest […]

Micro-Servo Testing with an Arduino-Compatible board

I'm updating the lab kit for the intro to programming courses, EECS 1011 and EECS 1021. The goal is to find a variety of 5v-compatible, low-current micro servo motors that can be used in student lab kits. These micro servos are sold by multiple vendors, both online and in brick-and-mortar shops, like traditional hobby stores […]

Exploring RISC-V: Espressif IDE on macOS & ESP32-C3

While we expect our students to use the Espressif IDE software in the Lassonde labs, on computers provided by the School, they should also feel enabled to install the software on their own machines. The following is a description of what I did to get it to work on my macOS machine. Note that once […]

Some useful things to do with Arduino, Firmata and Java

When contemplating how to use Firmata with Java, consider some of the following things: Your Main Project will look something like this (this is an older video that doesn't quite reflect changes to the updated project): Install Firmata on your device To do any of this you'll need to install Firmata: Using the OLED display […]

Firmata4j: "Index out of bounds"

If you're trying to use Firmata4j and get an Exception in thread "main" java.lang.IndexOutOfBoundsException: Index 4 out of bounds for length 0 message, it may be because you downloaded StandardFirmata via the Arduino 2.0 IDE. At this stage, I'm not sure of the cause. I've determined that a solution for this is to use the […]

Exploring RISC-V Options: the RP2350 (Part 5 -- Disk Not Ejected Properly)

This is going to be a short post. Over the past couple of days I've been exploring the RP2350 and the Arduino IDE as a possible tool for teaching computer architecture. In the morning I've been turning on my macOS machine and have been faced with this: What's causing the issue? I'm not sure. But […]

Exploring RISC-V Options: the RP2350 (Part 4 -- Serial Monitor Tooling)

It's easy to get caught in weird assembler errors. This is made more difficult if you don't have a background debugger and need to use a boot loader / serial monitor to debug your system. Sometimes that's all you have. So here is a suggestion for a C++ and Assembler file pair to check to […]

Exploring RISC-V Options: the RP2350 (Part 3 -- No Drive to Deploy)

It was bound to happen. The Seeed Studio RP2350 is not connecting to the Arduino IDE. I'll go out on a limb here and chalk this up to the boot loader having an issue after I tried to get it to spit out serial data or maybe it was because I was trying to get […]

Exploring RISC-V Options: the RP2350 (Part 1)

In engineering education there is an ever-present problem with technology-anchored pedagogy: when do you switch from current technology to the next one? Right now, the cool kid on the block in the RISC-V architecture. Will it be the next ARM or will it be the next PowerPC or MIPS? It's hard to tell. However, a […]