This tutorial describes how to build an electronic circuit with an RGB LED (a LED that can change color), and change its color using an App. It also demonstrates two-way communication over Bluetooth LE between an App built with App Inventor and the BLE-Nano board. The BLE-Nano board is basically an Arduino Nano with an … Continue reading Bluetooth communication between an App built with App Inventor and the BLE-Nano board →
This article assumes you have already some experience in creating Java Apps. For instance if you have done the first 2 lectures of the course Application Development. You should also have prepared the DHT temperature/humidity sensor and have a working sketch for it (eg. by completing step 1 and 2 of practical assignment 2 of … Continue reading Create a stand-alone Java App that displays info from a connected sensor →
An example to control the intensity of vibration using PWM for the Vibration DC Motor Module. For example this model: Connect the module to 5V (VCC) and ground (GND) and the IN pin to any PWM pin of the Arduino. Eg. for an Arduino Uno, this can be pin 3. For an overview of PWM … Continue reading Vibration Motor control →
Learn how to count products on a conveyor belt with a distance sensor. This article explains how to use a distance sensor for counting objects. In this case, we have a conveyor belt with products, which we will count. This article is part of a lecture on use of sensors in Industry 4.0. The setup … Continue reading Object counting with distance sensors →
This short tutorial introduces the ESP32 module (a Lolin32 Lite) and connects an HC-SR04 Ultrasonic sensor. The entire prototype will be powered by a battery and sent its data to a webserver via Wifi. It is assumed you have installed the Arduino IDE and have some basic understanding of using electronics and wiring a breadboard. Although in … Continue reading Create a connected distance sensor with an ESP32 module →
Assignment: design, build and test a “product counter” which is able to count various products passing by on a conveyor belt. The counter should have a display which displays: a) measured distance, b) whether there is a product in sight (or not) and c) the number of counted products. Submit your results using the form … Continue reading I4.0 Sensor practical →
This tutorial uses the Arduino Nano, but you may also use an Arduino Uno. You might need the Arduino Nano pinout diagram or an other diagram for your particular model of Arduino. We are going to use the diagram below to build it. But if you are inexperienced each step is explained in detail. First, … Continue reading Use DHT11 temperature and humidity sensor with display →
This page explains the use of the TCS3200 colorsensor and shows how to create a small holder for it, which can be mounted on the Rover Car. It is also possible to just use the holder (without connecting it to the car) as it will make it easier to use and shields it from ambient … Continue reading Using the TCS3200 color sensor →
Information on how to use displays in combination with the EVShield. Small (oled) displays can be a great addition to a robot powered by an EVShield, like the Rover. It can be used to display all kinds of information about the status of the robot, like the battery voltage, speed etc. The Lego display is … Continue reading Using various displays with EVShield →
In this example we will control a RGB LED from an Android App via a Bluetooth connection. A HM10 BLE Bluetooth module is connected to an Arduino Uno. This tutorial assumes you already have some experience with Arduino. If not, you might want to follow a basic tutorial and/or install the Arduino software (the IDE). … Continue reading Control an RGB LED from an Android App via Bluetooth →