ESP32 With USB Type-C Port.
by technolabcreationindia in Circuits > Arduino
13 Views, 0 Favorites, 0 Comments
ESP32 With USB Type-C Port.
We all love ESP32 microcontroller, In any of IOT project we often use ESP32 module.
ESP32 is one of the power-full and pretty famous microcontroller in the field of IOT.
ESP32 comes with lot of amazing and useful features, like Wi-Fi and Bluetooth connectivity which enables wide-range of applications. Even I have made lot of projects using this ESP32 module.
This ESP32 development module was launch in year 2016. Since then lots of things changes in technology but we are still using the same board.
For example the micro USB Port is replaced by the Type- C Port, Almost in every electronic devices.
ESP32 With USB Type-C Port.
And there are many countries and regions where they are moving to make USB Type-C as the compulsory common port for all the electronics devices.
So I decided to design my version of esp32 module, with USB Type-C port.
Type-C ports has lots of benefits it is very convenient to use , and has greater speed than micro USB connectors,
This makes Type-C Port a popular choice for modern devices.
And Now-days almost everyone has USB Type-C cable, So USB cable is also no more worry.
So this brand new esp32 has USB Type-C Port and also this ESP32 board looks very beautiful.
I am selling this ESP32 board if you want you can purchase from my website.
PCB Design.
This is the Schematic of PCBs, After making the Schematic, Convert it into PCB, Arrange and place all the components in desirable places, Once the layout is ready route the wiring and complete the design of PCB.
After the completion of PCB design, You need to download three files which will required during PCB order. These files are BOM, Gerber and CPL that is pick and place file.
Ordering the PCBs at JLCPCB.
This project is sponsored by JLCPCB. JLCPCB is a full feature Printed Circuit Board manufacturing service.
Turn your DIY breadboard circuits into professional PCBs– get 10 boards for approximately $5 + shipping (which will vary depending on your country).
Once you have your Gerber files, you can order the PCB. Follow the next steps.
1. Download the Gerber files –click here to download the.zip file.
2. Go to JLCPCB website and Click on Quote Now button under PCB assembly.
3.Upload the Gerber file you downloaded in the last step. Upload the.zip file or you can also drag and drop the Gerber files.
After uploading the zip file, you’ll see a success message at the bottom if the file is successfully uploaded. You can review the PCB in the Gerber viewer to make sure everything is good.
PCB Quantity & Color Masking.
JLCPCB can grab all the PCB details and automatically fills them for you.
Select the PCB quantity and color masking of PCB by your self. I am selecting white color.
PCB Assembly.
Scroll down below and select for PCB assembly.
Here you have to select on which Side you want to PCB assembly top side or bottom side or on both side. In my case I want only on top sides. After that click on confirm button.
BOM & CPL
For PCB assembly we need two more files, One is BOM that is bill of material and the second one is CPL that is pick and place file, Upload these two files one by one.
All the components were shown here that are to be assembled. In case if you want to not assemble any particular component then you can de-select that components. After checking all the components click on next button.
Now click on save to cart to complete your order.
Delivery.
Within a week, PCBs arrived at my place. As usual the quality of PCB is very premium.
And the Components are soldered very well. Traces are perfect, silkscreen is fine , black color PCB masking looks very beautiful and PCBs look pretty professional. PCB assembly service of JLCPCB is fabulous.....without JLCPCB this ESP32 board is not possible to make.
So, do tryout PCB assembly Service of JLCPCB for your next projects.
Testing of ESP32 Board by Uploading Some Example Code.
Now I am going to test this ESP32 board by uploading some example codes.
To connect this ESP32 board with your computer use any of the USB Type-C cable except that the one which is only used for charging.
Here I am using my smart phone USB data cable. You can use any of your smartphone USB Type-C cable
Blink Sketch.
First of all I am going to upload a simple blink sketch. Here built-in Led which is connected to GPIO pin 2 will blink in interval of one second.
Now select the right board and the right com port.
And the board is ESP32 dev module, Now click on upload button and see if the code will upload or not.
Here as you can see code is successfully uploaded in the ESP32 board.
Which means this ESP32 board is working fine.
And the onboard led is blinking in every one second., which is connected to the GPIO 2.
Peripherals Testing.
Blink is the first and most common Arduino sketch , I have uploaded to this ESP32 module.
Now I am going to try some other code in which peripherals are used, I am going to connect this 16x2 lcd display using I2C module to this ESP32 Board.
Now go-to files > examples > Arduino-LiquidCrystal I2C Library, then open hello world example code.
Upload this simple code for Printing 'Hello world' on the LCD Display.
As you can see 'Hello world' is printed on the lcd screen, which means peripherals are also working fine.
Test of Integrated WIFI and Bluetooth Features.
Now I am going to test integrated WIFI and Bluetooth features of this ESP32 board. For this first I am going to use most popular IOT Platform that is ESP-Rainmaker.
And in this article, I am not going to show you how to configure ESP-Rainmaker app.
I have already post lots of articles., you can checkout to those articles. This is simple code for controlling two LED's from the ESP-Rainmaker app.
Now lets quickly upload this code into ESP32 board.
As you can see I am able to control the LED's from the ESP-Rainmaker- app. this means WIFI also working fine.
Let Test the Inbuilt Bluetooth Feature.
For this I am going to upload a simple sketch in which I will control these two LED's through Bluetooth using an android APP.
Upload the above code into ESP32.
As you can see I am able to control these LED's via Bluetooth. This ESP32 With USB Type-C port is working fine.
ESP32 With USB Type-C Port Is Available for Sell.
This ESP32 module with USB Type-C Port is available for sell, You can easily purchase this module from our website. And apart from this module...we have lot other interesting and useful module in store.
Do checkout them., You will get the 30% extra discount, If you will use coupon Code WELCOME30.
Thank you so much for reading.
Video Tutorial.