Tag Archives: programming

Tutorial: build a laser distance sensor with a Raspberry Pi Pico

In this tutorial, we will build a laser distance Sensor with a Raspberry Pi Pico and CircuitPython, using a VL53L1X Time-of-Flight (TOF) sensor. In this tutorial you will learn to build a distance sensor. It takes the basic steps to connect electronic components and programming the Raspberry Pi Pico in Python. It uses an laser … Continue reading Tutorial: build a laser distance sensor with a Raspberry Pi Pico

Resulting app

Learn Python: weather station app with live data 

Through this tutorial you become familiar with developing a Python application with a graphical userinterface. We will create an App which can display weather data from various weather stations. Data will come from an online xml service providing weather data. We are going to create an application that can display the temperature of several weather … Continue reading Learn Python: weather station app with live data 

UI of Python app drawing shapes

Learn Python: drawing shapes in a userinterface

Through this tutorial you become familiar with developing a Python application with a graphical userinterface. We will create an App which draws some basic shapes. The color of one or more of the shapes can be changed by entering a RGB color value (three numbers), for the color components red, green and blue. These numbers … Continue reading Learn Python: drawing shapes in a userinterface

Breadboard with temperature sensor, display and Raspberry Pi Pico

Tutorial: build a connected temperature sensor with a Raspberry Pi Pico W

In this tutorial you learn to build a temperature sensor and connect it via Bluetooth with an App. It uses a DHT11 temperature & humidity sensor and Bluetooth communication with your phone. For this we will use a Raspberry Pi Pico W, the Wireless edition of the Pico. It consists of the following steps: This … Continue reading Tutorial: build a connected temperature sensor with a Raspberry Pi Pico W

Sensor with separate header pins

Using the VL53L1X Time-of-Flight Distance Sensor

This short tutorial introduces the VL53L1X Time-of-Flight (ToF ) distance sensor and hook it up to an Arduino Nano. Further directions: If you bought it like this: You will first have to solder the header pins. Connect the sensor Because the sensor uses I2C its wiring is simple: It’s operating voltage is 3.3V or 5V, … Continue reading Using the VL53L1X Time-of-Flight Distance Sensor

Tutorial: build a distance sensor with a Raspberry Pi Pico and CircuitPython

In a previous tutorial “build a distance sensor with an alarm” we used an Arduino Nano (coded in a C-variant). Now, we will do the same with a Raspberry Pi Pico and CircuitPython, a version of Python which runs on microcontrollers. If you are more interested in programming the Pico with the Arduino IDE (in … Continue reading Tutorial: build a distance sensor with a Raspberry Pi Pico and CircuitPython

Learn Python: a first “Hello world” userinterface

Through this assignment you become familiar with developing a Python application. We wil create an App in which you can input text and then show that text as part of a message in the App. Python is renowned for its readability and simplicity. Its syntax facilitates concise code, making it suitable for both beginners and … Continue reading Learn Python: a first “Hello world” userinterface

Learn Java basics with a simple calculator

In this tutorial, we will create a simple text-based calculator. It’s meant to practice basic Java syntax, like println(), if- and basic arithmetic. The resulting calculator can only do the 4 basic operations and it does not recognize fractions. It is advised to first go over a basic tutorial like on w3schools.com/java before attempting this … Continue reading Learn Java basics with a simple calculator

Tutorial: Create a gamecontroller for the catch-the-ball game

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