Mechatronics Engineering
Microcontrollers, PLC and Industrial Automation
Microcontroller architecture, interfacing, embedded C, PLC, ladder logic, SCADA.
Your progress in this subject0 of 16 · 0%
- 1Microprocessor vs microcontroller; 8051 architectureMicroprocessor versus microcontroller, and the classic 8051: memory map, SFRs, ports, control pins, peripherals and machine-cycle timing with delay-loop calculations.
- 2ARM Cortex-M and AVR architecture overviewARM Cortex-M and AVR compared: registers, pipelines, memory maps, NVIC and SysTick, with execution-time, CPI and SysTick reload calculations.
- 3Embedded C programming: GPIO and bit manipulationGPIO registers (AVR and STM32) and C bit manipulation: set, clear, toggle, test, multi-bit fields, shifts, volatile and read-modify-write hazards, with worked register and interfacing calculations.
- 4Timers, counters and interruptsHardware timers and counters (prescaler, overflow, CTC, input capture, 8051 modes), interrupts and the watchdog, with preload, compare-value and frequency-measurement calculations.
- 5Serial communication: UART, SPI and I2CUART, SPI and I2C compared: framing, wiring, modes, addressing and electrical layers, with baud-register, baud-error, transfer-time and I2C pull-up calculations.
- 6ADC interfacing and sensor readingADC resolution, code conventions, ADC types, sampling and anti-aliasing, on-chip ADC timing and signal conditioning, with LM35 and 4–20 mA scaling examples.
- 7PWM generation and motor interfacingPWM principles and hardware generation, frequency choice, and DC motor, H-bridge, servo and stepper interfacing, with timer-register, average-voltage and motor-speed calculations.
- 8Interfacing displays, keypads and relaysSeven-segment and character-LCD interfacing, matrix keypad scanning and debounce, and relay drivers with flyback diodes and isolation, with relay-driver and multiplexing calculations.
- 9Real-time operating system basicsRTOS fundamentals: hard vs soft real time, tasks and states, pre-emptive priority scheduling, semaphores, mutexes and queues, priority inversion and deadlock, with utilisation, rate-monotonic and response-time calculations.
- 10PLC architecture, I/O modules and scan cyclePLC hardware architecture, digital, analog and special I/O modules, sinking vs sourcing, and the scan cycle with scan-time, response-time and pulse-detection calculations.
- 11Ladder logic: contacts, coils, timers and countersLadder logic: NO/NC and edge contacts, output and set/reset coils, Boolean equivalence, seal-in and interlock rungs, IEC TON/TOF/TP/retentive timers and CTU/CTD counters with timing-diagram examples.
- 12Sequential control and function block programmingSequential control as state machines, IEC 61131-3 SFC (steps, transitions, branches, action qualifiers) and FBD (functions, function blocks, SR/RS, edge detection), with cylinder-sequence and batch-tank cycle-time examples.
- 13PLC applications: conveyor, bottling and traffic controlPLC application design for conveyors, bottling lines and traffic signals: I/O lists, sequences, interlocks, tracking and fault handling, with ejector-timing, encoder, cycle-time and signal-cycle calculations.
- 14SCADA and HMISCADA architecture and the automation pyramid, RTUs, protocols, polling vs report-by-exception, historians, HMI and alarm design, SCADA vs DCS and cybersecurity, with polling-time, storage and alarm-deadband calculations.
- 15Industrial networks: Modbus, Profibus, EtherCATIndustrial networks: RS-485, Modbus RTU/TCP data model and frames, Profibus DP/PA, and EtherCAT processing on the fly and distributed clocks, with Modbus timing, efficiency and EtherCAT cycle-time estimates.
- 16Industrial IoT and Industry 4.0Industry 4.0 and IIoT: cyber-physical systems, device-edge-cloud architecture, OPC UA, MQTT, wireless and TSN, predictive maintenance, digital twins, OEE and security, with OEE, data-rate and battery-life calculations.