Skip to content

STM32L0 and ESP32 MCU based PCB for PID and IOT applications designed using KiCad.

License

Notifications You must be signed in to change notification settings

mohamedyanis/STM32L0-ESP32-Breakout-Board

Repository files navigation

STM32L0-ESP32 Breakout Board

License Open Source Love

This is a small breakout Printed Circuit Board (PCB) that is based on the STM32 microcontroller as well as the ESP32 dev module. The PCB is designed using the free and open source software KiCad.

More Details

The PCB is based on the STM32L0 series, specifically the STM32L031G6U6 microcontroller which is a low power based MCU. The MCU is operated with a High Speed Internal (HSI) clock signal of a 16 MHz crystal oscillator (No external quartz is needed).

It's operating with an input voltage from 12V to 5V. The input voltage will be filtered and reduced to 3V3 in order to power the STM32 MCU as well as the ESP32 module.

The purpose of this PCB is to control the temperature with a PID controller. It has two connectors for that, one for reading temperature value with a thermostat, a thermocouple, or a temperature IC (LM36/LM35) that gives an analog signal, and the other connector is used to control the temperature using a Solid State Relay (SSR) controlled by a PWM signal.

The data read from the STM32 MCU is transmitted to the ESP32 dev module via 'USART' protocol in order to send the data to the cloud and the temperature could be controlled wirelessly anywhere with a smart phone or a web application.

STM32 MCU can be flashed using SWD programmer and the ESP32 dev module could be programmed using a USB-to-TTL converter.

Features 🎯

  • Four layers PCB
  • Low power
  • Small size
  • Very easy to use

Thank You!

Please ⭐ this repo to help us improve the quality.

PCB Block Diagram

PCB System Block
screenshot

3D Viewer

Front View Back View
screenshoot screenshoot
Side View 1 Side View 2
screenshoot screenshoot
Side View 3 Side View 4
screenshoot screenshoot

Requirements

If you want to review the PCB or yoou wanna edit the schematics/layout, you only need to install KiCad software to your machine.

Documentations

Open the Datasheets folder and you will find all the datasheets, applications notes, and design guidelines that help you understand the design better.

How To Use It

  1. Install this repository, click here to install it. Or use git command:
git clone https://github.com/mohamedyanis/STM32L0-ESP32-Breakout-Board.git
  1. Extract the folder and open it.
  2. Navigate for the Manufacturing folder.
  3. Go to your best PCB manufacturer website and click on quote.
  4. Upload the STM32L0-ESP32-Breakout-Board-Gerber.rar in order to order the board.
  5. In case you want to receive it assembled, upload the STM32L0_ESP32_Breakout_Board_BOM.csv and STM32L0_ESP32_Breakout_Board_Components_Positions.csv files.

License

The content of this project is licenced under the BSD 3-Clause "New" or "Revised" License.

Contributing 💡

If you want to contribute to this project and make it better with new ideas, your pull request is very welcomed.
If you find any issue just put it in the repository issue section, thanks!

.سبحَانَكَ اللَّهُمَّ وَبِحَمْدِكَ، أَشْهَدُ أَنْ لا إِلهَ إِلأَ انْتَ أَسْتَغْفِرُكَ وَأَتْوبُ إِلَيْكَ