Skip to main content

Recently Updated Pages

8. ADC Assembly Code Example

Embedded System (MBD) Modul 8: ADC (Analog to Digital Convers...

8.1 Full Code Here is an example of AVR Assembly code to read the ADC from the ADC0 pin using the...

Updated 22 hours ago by DS

7. ADC Conversion Flowchart

Embedded System (MBD) Modul 8: ADC (Analog to Digital Convers...

Here is the complete workflow for using the ADC on the ATmega328p: The flowchart above illustrat...

Updated 22 hours ago by DS

6. Specific Registers for ADC In ATmega328p

Embedded System (MBD) Modul 8: ADC (Analog to Digital Convers...

6.1 ADMUX — ADC Multiplexer Selection Register ADMUX is an 8-bit register that handles the basic ...

Updated 22 hours ago by DS

5. Important ADC Parameters In ATmega328p

Embedded System (MBD) Modul 8: ADC (Analog to Digital Convers...

5.1 Reference Voltage (Vref) Reference Voltage (Vref) is the maximum voltage that serves as the f...

Updated 22 hours ago by DS

4. ADC In ATmega328p

Embedded System (MBD) Modul 8: ADC (Analog to Digital Convers...

4.1 ATmega328p ADC Specifications The ATmega328p (used in the Arduino Uno) has a built-in ADC wit...

Updated 22 hours ago by DS

3. Why is ADC Needed in Embedded Systems?

Embedded System (MBD) Modul 8: ADC (Analog to Digital Convers...

The real world is analog — all physical phenomena (temperature, light, sound, pressure, humidity...

Updated 22 hours ago by DS

2. Analog to Digital Converter (ADC)

Embedded System (MBD) Modul 8: ADC (Analog to Digital Convers...

2.1 Understanding ADC ADC (Analog to Digital Converter) is a component or circuit that converts a...

Updated 22 hours ago by DS

1. Analog vs Digital Signal

Embedded System (MBD) Modul 8: ADC (Analog to Digital Convers...

1.1 Analog Signals Analog signals are signals that are continuous — meaning their values can chan...

Updated 22 hours ago by DS

1. PWM (Pulse Width Modulation)

Embedded System (MBD) Module 7 - PWM and EEPROM

PWM is a technique used to simulate analog output using a digital signal. Instead of producing a ...

Updated 1 week ago by MF

4. References

Embedded System (MBD) Module 7 - PWM and EEPROM

PWM Basics PWM Overview PWM Docs Servo Basics Wok Servo Wok EEPROM EEPROM Docs

Updated 1 week ago by MF

2. Servos

Embedded System (MBD) Module 7 - PWM and EEPROM

Servos are motors that adjusts to certain angles following certain PWM pulses. Servo Signal Oper...

Updated 1 week ago by MF

3. EEPROM

Embedded System (MBD) Module 7 - PWM and EEPROM

EEPROM is a small non-volatile memory inside the microcontroller. Unlike SRAM: SRAM loses data w...

Updated 1 week ago by MF

4. Internal/Timer Interrupts

Embedded System (MBD) Module 6 - Interrupt

Internal Interrupts Now Internal interrupts or Timer interrupts is somewhat more complex then ext...

Updated 1 month ago by CH

3. External Interrupt Registers

Embedded System (MBD) Module 6 - Interrupt

For detailed information about the registers, please refer to the Atmega32p datasheet. here Fro...

Updated 1 month ago by CH

2. Interrupt Handler

Embedded System (MBD) Module 6 - Interrupt

On the ATMega328P microcontroller, there are three essential requirements that must met to enable...

Updated 1 month ago by CH

1. Introduction to Interrupt

Embedded System (MBD) Module 6 - Interrupt

An interrupt is a mechanism used in microcontroller programming to pause the execution of the cur...

Updated 1 month ago by CH

2. Operating Modes

Embedded System (MBD) Module 5 - Timer

2.1. Normal Mode In Normal Mode, the timer acts as a simple up-counter. It starts from 0 and inc...

Updated 1 month ago by RE

6. Der Code

Embedded System (MBD) Module 5 - Timer

6.1. Code Example 1 (Timer0) This code toggles PD5 every 0.5s. The delay_timer0 subroutine uses ...

Updated 1 month ago by RE

5. Delay Using Timers

Embedded System (MBD) Module 5 - Timer

5.1. Delay Calculation in Normal Mode In Normal Mode, the timer always counts up to its maximum v...

Updated 1 month ago by RE

4. Timer1

Embedded System (MBD) Module 5 - Timer

4.1. TCNT1 (Timer/Counter Register) TCNT1 is functionally the same as TCNT0, serving as the core...

Updated 1 month ago by RE