The examples in this article use an OLED display. Countdown timer example In its simplest form, a countdown timer can be coded like this, using the loop() for repetition (no for- or while-loop needed!): Full example : oled_display_countdown_start_button.ino This will countdown from 10 to 0 in ten seconds. If you prefer to display the number … Continue reading Countdown timers and executing tasks in parallel on an Arduino
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
The BLE-Nano as sold here is a combination of a traditional Nano with a Bluetooth BLE module, based on the CC2540 BLE bluetooth chip. The Bluetooth module is directly connected to the TX, RX pins of the Arduino (pins 0 and 1). This is the pinout of the board: Check out the location of the … Continue reading Introduction to the Arduino BLE Nano
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
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.
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
This short tutorial introduces the Optical (infrared) distance sensor (Sharp GP2Y0A21YK0F). It is assumed you have installed the Arduino IDE and have some basic understanding of using electronics and wiring a breadboard. If you want to learn more or if anything is unclear, check out this extensive tutorial. Although in this example we use a display, you can … Continue reading Using an Optical (IR) sensor with Arduino
Information on how to use an 0.96 inch OLED Display (128*64 pixels) with an Arduino. This is an i2c module, which makes it easy to connect as it has only 4 wires. It is assumed you have installed the Arduino IDE and have some basic understanding of using electronics and wiring a breadboard. To use … Continue reading Using an OLED Display with Arduino