December 10, 2016 6:00 pm - 9:00 pm
Fab Lab Egypt
Villa 35 - 100 st. - behind Almaadi Hotel - Almaadi, Cairo, Egypt
0120 371 9036
Organized By
Fab Lab Egypt
In this session, we will take one further step into the world of embedded systems, especially micro-controllers. Starting from this session you’ll practically try everything. Using Arduino boards, you’ll learn how to use micro-controllers, inputs and outputs, and how to program your application.
Duration: 4 Sessions, 3 hours per session.
Content:
- How Arduino work?
Arduino sketch structure.
Variables and data types.
Looping Mechanisms.
Branching Statements.
Logic and math operations
Basic Digital Inputs and outputs.
Basic Analog Inputs and outputs.
- Mapping functions.
Debugging and troubleshooting.
Arduino reference.
Pulse Width Modulation.
Sensors Inputs. (Light – Temperature- Distance)
Visual Outputs (LEDs – LCD).
Output Multiplexing.
- Physical Output (DC Motors – Servos – Stepper)
Audio Outputs.
Interrupts.
Serial Interfacing with PC.
Blue-tooth Interfacing.
Sending and Receiving Data.
I2C, SPI communication.
- Project Arduino Games.
Project Radar
Summary
What’s next?
- Microprocessor
- Registers
- Instruction cycle
- Internal busses
- CPU architecture
- Von Neumann vs Harvard
- Software Build
- IDE and compiler.
- Installing Atmel and protues
- Atmega116 pinout
- datasheet
- Example: blink LED
- Logic and bitwise operations
- Example: digital input, output
- Interrupts
- Timers
- Timers CTC Mode
- Embedded System Programming
- Embedded system programming goals
- Why programming using embedded C
- Macros, header files, conditional compilation
- typedef
- Pointers
- Example: pointers
- Example: pointers with functions
- Call by value vs call by reference
- Memory segments
- Lifetime and Scope
- Local vs Global variables
- Static variables
- Volatile variables
- Modular Programming
- Example modular programming
- Make your own libraries
- Task: modular programming
- writing libraries
- what is your style ?
Days of the diploma: 10/12,13/12,17/12,20/12,24/12,27/12,21/1,24/1,28/1,26/1,30/1,31/1,4/2,7/2