The one of the hot and cool subject for all times for engineers and scientists.
Where you learn about the programmable controllers to develop systems. It involves understanding of hardware together with the fun of programming.
COURSE CONTENTS
- Scope and ubiquitous presence of Embedded Systems.
- Microprocessor and Microcontroller (AVR) Architecture.
- Internal Registers, Machine code, addressing modes and Instruction Set
- C and the Compiler, Debugging Software and Hardware, Threads, Tasks and Simple Scheduling, Branching, Interrupt handling, I/O and Communication Ports programming, Digital and Analog I/O Peripherals, A/D and D/A interfacing,
- Simulation design and debugging.
- Application using PWM.
LECTURES
PRACTICAL LAB
Lab 2 – Arduino Programming for DC Motors
ASSIGNMENTS
CODING
PRACTICAL 1 – TRAFFIC LIGHT
// C++ code
//
void setup()
{
pinMode(5, OUTPUT);
pinMode(6, OUTPUT);
pinMode(7, OUTPUT);
}
void loop()
{
digitalWrite(5, HIGH);
digitalWrite(6, LOW);
digitalWrite(7, LOW);
delay(1000); // Wait for 1000 millisecond(s)
digitalWrite(5, LOW);
digitalWrite(6, HIGH);
digitalWrite(7, LOW);
delay(1000); // Wait for 1000 millisecond(s)
digitalWrite(5, LOW);
digitalWrite(6, LOW);
digitalWrite(7, HIGH);
delay(1000); // Wait for 1000 millisecond(s)
}
PRACTICAL 2 – FADE IN FADE OUT
int led = 9; // the PWM pin the LED is attached to
int brightness = 0; // how bright the LED is
int fadeAmount = 5; // how many points to fade the LED by
// the setup routine runs once when you press reset:
void setup() {
// declare pin 9 to be an output:
pinMode(led, OUTPUT);
}
// the loop routine runs over and over again forever:
void loop() {
// set the brightness of pin 9:
analogWrite(led, brightness);
// change the brightness for next time through the loop:
brightness = brightness + fadeAmount;
// reverse the direction of the fading at the ends of the fade:
if (brightness <= 0 || brightness >= 255)
{ fadeAmount = -fadeAmount; }
// wait for 30 milliseconds to see the dimming effect
delay(30); }
Reference Books
i. AVR Microcontroller and Embedded Systems_ Pearson New International Edition_ Using Assembly and C (2015, Pearson Education Limited _ Pearson)
ii. Manuel Jiménez, Rogelio Palomera, Isidoro Couvertier (auth.) – Introduction to Embedded Systems_ Using Microcontrollers and the MSP430

Title Page
Introduction to Arduino
Lab 1 – Arduino Coding Fundamental