Embedded Programming

MCU board

I really like to use SEEED XIAO ESP32-C3 and ESP32S3.
Here is the official wiki for SEEED XIAO ESP32-C3: XIAO_ESP32-C3
Here is the official wiki for SEEED XIAO ESP32-S3: XIAO_ESP32-S3
ESP32-C3 is much cheaper than ESP32-S3. Here is a comparison:
Comparing XIAO

Development Software

I will use Arduino IDE.
Here is the official website of Arduino IDE: Arduino IDE

Starting with Arduino

To start with Arduino, there is another simple hardware could be used, Grove Beginner Kit.
Here is the official website of Grove Beginner Kit: Grove Beginner Kit
Grove Beginner Kit

ESP32-C3

There were different versions of ESP32-C3, I used SEEED XIAO ESP32-C3 in my project.
ESP32-C3
RISC-V single-core 32-bit chip processor with a four-stage pipeline that operates at up to 160 MHz.
On-chip Memory 400KB SRAM & 4MB Flash
1x UART, 1x IIC, 1x SPI, 11x GPIO(PWM), 4x ADC, 1x Reset button, 1x Boot button
Size: 21 x 17.8mm (It's really tiny, I like it)

RFID Modules

I planned to use RFID modules in my final project, and I found three of them.
RC522, PN532 and RC522 mini.
RFID Modules
As I always prefer the smaller one, I chose RC522 mini.
RC522 mini
I tried to connect it to the ESP32C3 and connected XIAO to my laptop.
RC522 mini connection
C3 to PC
I tried to use RC522 mini to read a RFID card.
RC522 mini read
I used an example code. What I need to do is to change the SS_PIN and RST_PIN to the ones I used.
The important thing we need to notice is we need to use the GPIO number for the SS_PIN and RST_PIN.
GPIO number

Useful links