1TE663/723 HT2021 - Lab 4 part 1

  Рет қаралды 220

Uwe Zimmermann

Uwe Zimmermann

2 жыл бұрын

Updating a 4-digit 7-segment display within a timer interrupt routine on the ATmega328.
01:20 the pins on the chip we will be using
02:20 warning signs for wrong connections
04:00 preparation of the connections, counting wires
06:15 the power supply rails on the breadboard
07:00 starting connecting the wires
09:00 connecting the power supply pins
11:00 connecting the programmer
12:00 testing the connection between programmer and microcontroller
14:00 connecting the wires to port D
16:30 connecting the wires to the segments of the LED display
20:40 connecting the wires between port B and the digit pins
23:00 the code
27:00 the font structure in the code
31:00 the main()-function
32:00 the init()-function
32:45 looking at the control registers of TIMER0
37:00 setting the necessary bits
45:00 the clock prescalers of TIMER0
49:00 handling the interrupt in the ISR()
52:00 compiling the code and uploading
The code template can be found here: pastebin.com/bBnz8w3y

Пікірлер: 1
1TE663/723 HT2021 - Lab 4 part 1b
20:14
Uwe Zimmermann
Рет қаралды 100
6 Horribly Common PCB Design Mistakes
10:40
Predictable Designs
Рет қаралды 182 М.
Iron Chin ✅ Isaih made this look too easy
00:13
Power Slap
Рет қаралды 35 МЛН
How Many Balloons Does It Take To Fly?
00:18
MrBeast
Рет қаралды 185 МЛН
ATmega328 and PlatformIO - no Arduino!
16:21
Uwe Zimmermann
Рет қаралды 11 М.
A New Hint of Life on Mars
16:49
John Michael Godier
Рет қаралды 46 М.
Unit circle - Sin; Cos; Tg
0:55
manheim991
Рет қаралды 128
"Brian Cox Warn: Betelgeuse Supernova Explosion Imminent!"
13:29
Interstellar Insights
Рет қаралды 3,2 М.
Two LEDs on a single GPIO pin!
15:06
Uwe Zimmermann
Рет қаралды 575
Easy DIY Arduino Dice Roller Project
2:28
J-Knows
Рет қаралды 24
A SHARP LIFE SNEAK PEEK
4:12
Terzuola Design
Рет қаралды 763
Unit Circle Walkthrough
1:44
STEM Sims
Рет қаралды 8 М.
iPhone, Galaxy или Pixel? 😎
0:16
serg1us
Рет қаралды 1,3 МЛН
Как удвоить напряжение? #электроника #умножитель
1:00
Hi Dev! – Электроника
Рет қаралды 1 МЛН
Новые iPhone 16 и 16 Pro Max
0:42
Romancev768
Рет қаралды 1,8 МЛН
تجربة أغرب توصيلة شحن ضد القطع تماما
0:56
صدام العزي
Рет қаралды 62 МЛН