• Skip to main content
  • Skip to primary sidebar

RNTLab.com

The Ultimate Shortcut to Learn Electronics and Programming with Open Source Hardware and Software

  • Courses
  • Forum
    • Forum
    • Ask Question
  • Shop
  • Account
  • Blog
  • Login

Just switched from Arduino UNo to ESP32

Q&A Forum › Category: ESP32 › Just switched from Arduino UNo to ESP32
0 Vote Up Vote Down
灰李 asked 4 years ago

Just switched from Arduino UNO to ESP32, problems everywhere, take note. Like in the picture above I bought two boards. (Actually more than two, these are the only two I’ve played these days. There’s also an ESP32-CAM with a camera)
Problems encountered
Write programs
Connecting…. was found when uploading the program When you need to press the boot button to write a program, see the program to loosen it. (ESP32 DEVKITV1 requires this operation, Wemos D1 R32 does not need this operation.) If you encounter an upload error, you may need to unplug your 3.3V cable to write the application
2. Wemos D1 R32 is hard to find. I can’t find any pin diagrams. 
 
benefits
Use a 0.96 “OLED
You can directly use u8G2_FONt_wqy12_T_GB2312B to display Chinese. Use three libraries. Io21 ->SDA io22 -> SCL (note: Wemos D1 R32 SDA SCL is not debugable)
#include <Adafruit_GFX.h>
#include <Adafruit_SSD1306.h>
#include <U8g2_for_Adafruit_GFX.h>
The interface problem
Not all connections are available for the ESP32
Eight GPIO
IO12IO13IO14IO27IO33IO32IO4IO5
The I2C interface
I2C bus is a simple bidirectional two-wire synchronous serial bus developed by Philips Company.
IO22 SCLIO21 SDA
UART2(Universal Asynchronous Transceiver) interface
Note: rx0 and TX0 on the board are used to download programs. RX2 and TX2 on the board
IO16 RXIO17 TX
VSPI(SPI: Serial peripheral Interface)
IO5 CS0* IO18 SCLKIO23 MOSIIO19 MISO
HSPI(another SPI interface)
IO15 CS0* IO14 SCLKIO13 MOSIIO12 MISO
Analog pin
DAC digital to analog ADC analog to digital
IO25 DAC1 ADC (left channel)IO26 DAC2 ADC (right channel)I34 ADCI36 ADC

Question Tags: ESP32
1 Answers
0 Vote Up Vote Down
Sara Santos Staff answered 4 years ago

Hi.
You can find more information about that in our ESP32 pinout guide: https://randomnerdtutorials.com/esp32-pinout-reference-gpios/
Regards,
Sara

Primary Sidebar

Login to Ask or Answer Questions

This Forum is private and it’s only available for members enrolled in our Courses.

Login »

Latest Course Updates

  • [eBook Updated] Learn Raspberry Pi Pico/Pico W with MicroPython eBook – Version 1.2 May 26, 2025
  • [New Edition] Build ESP32-CAM Projects eBook – 2nd Edition April 16, 2025

You must be logged in to view this content.

Contact Support - Refunds - Privacy - Terms - MakerAdvisor.com - Member Login

Copyright © 2013-2025 · RandomNerdTutorials.com · All Rights Reserved

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.