Output devices
Unfortunately, for this week, I couldn't use my Week 8 board because it was missing pins. So, I decided to create a new board to try this week.
Team Practice
Here its the link of our team practice.
COMPONENTS LIST
Material | |
---|---|
Microcontroller | Attiny 44 |
Led | red color | Resistor | 1k - 2 pieces | Button | 1 piece |
This ones and a Arduino 1 are the components that I used thius week for my output device
KiCad PCB desing
Just like in Week 8, I used KiCad to design my schematic and PCB. I basically used the same components, but with the Attiny 44 microcontroller to learn with a different one.
![Image 3](../assignments/week09/KICAD1.png)
![Image 3](../assignments/week09/KICAD2.png)
PCB CUTTING
For etching and cutting my board, I used Rolan PCB as in previous times, along with the mods program to generate the RML format.
![Image 3](../assignments/week09/RO1.1.jpg)
![Image 3](../assignments/week09/RO1.2.jpg)
![Image 3](../assignments/week09/RO1.3.png)
![Image 3](../assignments/week09/RO1.4.png)
BOARD SOLDERING
For soldering, I follow my design and place the majority of my pins on ground, 5V voltage, and the remaining pins of my Attiny44.
![Image 3](../assignments/week09/SO1.jpg)
![Image 3](../assignments/week09/SO2.jpg)
PROGRAMMING
Programming was different from previous times because this time I used the Arduino UNO. I took into account the use of the Attiny 44 to understand everything about the outputs, as I used an OLED screen for my output.
STEP 1
Install the Attiny 44 library in my Arduino IDE.
![Image 3](../assignments/week09/PR1.png)
![Image 3](../assignments/week09/PR2.1.png)
![Image 3](../assignments/week09/PR1.2.png)
STEP 2
Then program the Arduino as an ISP, where an Arduino ISP example is loaded and connected to the computer to load it.
![Image 3](../assignments/week09/PR2.png)
![Image 3](../assignments/week09/PR2.1.png)
![Image 3](../assignments/week09/PR2.3.png)
STEP 3
Then configure the Attiny board, clock, and programmer to be used.
![Image 3](../assignments/week09/PR3.png)
![Image 3](../assignments/week09/PR3.2.png)
![Image 3](../assignments/week09/PR3.3.png)
![Image 3](../assignments/week09/PR3.4.png)
STEP 4
At this point, I connect the pins of my new board to the Arduino using jumpers.
![Image 3](../assignments/week09/PR4.png)
![Image 3](../assignments/week09/PR4.1.jpg)
STEP 5
Once everything is selected, I select the option to burn the bootloader to be able to use the Arduino as a programmer for the Attiny 44.
![Image 3](../assignments/week09/PR5.1.png)
![Image 3](../assignments/week09/PR5.2.png)
![Image 3](../assignments/week09/PR5.3.png)
STEP 6
Once this is ready, I connect my OLED screen to the 5V, GROUND, SDA, SCL inputs to the corresponding pins.
![Image 3](../assignments/week09/pr6.jpg)
STEP 7
I design my code to display text on my OLED, in this case, it was my name and the week of work.
STEP 8
I upload my design to Arduino, and it works.
![Image 3](../assignments/week09/PR8.jpg)
FINAL RESULT with another PCB
Similarly, create a new board following the same process as the previous ones, and connect the OLED to this board using the same previous process.
![Image 1](../assignments/week09/WO1.png)
![Image 2](../assignments/week09/WO2.png)
![Image 3](../assignments/week09/WO3.png)
![Image 4](../assignments/week09/WO4.jpg)
![Image 4](../assignments/week09/wo77.png)