Embedded Programming
In this week's assignment we had:
Group assignment:
-Compare the performance and development workflows
for other architectures
Individual assignment:
-Read a microcontroller data sheet
-Program your board to do something,
with as many different programming languages
and programming environments as possible
For the group assignment
Introduction:
I read the data sheet and here are the main features of it:
- For ATtiny212/412.
-Volt and ampere.
-Block diagram
-Ports:Analog,Digital,WDT,serial com. USART.
-Timer.
-Memory.
-Clock:Oscillator Lock.OSCLOCK.
-How to program: after giving examples, how to use fuse.
-Peripherals and architectures.
So I decided to use Arduino IDE, PIC microcontroller and the microcontroller done in the last assignment ,also to explore Python and use it in a demo.
I will start with Arduino as it is the easiest to program.I should use
it to program a blinking led,servo motor,7 segment led and LCD.But first let me
introduce the Arduino board I'm using and how it operates.
Arduino UNO main features:
-Ports:Analog,Digital,Timer.
-Volt,ampere.
-used microcontroller.
-Serial communication.
-For the software download and installation and used language to programe it.
-Risc or Cisc /VonNeuman vs Harvard Architecture and the difference between them explanation.
Programing and explanation for each feature:
1) programind blinking led.
2) programing changing color led.
3)programming Servo
4)programming 7 segment led
5)programing LCD
For PIC microcontroller:
-Main Features.
-Language used
-used software
Programing:
1)Blinking Led
2)7 segment led counting to 9
Overview on Python:
1) Blinking led.