update microcontrollers

parent f8eca853
Pipeline #87518 passed with stage
in 14 seconds
......@@ -38,11 +38,14 @@
In order to start programming, it is necessary to first know very well the microcontrollers that we are going to use and those that we have used in the past weeks, so we must read the Attiny microcontroller datasheet.
The most used microcontrollers in the fabacademy are the attiny44 and the attiniy 45, another very used is the atmega328.<br>
<br><h3>Attiny44</h3>
After having read the microcontroller datasheet, which you can see<a href="http://ww1.microchip.com/downloads/en/DeviceDoc/doc8006.pdf"> here</a>,
I observe that I only have 12 pins to be able to program in addition to a consumption of 300uA working at 1Mhz on your internal clock.<br>
The smallest microcontroller used in the Fabacademy, after having read the microcontroller datasheet, which you can see<a href="http://ww1.microchip.com/downloads/en/DeviceDoc/doc8006.pdf"> here</a>,
I observe that I only have 12 pins to be able to program: 2 Analog Inputs and 5 digital, PB3 and PB4 works as analog input and digital I/O but only one, never both at the same time. The PB0 and PB1 can use a pulse width modulator (PWM) internal to the microcontroller.
In addition to a consumption of 300uA working at 1Mhz on your internal clock.<br>
<br><h3>Attiny45</h3>
Reading the datasheet of the microcontroller <a href="http://ww1.microchip.com/downloads/en/DeviceDoc/Atmel-2586-AVR-8-bit-Microcontroller-ATtiny25-ATtiny45-ATtiny85_Datasheet.pdf">here </a>,
it is observed unlike the previous model that we only have 6 programmable pins, but the consumption is similar that attiny44.<br>
It is a versatile microcontroller for simple applications given by the number of pins and its small memory: 4Kb of programmable memory.<br>
Reading the datasheet of the microcontroller <a href="http://ww1.microchip.com/downloads/en/DeviceDoc/Atmel-2586-AVR-8-bit-Microcontroller-ATtiny25-ATtiny45-ATtiny85_Datasheet.pdf">here </a>.
This microcontroller has 2 timers internally for use without having a crystal oscillator, but on the other hand it still has a limited memory for programming: 4kB. For these cases it is recommended to perform a programming with a low level language to save memory.
The consumption on the pins is similar that attiny44. It is observed unlike the previous model that we only have 6 programmable pins: 7 analog inputs (PA0 to PA7) and 11 digitals I/O, 4 of them use PWM (PA5, PA6, PA7 and PB2)<br>
<br>Below we can see an image with the pins of both microcontrollers.
<a title="Attiny pins"><img class="image center" src="images/week9/attinyarduino.jpg"></a>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment