ESP32 MCU learning notes - 02 - Software IIC & hardware SPI
Preface, continue the content of the previous article. In order not to accumulate too much content, write it separately.
1, ESP32 read gyroscope (IIC)
Official routine: github:esp-idf/examples/peripherals/i2c/i2c_self_test/ iic is the official software used by iic before ...
Posted by reyjrar on Fri, 18 Feb 2022 18:11:02 +0100
1, First, create a product and a device on OneNet
1. Create MQTT products
Step 1: Step 2: Step 3: After clicking OK:
2. Add device to product
Step 1: Step 2: Step 3: after creation, you can view the ID and Key of the device.
3. Create data flow for device
Step 1: Step 2: Step 3:
2, Test MQTT using MQTT software provided by ...
Posted by craigh on Thu, 10 Feb 2022 15:23:22 +0100
1, The library we use
1. Brief introduction to Library
Library Download Link(github)
TFT_eSPI supports various commonly used driver chips, such as ST7735, ST7789, ILI9341, etc., with good compatibility
2. About library installation
The first way is to search for TFTs in Arduino's library manager_ ESPI, and then click Install ...
Posted by medaswho on Fri, 04 Feb 2022 07:08:54 +0100
First official account [learning embedded]
I happened to see the esp32 development board that has eaten ash for many years. First blow the dust on the board, then find a USB cable and connect it to the computer. The light is on. Well, it works.
This board was bought in 2018. I haven't played this board for more than three years. I don ...
Posted by Dutch MaFia-boy on Tue, 25 Jan 2022 20:58:10 +0100
TCP protocol stack
ESP uses lwIP as embedded TCP/IP protocol stack support
lwIP is a set of IP protocol stack implemented in C at MCU level, which can run on bare metal / RTOS / Embedded Linux. Lexin provides relevant porting packages for ESP32
For relevant contents, please refer to LwIP library functions, which are supported in LwIP and ESP ...
Posted by JCScoobyRS on Mon, 24 Jan 2022 16:38:13 +0100
1.1 Low Power Bluetooth (BLE) protocol stack
The link layer (LL) controls the RF state of the equipment, which has five equipment states: standby, broadcast, scanning, initialization and connection.
The broadcast is a broadcast packet, while the scan is to monitor the broadcast.
In GAP communication, the central device (Centr ...
Posted by AliasZero on Tue, 18 Jan 2022 03:29:33 +0100
0. Write in front
Posted by Wozzr on Mon, 03 Jan 2022 22:45:40 +0100