Tenth assignment

20 February 2019

Week's assingment

This week's assignment consists on redrawing the echo hello-world board, add a button and LED check the design rules, make it, and test it.


Echo Hello world board


Components

I am absolutely a newbie in this field and until actually making my own board it all looked like an undecipherable code for me.

First step should be to know what are we making, what will it do, and what will we need to fabricate it and make it work.

First thing I did was making a list with the electronics I needed, following the image above, and asked the person in charge of the components to lend me those.

list

  • Attiny 45 microcontroller

  • 10k Resistor (2)

  • 1uF Capacitor

  • ISP pin header (2x3)

  • FTDI pin header

  • LED smd

  • 499 ohm resistor

  • LDR

The basic function of the resistor is to reduce current flow, adjust signals levels and divide voltages. To calculate it's value you can apply the Ohm's law. R=V/I, V being the voltage drop across the LED and I being the current. You can use an online calculator if needed. I applied 5V (for the attiny), 60mA and a 3.3 drop voltage. I got 28.333 Ohm, this is the minimum resistor's value I need for the green smd LED that I am using. For this assignment it is suggested to use a 499Ohm resistor (which I am going to be using), this is a higher value and the only thing that will happen here is that the brightness will dim down.

It turned out there were no Attiny 44 available, I had to steal one from a last year's student board.



If you need to do this sometime, hold the Attiny44 with some tweezers and heat the board with hot air. It doesn't work immediately, just be patient.



I got almost all the components, unfortunately I got confused between the resonator and the crystal and I ended up with a quartz crystal smd (I actually realized about this later in my process, you will see if you keep reading).

Also there were not buttons left, instead I got a slide switch and later I got a two pin push button.