Embedded Linux Device Interfacing


Details

Objective

Provide a better understanding on how various sensors and actuators are accessed and controlled from a Linux based embedded system.

Total Duration

13h

Status

Available

Schedule

Session Hands-on

Setup and Introduction to python

2h

Introduction to OOP

1h

Modules, File IO

0.5h

Embedded Linux Introduction

1h

Device Interfacing

1h

Introduction to Drivers

1.5h

Serial Interface

0.5h

I2C Interface

1h

Sysfs

0.5h

GPIOS

0.5h

PWM Interface

1h

ADC Interface

1h

Q&A

1h

Previous Events

July 1-2, 2017 (Chennai)

July 15, 2017 (Banglore)

Oct 11, 2017 (Hyderabad)

Detailed Syllabus

Introduction to python

  • Data Types

  • Variables & Dynamic Typing

  • Defining Functions

  • Control Statements

Introduction to OOP

  • Need for OOP

  • Defining Classes

  • The init method

  • self argument

  • Lists and Strings

Modules, File IO

  • Creating Modules

  • Using Modules

  • Importing Styles

  • File IO

Embedded Linux Introduction

  • Why Embedded Linux

  • Hardware Components

  • Development Setup

  • Accessing the Target

Device Interfacing

  • Memory Interfacing

  • Address Decoding

  • Memory Mapped IO

  • Controller Based IO

Introduction to Drivers

  • Linux Device Abstraction

  • Device Files

  • Types of Drivers

  • Mouse Device Access

  • Audio Device File

  • Sound Mixer Device

  • CD ROM Device

Serial Interface

  • UART

  • RS-232

  • Python Serial Port Access

I2C Interface

  • On-board Interconnects

  • I2C Protocol

  • 2C Device Access

SysFS Introduction

  • Purpose of SysFS

  • /sys/class hierarchy

GPIO

  • Introduction

  • Sysfs Interface

  • HID Devices

  • LEDs and Keys

PWM

  • PWM Signals

  • Sysfs Interface

  • DC Motors

  • Speed Control

Analog IO

  • Analog Inputs

  • Sysfs Interface

  • Light Sensor

  • Potentiometer