Schematic Design For esp32

  • Hello guys
    I want to create a schematic design for a esp32 module with MPU6050 chip as well as a battery connector and a battery charger, it is similar to link text but i want to use the esp32 module not the chip.. i have already achieve this using the esp32 dev board and MPU6050 board and a battery charger as per the picture below(couldn't attach a zip file) but the issue is the battery consumption is very high and the size is very big also...
    This will be my first time trying to make my own device(Schematic) i am good using the boards and connecting them but not joining ICs on a PCB.. please any help on how to achieve this will be welcomed..

  • Hi @ZeeZa ,

    You need to build a custom board with the ESP32 SoC and the MPU6050 IMU, right?

    first, you need to select appropriate ESP32 SoC from the wide variety of model, after that using the datasheet find out the minimum configuration circuit for the SoC and add the MPU6050 module. that's all you need. the most tricky part is the minimum configuration circuit.

  • @ZeeZa I'm working on a similar type of project. As @salmanfaris has mentioned the minimum config of ESP32 is important. But, If you are trying to use the SoC versions like ESP32 WROVER then you can directly interface it with MPU6050 IC. If you're trying to use bare IC instead of the breakout board of the MPU6050 then I suggest you see this link which will give you the configuration to be made for the MPU6050 IC to interface with your MCU.

    I suggest you to even look at the datasheet of the ESP32 because they have mentioned how you must place the SoC module on PCB. You cannot place the module in the middle of the board as it causes bad reach to the antenna. The SoC must be placed at the edges of the PCB with antenna side protruding outside. There are many other design rules mentioned in the datasheet. So, Please refer it before you start your work. All the best, happy making..!!👍

  • Thanks for the replies.. so far i have been able to achieve this link text but i am having so doubts when following the datasheet of link text page 15 here is the image Esp32-Schematic.JPG , I do not understand what the JP3(Jtage) is for, can someone please explain, also i have this other link link text he did the same thing am doing but way more than mine. so i am following some of his schematics. also i have a lot of unfinished net in my schematic please how do i deal with them... Thanks

  • @ZeeZa JP3 in the schematic means Jumper slots for JTAG connections. jtag is nothing but an IEEE standard used for programming and debugging the microcontrollers. It is more sophisticated than other protocols so far. So, In order to program your MCU with the code that you write on your IDE, we need these pins for burning the code. You can even burn the code in prior and populate the SoC onto your PCB. But, it's more recommended to make these JTAG connections so that you can program it whenever you wanted.

  • @kowshik1729 said in Schematic Design For esp32:

    JTAG connections

    i am trying to make the pcb as slim as possible here and adding the jumper will make it a little bigger width wise, i thought the the UART(JP1) is for uploading the code to the esp module as it is connected to TXDO and RXDO or is it only serving as a power connect in this schematic?

  • @ZeeZa The JP1 UART jumper doesn't serve as the power connect. It is meant for extending the UART pins so that you can access them. JTAG is responsible for uploading the code and I understand that you are not ready to compromise over the size of PCB. So, I suggest you use CP2102 USB to UART converter where you can just connect your mini USB cable and upload the code. This is even easier, but if you see the ESP32 development module, it is just the same board where ESP32 SoC is fit which can be accessed with a USB to UART converter.

    You can use these JST Jumper slots

    for extending the JTAG pins. These are a little small and can reduce the width of the PCB. Please let us know in case of queries. You ca easily find the footprints of these connectors in your PCB designing softwares.

  • am sorry if i am asking some basic question i still cant get my head wrap around the JTAG pins, let say i have the JTAG in my pcb how will i use the pin to program the device from my Laptop(IDE) or is the Jtag used the same way we use the ESP-01 which we connect to Arduino UNO rx and tx pin before we can upload the code on it?

  • @ZeeZa JTAG Programmer for ESP32

    You can programme your board using the JTAG pins on your PCB by connecting them to the JTAG pins of the programmer board.

  • @ZeeZa Have you figured out a way how to programme your ESP32 using UART pins?? If not Well, I did found out a way. please this link ESP32 UART UPLOAD

    alt text

    May be this might help you out..!! Please try out and let me know your output.

Log in to reply

Recent Posts

  • Very much informative!!!!

    read more
  • If you are using raspberry pi as one of your main computers and have separate monitor, keyboard and mouse, then you might be tired of copy and pasting terminal commands and codes while doing projects with raspberry pi, because running chromium-browser and reading tutorial will pi slower and using a sperate keyboard and mouse use our workbench space too.

    recently I read a blog Share your keyboard and mouse between computers with Barrier by Gordon Hollingworth which is cool.

    In that blog, he mentioned a software called barrier, it's a software that will allow you to use a single keyboard and mouse to control multiple computers by physically turning a dial on the box to switch the machine you're controlling at any given moment. The barrier does this in software, allowing you to tell it which machine to control by moving your mouse to the edge of the screen, or by using a keypress to switch focus to a different system.

    Follow these to share your computer keyboard and mouse with the raspberry pi

    First, we need setup raspberry pi

    Step 1: Download and Install Raspberry Pi OS on SD Card

    Step 2: Connect raspberry pi to the wi-fi network

    Step 3: Install barrier, for that open your terminal (Ctrl + T) and paste or enter the following

    sudo apt install barrier

    Then click enter.

    Step 4: Setup barrier, Open barrier by typing barrier on the terminal, if you successfully installed the barrier you can see like this.


    Select option Client (Use another computer's mouse and keyboard) and Select Auto config option too, also note the Screen name, which we need for the server.

    That's all next we need to set up the desktop/laptop computer.

    Step 5: Download and Install barrier on desktop or laptop computer (The Server), download link

    Step 6: Set up the barrier by selecting Server and position your monitor on barrier software. 004.png

    To Position, the screen clicks the configure server.


    Here, to drag and drop the monitor icon to the desired position you need on the grid.


    double click the screen and set the screen name, you can obtain the screen name from the raspberry pi barrier client. (See Step 4)


    after setup, it should be like this. Then click OK


    in the following screen, click Apply and Just wait few seconds then try to move the mouse to the corner. Yes, It should work.

    read more
  • @rafitc99 Looks cool, Thanks for sharing. 👍

    read more
  • This is a speaker call for MakerChat by MakerGram. MakerChat is a webinar series where makers from different domain sharing their expertise with other fellow makers. MakerGram is an Open Community Platform for Makers and hardware enthusiasts to empower them by promoting learning, sharing and collaboration.




    read more
  • The Challenge

    Do you think you can come up with some interesting ideas revolving around Amazon Alexa? What if we could help you build that idea into a reality. Tell us about your idea and the best one wins an Amazon Alexa Echo Dot.

    🧲 Bonus points for those solutions involving Covid-19 or promoting social-distancing.


    Application - The application starts on 26th June 2020. Closing - The registration will end on 17th July 2020. Results - The results declared by last week of July

    For Registration:


    read more