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 →
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 →
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 →
To start drawing inside a panel, first setup a DrawingPanel as described in step 2 of this assignment. Next, add a paintComponent() method and add drawing commands to it. The origin in a panel is the upper left corner: The first time you use a new class, like Color, you might get a warning bulb … Continue reading Assignment 2 appendix: drawing with Java graphics →
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). There is a troubleshooting section further down on this page! This is the … Continue reading Introduction to the Arduino BLE Nano →
Part of series about Android App Development. This is the second article, in which you will learn to create a first interactive userinterface.
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 →