Skip to content

13. Networking and communications

For this week assignment I decided to use WEMOS S2 Mini which is a compact WiFi development board based on the ESP32-S2FN4R2 chip.

For our Group assignment, we experimented with the I2C communication interface between our boards. The components we used included ATtiny1614 boards, a UPDI programmer with RP2040, a joystick, and two LEDs

Individual Assignment

WEMOS S2 Mini

At first I tried to try it, so I will be sure it’s working and I able to upload a code in it. It was a bit problematic at first, I couldn’t understand what’s the problem of not uploading even the simplest code, but after I fixed it somehow.

All the process of connecting this board to Arduino IDE software I asked CoPilot. button After installing the ESP32 by Espressif Systems board package I tried to upload the code that CoPilot wrote, but it was not uploading.

So I just tried to use the blinking code. The LED pin number I found here. button

Here you can see that it works,

PCB Board Design

and after I started designing my PCB in KiCad. At first I draw a sketch, to clearly know what I will need in my PCB.

button

And searched for S2Mini board footprint with ESP32 microcontroller, the only footprint was this ESP32 footprint.

button

As I didn’t find it, I tried to measure the distance between pins and put SMD connectors instead of board’s footprint.

button

And started designing my board with this connectors.

button

The result was not bad, and I had some space. I decided to put an image on my board and for that I downloaded a PNG icon and made it a vector file (SVG) and from Files >> Import >> SVG I put this icon on my board.

button

Then I had an idea to put LEDs on this girl icon’s eyes. BuT I understood that there is not so much space to add resistors for LEDs too. And as I chose RGB LED, there had to be 4 resistors.

button

So I decided to adjust this icon, and make a separate board in which there will be my girl icon with LED lights on eyes. And for this week’s assignment I also added display pins on it.

My board is 2 sided, so that the Top side will be only shapes of girl and LEDs, and the bottom side there will be resistors and connectors.

button

Testing components

At first I tried to make my RGB PLCC4 Led work. I soldered connectors.

button

And tried it with Arduino board.

button

button

So I understood what type of pins I will need.

PLCC4 LEDs are working with 3 pins and 1 GND.

And after I also tried the display which I will use on my board.

button

For making 2-side board I needed to mirror some components in the other side by clicking F on keyboard. It will move mirrored components to B.Cu .

button

So this is my base board.

button

But besides that I located my icon on board. Changing it in such way, that I will be able to change shape of an icon.

button

button

As you can see in final result, I made my 2 sided board from 2 pieces, it was more convenient for me.

button

Board cutting and soldering

After I cut my first board.

button

Here is my final result.

button

button

button

And after finishing my first board soldering I handle to my 2nd board to be cut and soldered.

button

button

button

This circle I cut so that after rotating to the other side, I could easily find the right orientation.

button

For rotating it was also needed something rounded, so that I could fix the location of PCB.

button

One of the hardest parts was soldering connectors which had to be similar to my S2Mini modules footprints.

button

button

So after this hard part, there were another challenging thing, and it was soldering of RGBs for girls eyes.

button

This is the very first result of putting together 2 boards.

button

The most challenging part of this boards production was soldering this to RGB LEDs. For later I will be more attentive to designing components in the way, so that it will be convenient for soldering after.

Final PCB Board View

button

Conclusion

Files