Photo by Rock'n Roll Monkey on Unsplash

Intro

Recently I’ve started learning about Machine Learning and how I can integrate it with my embedded projects. Apparently, it’s not very hard. You don’t need any math background since you can utilize existing ML libraries which are easy to use. In this post, I’d like to introduce you to a “hello world” for Machine Learning and how you can run it on your ESP32 board. The example is taken from the TensorFlow official GitHub repository. I’ve just made some modifications so the output is more interesting than just logs.

Project Description

We will train our model to behave similarly to the sin…


super cool photo

Intro

There is a lot of tutorials done on this topic using Arduino libraries
I’m not against them.

But I think you can learn a lot more about the dev board
if using native frameworks, in this case, esp-idf

I always liked to play with remotely controlled cars from early childhood I had a few of them. I’ve decided to build one myself.

After this tutorial, you will be able to:
1. Drive DC motors
2. Configure Wi-Fi Access Point
3. Creating HTTP server
4. Writing simple Javascript/HTML/CSS
5. Stream video from the camera

GitHub repository: https://github.com/KirillYatsenko/wicar

Prerequisites

I assume you already…


Intro

Recently I’ve bought an ESP32 camera module with no MicroUSB port on it.

Aliexpress esp32 camera module

In order to flash this controller, the UART protocol is used.

We would need UART to USB converter. I’m using this

AliExpress UART to USB convertor

Wiring

wiring

In the case of the given converter red wire is 5V black is GND. Green wire and white wires are the Rx and Tx accordingly. Also, GPIO 0 should be connected to the GND while flashing the board.

Please check ESP32’s pinout of your board for the Tx and Rx GPIO. …


Photo by Kristine Weilert on Unsplash

Introduction

In this tutorial, we will take a look at how to read information from GY-49 Light Sensor by using the I2C protocol. The goal of this lesson is to get a basic understanding of how I2C works and how to use it with ESP32

Hardware required:

  1. ESP32 dev board
  2. GY-49 sensor: For example
  3. Downloaded project: https://github.com/KirillYatsenko/gy-49
  4. esp-idf installed. Installation guide

Running the demo

Wire GY-49

First, wire up your sensor to the esp32 dev board. One of the advantages of ESP32 is that you can specify different GPIOs for the I2C bus. Since it’s working on a simple i2c protocol you will only need 2…


Intro

I recently started learning embedded systems and already have something to share with you. In this project, I’m using the esp-idf which is the framework by espressif. The chip supports the Arduino IDE. But I believe that Arduino libraries are more suitable for fast prototyping. You will open the whole potential of the board by using the official ESP32 framework.

I decided it won’t be a regular tutorial and more like an explanation of some tricky parts of the project. So you won’t waste your time reading.

Note: This tutorial is not for the complete beginners though. …


Photo by Matt Botsford on Unsplash

There you are, at the end of project’s journey. You have finished your program. And now you want to share with others. I will show you step by step how to publish your application to Azure platform.

Requirements:

  • Activated Azure account (You can sign up and activate your account for free)
  • Git repository of application’s source code

I. Set up Azure environment

Create web app

  1. Login to your Azure account
  2. Click “Create a resource” -> Networking -> Web App
  3. Fill required fields and click “Create”. Wait until new app is added to your dashboard

Kirill Yatsenko

DEV

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store