Embedded Programming

Group  Assignment

Compare the performance and development workflows for other architectures.

GET STARTED

Internal structure & pin IN/OUT & Analog vs digital

Pinout ATtiny24/44/84 interruptBlock Diagram

Pin Descriptions

  • VCC: supply voltage

  • GND: ground

  • Port B (PB3:PB0):

  • Port B is a 4-bit bi-directional I/O port with internal pull-up resistors (selected for each bit). The Port B output buffers have symmetrical drive characteristics with both high sink and source capability except PB3 which has the RESET capability. To use pin PB3 as an I/O pin, instead of RESET pin, program (‘0’) RSTDISBL fuse. As inputs, Port B pins that are externally pulled low will source current if the pull-up resistors are activated. The Port B pins are tri-stated when a reset condition becomes active, even if the clock is not running. Port B also serves the functions of various special features of the ATtiny24/44/84.

  • RESET:

  • Reset input. A low level on this pin for longer than the minimum pulse length will generate a reset, even if the clock is not running and provided the reset pin has not been disabled. The reset pin can also be used as a (weak) I/O pin.

    Port A (PA7:PA0):

    Port A is a 8-bit bi-directional I/O port with internal pull-up resistors (selected for each bit). The Port A output buffers have symmetrical drive characteristics with both high sink and source capability. As inputs, Port A pins that are externally pulled low will source current if the pull-up resistors are activated. The Port A pins are tri-stated when a reset condition becomes active, even if the clock is not running. Port A has alternate functions as analog inputs for the ADC, analog comparator, timer/counter, SPI and pin change interruptBlock Diagram



Attiny44 pins diagram

Laser seetings

-PINs in number  (5,6,7,8,9,10,11,12,13) are input/output.

-PINs in number (5,6,7,8) generate PWM


The following will help us to understand the pins more , by comparing it to something like the arduino :

Laser seetings

So , we can use pins (2,3,5) for pure digital, and use pins (6,7,8,9,10,11,12,13) for both analog and digital.


What is ram and rom

8-bit microcontroller combines 4KB ISP flash memory, 256-Byte EEPROM, 256B SRAM

 

Operating voltage and current

Attiny44 can be overrated in thies 2 ranged frequencies,and it will consume the following power:

  • 0 – 10 MHz @ 2.7 – 5.5V
  • 0 – 20 MHz @ 4.5 – 5.5V

 

Attiny44 can be overrated in thies 2 ranged frequencies,and it will consume the following power:

  • Active Mode (1 MHz System Clock): 300 µA @ 1.8V
  • Means,active mode: the current being used is 1/60x300uA = 5.1 uA/hour
  • Power-Down Mode: 0.1 µA @ 1.8V



Keep in touch

TalentS Lab is owned by National Talents Company