Designing custom board

For this week's project, I planned to create a custom board featuring a buzzer, a servo motor, two neopixel LEDs, and an OLED screen. I began by designing the schematic layout.

I started with KiCad, and here is the output of the schematic design.

img01.png

Then I continued with the PCB editor to draw the traces. Here is the output after routing the necessary tracks.

img02.png

Then I exported the Gerber file and milled the PCB. For detailed documentation, refer to the Electronics Production week.

Below is the pin configuration for the ATtiny1614 microcontroller, which I'll be utilizing throughout this week.

img10.jpg

This week, the output devices I'm employing are dependent on PWM (Pulse Width Modulation) signals for control. It's essential to grasp the concept of PWM signals for a comprehensive understanding of their functionality.

PWM Signals

img09.png

PWM (Pulse Width Modulation) signals are commonly used in microcontrollers to control the operation of various output devices such as motors, LEDs, etc. PWM works by rapidly switching a digital signal on and off at a fixed frequency, where the proportion of time the signal is on (duty cycle) compared to the total period determines the average power delivered to the load.

Here's a breakdown of how PWM signals work and their application in controlling output devices: