Tag Archives: start

Tutorial: build a distance sensor with an alarm

Introduction to Arduino and programming . There is also a “quick walk-through video” of this tutorial. 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: 1. Connect and test the OLED display Before you start connecting … Continue reading Tutorial: build a distance sensor with an alarm

Countdown timers and executing tasks in parallel on an Arduino

Most 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!): Download the sketch: oled_display_countdown_start_button.ino Full simulation including breadboard on Wokwi: This will countdown from 10 to 0 in ten seconds after … Continue reading Countdown timers and executing tasks in parallel on an Arduino

Introduction to the Arduino BLE Nano

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