9. Embedded programming¶
Group assignment¶
- Compare the performance and development workflows for other architectures
Individual assignment¶
-
Read the datasheet for your microcontroller
-
Use your programmer to program your board to do something.
During the Eletronic design’s week, I have designed an Echo Hello World board with ATtiny 45 as a microcontroller.
ATtiny 45 features¶
Features¶
-
High efficiency design
-
Low current consumption 300 uA in use & 0.1 uA in sleep mode om 1.8 V
-
Total six analog inputs
-
Built in 256b of SRAM
-
Circuitry contains 32 registers
-
Minimum cycles per instruction design or advance RISC
-
Programming lock feature for code security
-
Built in two 8 bit timers one is high speed and other is compare mode
-
Total six I/O pins
-
Universl serial interface features
-
Two purse width modulation channels
-
Watchdog programmable timer & oscillator
-
Operating voltage as low as 1.8 V DC to 5.5 V DC max
Pin Description¶
VCC (Positive voltage) : positive supply of a microcontroller
GND (Ground): Negative supply of a microcontroller
PBO (MOSI): PWM output,SPI modulation, timer, USI
PB3 (XTAL1): clock input from external source, Analog to digital input channel3 crystal input, PWM
PB4 (XTAL2):clock output, clock input from exteram source, Analog to digital input channel 2
The following screenshot shows my In Circuit programmer used to program the hello World Board
Arduino codes to program the PCB
LED turned on after programming the PCB
Used file