In this tutorial, we'll learn how to manage and test BLE (Bluetooth Low Energy) communication on an ESP32 with MicroPython. Equipment An ESP32 module A computer with Python installed USB cable for ESP32-computer connection An Android device IDE environment and...
Controlling servomotors with an Arduino joystick
One of the main objectives of robotics is to articulate objects. And to do this, we can also act on the articulation of objects via user action directly on the system. In this article, we'll look at how to program the Arduino board to drive servo motors with a...
Creating a Web Crawler with Python
To collect data on the Internet, you can create a Web crawler or Web scraping program with Python. A web crawler is a tool that extracts data from one or more web pages. Configuring the Python environment We assume that Python3 and pip are installed on your machine....
Creating a desktop application with Electron
In this tutorial, we'll look at how to create a desktop application using the Electron framework. This programming environment enables you to develop GUIs using the Web languages JavaScript, HTML and CSS, compatible with several OS. Setting up the programming...
Using WebSockets with React Native
We're going to create a React Native application that will act as a Websockets client and communicate with a remote server. WebSockets is a popular, simple and robust web communication protocol enabling real-time communication between client and server. Hardware...
Reading and writing files with React Native
WebSockets server-client communication with Python
Let's take a look at how to set up communication between a server and a client using the Websockets protocol in Python. WebSockets is a simple, robust web communication protocol for real-time communication. Installing the Websockets library To use WebSockets with...
Creating a Python script under ROS2
In this tutorial, we'll look at how to create and run Python scripts under ROS2. This will enable you to create your own nodes and start developing under ROS. Create a workspace A good practice when developing under ROS2 is to create workspaces in which to install the...
Installing ROS2 on Raspberry Pi
In this tutorial, we'll look at how to install ROS2 on a Linux machine, in particular a Raspberry Pi 4 running Ubuntu. ROS2 is an interesting framework to tackle when working on embedded systems such as robots. Hardware Computer with Internet access 32GB SD card...
Sending long character strings via BLE
Bluetooth Low Energy (BLE) has a known limit of 20Bytes on the length of strings sent. There are ways of overriding this limit. Hardware In this tutorial, we'll send data from an Android application, developed under React Native, to an ESP32. The methods described may...