Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Mastering hardware protocols with ESP32 and Arduinos
Rating: 4.6 out of 5(42 ratings)
752 students

Mastering hardware protocols with ESP32 and Arduinos

Analysis and use of UART, I2C, OneWire, SPI and non-standard protocols in the Arduino environment.
Last updated 7/2023
English

What you'll learn

  • What is I2C, UART, SPI and Onewire?
  • Analysis and discussion of data sheets
  • Understanding and using bit operations
  • Analysis of external libraries for understanding control
  • Evaluating sensors without external libraries
  • Protocol Reverse Engineering
  • Understand the different communication protocols such as UART, I2C, OneWire and SPI and explain how they work.
  • To analyse the advantages and disadvantages of the different protocols and select the appropriate protocols for specific use cases.
  • To successfully establish serial communication between Arduino and ESP microcontrollers and implement data transfers between them.
  • To recognise and analyse non-standard protocols and integrate them into own Arduino and ESP projects to meet specific requirements.

Course content

9 sections77 lectures6h 3m total length
  • Intro1:55
  • Prerequisites for this course1:38

    Confirm your Arduino or ESP programming experience, IDE preference, and GPIO pinout knowledge, then gather Arduinos, USBs, and optionally a logic analyzer, while reviewing the components list and ebook.

  • Practice before theory1:56
  • Differentiation from Wifi, Bluetooth ESP NOW and Co.1:16

    Explore core hardware protocols in the Arduino environment—UART, SPI, one-wire, and I2C—while differentiating them from wireless protocols. Use a logic analyzer to grasp bit basics and write libraries.

  • Open VSC PlatformIO program in Arduino IDE5:22

    Transfer source code from Visual Studio Code with PlatformIO to the Arduino IDE to run sensor data on an ESP32.

  • Sketches, part list and e-book0:39
  • Disclaimer0:50

    Review the disclaimer to acknowledge possible errors and wiring mistakes that could damage parts, components, or create heat, and reflect on schematic accuracy to ensure course success.

Requirements

  • Logic Analyzer for analysing the logs with PulseView (Windows, macOS & Linux)
  • Arduino or ESP32
  • First experience with programming Arduinos and ESPs. You should already know how to use the IDE.
  • Various sensors for evaluating protocols such as DHT20, DHT11, BH1750. More details in the parts list
  • Fun with the analysis of protocols

Description

Welcome to the video course "Analysis and use of UART, I2C, OneWire, SPI and non-standard protocols in the Arduino/ESP environment"!

In this course we dive deep into the world of communication protocols and show you how to use them effectively with Arduino and ESP microcontrollers.

This course is ideal for Arduino and ESP enthusiasts who want to expand their understanding of communication protocols to create complex projects. Whether you are an experienced developer or a beginner, this course will provide you with valuable knowledge and practical applications.

This is not a theory course. We will jump straight into practical implementation and analyse and evaluate the protocols with a logic analyser.

In the course of the course, we will mainly deal with the most important communication protocols in the Arduino environment:

  • UART

  • I2C

  • OneWire

  • SPI

We will also look at non-standard protocols that are often used in special applications. You will learn how to identify, analyse and integrate these protocols into your Arduino and ESP projects.

After the introductory chapter, we can are able to handle bit operators so that we can do our own evaluations and libraries at bit level.

We will evaluate a light sensor (BH1750), DHT20 and DHT11 as well as an Ikea air quality sensor ourselves, without any external libraries.

In this video course we will use practical examples and demonstrations to teach you how to use these protocols. You will learn how to set up serial communication between different microcontrollers, transfer data, read sensors. We will also cover common challenges and troubleshooting that can occur when using these protocols.

By the end of the course you will have a solid understanding of UART, I2C, OneWire, SPI and non-standard protocols. You will be able to use these protocols safely and effectively in your Arduino and ESP projects and significantly expand your skills as a developer.

Sign up for my video course now and dive into the fascinating world of hardware protocols with microcontrollers!

Who this course is for:

  • Arduino and ESP hobbyists
  • Electronics and IoT enthusiasts
  • Programmers and developers: if you already have basic programming skills and want to expand your skills in the field of microcontroller programming
  • Anyone who enjoys developing with microcontrollers