Tutorial: build a distance sensor with a Raspberry Pi Pico and CircuitPython

In a previous tutorial “build a distance sensor with an alarm” we used an Arduino Nano (coded in a C-variant). Now, we will do the same with a Raspberry Pi Pico and CircuitPython, a version of Python which runs on microcontrollers. If you are more interested in programming the Pico with the Arduino IDE (in … Continue reading Tutorial: build a distance sensor with a Raspberry Pi Pico and CircuitPython

Learn Python: a first “Hello world” userinterface

Through this assignment you become familiar with developing a Python application. We wil create an App in which you can input text and then show that text as part of a message in the App. Python is renowned for its readability and simplicity. Its syntax facilitates concise code, making it suitable for both beginners and … Continue reading Learn Python: a first “Hello world” userinterface

Learn Java basics with a simple calculator

In this tutorial, we will create a simple text-based calculator. It’s meant to practice basic Java syntax, like println(), if- and basic arithmetic. The resulting calculator can only do the 4 basic operations and it does not recognize fractions. It is advised to first go over a basic tutorial like on w3schools.com/java before attempting this … Continue reading Learn Java basics with a simple calculator

Tutorial: Create a gamecontroller for the catch-the-ball game

In this tutorial, we are going to create a gamecontroller which can control the game using movements. By tilting the gamecontroller, you can control the movement of the basket. We will extend the game made in the previous tutorial. Carrying out the assignment Realizing the gamecontroller can be done in 2 ways: Using the MPU-6050 Accelerometer … Continue reading Tutorial: Create a gamecontroller for the catch-the-ball game

Tutorial: build a connected temperature sensor

Introduction to Arduino and programming . Practicals which use this tutorial have an introductory presentation (pdf). We will build a temperature sensor in this tutorial and connect it with an App. It uses an DHT11 temperature & humidity sensor and Bluetooth communication with a phone. We use a BLE-Nano here, but you can also use a regular Arduino … Continue reading Tutorial: build a connected temperature sensor

Tutorial: build a distance sensor with an alarm

Introduction to Arduino and programming . There is also a “quick walk-through video” of this tutorial. My practicals which use this tutorial have an introductory presentation (pdf). Further directions: We will build a distance meter in this tutorial. It uses an ultrasonic distance sensor to sense the distance to an object nearby. It consist of the … Continue reading Tutorial: build a distance sensor with an alarm

“Error uploading sketch” in Arduino IDE and other upload issues

If you keep getting the error below (or a similar one) when trying to upload your sketch, read this article. Try the troubleshooting steps below in order. If it still fails, contact us and describe what you tried (which steps). Show verbose output of the Arduino IDE In File > Preferences do you have the … Continue reading “Error uploading sketch” in Arduino IDE and other upload issues