👑 Premium Sign in Sign up

🔧 Embedded Systems Labs

Microcontroller programming in real C (compiled in your browser), sensors, PWM, servos, displays, serial buses (UART, SPI, I2C, CAN) and RTOS scheduling.

19 experiments🧊 every one with its own live 3D bench

EM01 · Sem 5 · MicrocontrollersGPIO: blink an LEDConfigure a pin as output and toggle an LED with precise delays. EM02 · Sem 5 · MicrocontrollersLED chaser (knight rider)Drive eight LEDs in sequence with arrays and loops. EM03 · Sem 5 · MicrocontrollersPWM LED fadingUse pulse-width modulation to set LED brightness. EM04 · Sem 5 · MicrocontrollersButton input with debouncingToggle an LED with a push button and remove contact bounce. EM05 · Sem 5 · MicrocontrollersADC: potentiometer bar graphRead an analog voltage with the ADC and show it on an LED bar. EM06 · Sem 5 · Sensors & interfacingLM35 temperature sensor and UARTMeasure temperature with an LM35 and print it on the serial port and LCD. EM07 · Sem 6 · Embedded systemsServo sweepDrive a hobby servo through 0–180°. EM08 · Sem 6 · Embedded systemsServo controlled by a potentiometerMap an analog input to a servo angle (closed-loop by the user). EM09 · Sem 6 · Embedded systemsTraffic light state machineImplement a traffic light as a finite-state machine with a pedestrian button. EM10 · Sem 5 · MicrocontrollersSeven-segment counterCount 0–9 on a seven-segment display. EM11 · Sem 6 · Embedded systemsLCD stopwatch with millis()Show elapsed time on an LCD using millis(). EM12 · Sem 6 · Embedded systemsTemperature alarm with hysteresisSwitch a fan (LED) on above 35 °C and off below 32 °C. EM13 · Sem 6 · Communication interfacesUART frame on the wireSee the start, data, parity and stop bits of a UART transmission. EM14 · Sem 6 · Communication interfacesSPI transfer and clock modesCompare the four SPI modes on a logic analyser. EM15 · Sem 6 · Communication interfacesI2C transactionDecode an I2C write to an LCD backpack at address 0x27. EM16 · Sem 7 · Automotive electronicsCAN bus frame, bit stuffing and arbitrationBuild a CAN frame with CRC-15 and see arbitration between nodes. EM17 · Sem 7 · Real-time systemsRTOS: rate-monotonic schedulingSchedule periodic tasks by rate-monotonic priority and check deadlines. EM18 · Sem 7 · Real-time systemsRTOS: earliest deadline firstShow that EDF can schedule any task set with U ≤ 1. EM19 · Sem 7 · Real-time systemsPriority inversion and inheritanceReproduce the Mars Pathfinder bug and fix it with priority inheritance.