This assignment we have to read the datasheet of the microcontroller we will use and program it to do something.
Here I used an Attiny45 microcontroller to blink an LED.
This assignment was difficult for me and I had to use the help of my colleagues to finish it.
First I read the datasheet of the Attiny45 to understand how to use this microcontroller.
I learned the basics on how to turn ON and OFF an LED using a microcontroller through its pins.
After having an idea on how microcontroller works, I designed the board I will be working on.
And I continued to design the board I will be using.
I generated PNG files to convert to RML for the monoFab machine.
I converted the above image into RML and milled the PCB of my design, I soldered all componets on the board.
At this point the next step was to program the board to do what I wanted.
To program the board I used the Arduino IDE. The below is the program I wrote for board to blind the LED.
int outpin = 4;
void setup(){
pinMode(outpin, OUTPUT);
}
void loop(){
digitalWrite(4, HIGH);
delay(1000);
digitalWrite(4, LOW);
delay(1000);
}
This is the video of the board blinking successfully.
All files used can be found Here