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
In this tutorial, you will make a simple game in which balls are launched, which we then have to catch. The user of the game controls a basket in which the balls must be collected. The aim is to catch as many balls as possible and earn points that way. The basket is located at … Continue reading Java tutorial: Programming a Catch-the-ball game
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
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). 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 following steps: … Continue reading Tutorial: build a distance sensor with an alarm
Part of series about Android App Development. This is the second article, in which you will learn to create a first interactive userinterface.
Part of series about Android App Development: first step: installing Android Studio and create a ‘hello world’ app.
On Tuesday December 19th I will give a workshop on Mobile App Development. The slides of my presentation can be found below. The workshop introduces basic concepts of app development, highlights required (programming) skills and introduces common ways apps are build: through hybrid frameworks or native. It also briefly mentions other ways a prototype (of an … Continue reading Mobile App Development, an introduction
To show your processing creation in a webpage (or WordPress post or page*) you can use the example code below. * in WordPress, add a Custom HTML block (or switch to HTML-mode) to enter HTML-code in a post or page. Please take note of the following: Including scripts like this only works online (hosted on … Continue reading Include a processing file (.pde) in a webpage
Sound files on the NXT Sound-files on the NXT should be in the .rso format. Use wav2rso.exe to convert .wav files to .rso format. .rso files should be copied to the folder C:\Program Files (x86)\LEGO Software\LEGO MINDSTORMS NXT\engine\Sounds before they can be used in the NXT software. Create a “Sound” block, select “Sound File” at … Continue reading Using sound on the NXT
Sometimes I get a question from a student or colleague on why we choose Java as our base for the introduction to programming classes. Here are some quick reasons: It is a ‘proven’ language to quickly learn programming It is used as first learned programming language in a lot of other universities and high schools It … Continue reading Why learn programming with Java?