Table of Contents

Lab06-1: MEXLE Introductory Session

Challenge description

MEXLE is a portable “lab-in-a-box” system designed to enable the independent assembly and analysis of complex electrical circuits, such as filter circuits or op-amp circuits. The system is specifically intended for students in the early semesters of their studies and aims to support independent learning and experimentation, regardless of time and location. As part of the MEXLE project, the use of the platform will be investigated and evaluated based on students' experiences.

Today's laboratory session is intended to provide hands-on experience with the MEXLE board and the associated app.

2026/11/07 17:33 · dhennig

Getting Started with the MEXLE-Board

Background Information

MEXLE is a Multimodal Experimental and Learning platform, designed to support self-directed and hands-on learning in electrical engineering.
The MEXLE-board is designed as a “lab-in-a-box” system that comes with a corresponding app. Electrical  circuits   can be built and tested on the board, while the app provides the experimental tasks together with the required background information.
At the moment, the system requires an external signal generator and an external oscilloscope. In a future version, the board itself will generate the required signals, with all signal settings controlled via the app. The oscilloscope function will also be integrated into the app, making an external oscilloscope no longer necessary.



MEXLE-board - Overview


mexlefirst_public:mexle_board_overview_2.svg



MEXLE electronic components
The following components shall be placed on the MEXLE-Board in order to build the circuits required for the experiments.

mexlefirst_public:mexle_components_2.svg




Handling of the MEXLE components
The OpAmp modules and ground modules are equipped with jumpers. Their functions are explained in the following figures.

OpAmp modules
mexlefirst_public:mexle_components_handling_1.svg
The jumper on the right determines whether the output voltage is connected to the upper pin, the lower pin or both pins (two jumpers needed). In the figure shown, the output voltage is connected to the upper pin.
The jumper position on the bottom determines whether the OpAmp is supplied with +3 V / -3 V (letft) or +3V / 0 V (right). In the figure shown, the OpAmp is supplied with +3 V / -3V.
The OpAmp-modules are automatically supplied with power by the MEXLE board, once the power supply module is connected.

Ground modules
mexlefirst_public:mexle_components_handling_3.svg
RC network
RC circuits are commonly used to implement timers and delay circuits. In such applications, a capacitor is charged and discharged through a resistor. Since the capacitor voltage does not change instantaneously but rises and falls over time, the component values can be used to determine how long it takes to reach a specific voltage level.This principle is used, for example, in power-on delay circuits and timer-based flashing circuits. In the following experiment, the charging and discharging behavior of a capacitor will be investigated.

Capacitors must be charged via an electrical source.

mexlefirst_public:fig-8_v2-capacitor-charging_lab_6-1.svg

A capacitor charges the faster the smaller the series resistor $R$ is. During charging, the voltage $u_{\rm C}$ results from a differential equation as:
$$ u_{\rm C}({\rm t})=U\cdot ({\rm 1}-e^{-\frac{t}{\tau}}), {\rm with~~} \tau = R\cdot C $$
The constant $\tau$ is called the time constant. After this time, the capacitor is charged to approx. ${\rm 63}~{\rm\%}$. The fundamental equation for the relation between current and voltage at a capacitor is:
$$ i_{\rm C}({\rm t})=C\cdot \frac{{\rm d}u_{\rm C}}{{\rm dt}} $$
From the two equations, the current through the capacitor is: $$ i_{\rm C}({\rm t})=\frac{U}{R}\cdot e^{-\frac{t}{\tau}} $$
The graphical representation of voltage and current during the charging of a capacitor over time is shown in figure 1.

Fig. 1: This is my little caption mexlefirst_public:fig-9_v2-capacitor-voltage-current.svg

Because of the exponential function, charging is theoretically only complete after an infinitely long time. The capacitor voltage equals ${\rm 63}~{\rm\%~} U$ after ${\rm 1}\cdot \tau$, ${\rm 86}~{\rm\%~} U$ after ${\rm 2}\cdot \tau$, ${\rm 95}~{\rm\%~} U$ after ${\rm 3}\cdot \tau$, ${\rm 98}~{\rm\%~} U$ after ${\rm 4}\cdot \tau$, and ${\rm 99}~{\rm\%~} U$ after ${\rm 5}\cdot \tau$. It is assumed that the capacitor is fully charged after a time span $T = {\rm 5}\cdot \tau$ and the voltage across the capacitor has reached $U$.

If the charged capacitor $C$ is discharged through a resistor $R$, the solution of the differential equation for the voltage is:

$$ u_{\rm C}({\rm t})=U\cdot e^{-\frac{t}{\tau}} $$
For the current accordingly:

$$ i_{\rm C}({\rm t})=- \frac{U}{R}\cdot e^{-\frac{t}{\tau}} $$

Experimental Tasks

To plot the charging and discharging curves of a capacitor, the following circuit is used:
mexlefirst_public:setup_r_c_charging.svg

  1. task-type-image To plot the charging and discharging curves of a capacitor, the circuit shown under “SETUP” is used. Please build the RC-circuit on the MEXLE-Board. To generate the input voltage $u_\mathrm{F}(t)$, set the signal generator to provide a unipolar square wave switching between 0 V and 3 V, with a frequency of 1000 Hz and a duty cycle of 50 %. Connect Channel 1 of the oscilloscope to the input voltage $u_\mathrm{F}(t)$ and Channel 2 to the capacitor voltage $u_\mathrm{C}(t)$. Move the CH1 and CH2 reference markers to the oscilloscope reference line and upload a photo of the oscilloscope screen.
  2. task-type-result Calculate the time constant $\tau$ of the circuit.
  3. task-type-image Determine the time constant τ experimentally by measuring how long it takes for the capacitor voltage to rise from 0 to 63% of the maximum voltage during charging.
  4. task-type-freetext Compare your results with the time constant calculated theoretically.
    Please leave the circuit assembled after completing the tasks, as it will be used again in the next experiment.
2026/11/09 16:38 · dhennig

RC-Circuit as Lowpass Filter

Background Information


RC circuits can be used as low-pass filters. A low-pass filter allows low-frequency signals to pass while attenuating high-frequency signals. One practical application is audio systems, where low-frequency bass signals are directed to a woofer, while higher frequencies are suppressed. The frequency-dependent behavior of the filter is determined by the resistor and capacitor values. In the following experiment, the behavior of an RC circuit as a low-pass filter will be investigated.
mexlefirst_public:fig-6_v4-rc_lowpass_lab_6-1.svg
The circuit shown can be interpreted as a frequency-dependent voltage divider. With increasing frequency, the capacitive reactance of capacitor $C_{\rm 1}$ decreases, which leads to a reduction in the amplitude of the output voltage $u_{\rm 2}$. The ratio of the output voltage to the input voltage as a function of frequency is called the transfer function: $$F(j\omega) = \frac {U_{\rm 2}}{U_{\rm 1}}$$

Applying the voltage divider rule yields the following expression for the transfer function:
$$F(j\omega) = \frac {U_{\rm 2}}{U_{\rm 1}} = \frac{\frac{1}{j\omega C_{\rm 1}}}{R_{\rm 1}+\frac{1}{j\omega C_{\rm 1}}} = \frac{1}{1+j\omega C_{\rm 1}R_{\rm 1}}$$
The transfer function depends on the angular frequency ($\omega = 2\pi \cdot f$) and can be expressed in terms of magnitude and phase.
The magnitude $|\frac{U_{\rm 2}}{U_{\rm 1}}| = \frac{1}{\sqrt {1+(\omega R_{\rm 1}C_{\rm 1})^2}}$ is referred to as the amplitude response.
The phase angle $\varphi$ between the input voltage $u_{\rm 1}$ and the output voltage $u_{\rm 2}$ is called the phase response. The following relation applies:

$\varphi_{\rm U_{\rm 2}}=−\arctan\omega R_{\rm 1}C_{\rm 1}$

The cutoff angular frequency $\omega_{\rm G}$ is defined as the frequency at which the following conditions apply to the amplitude ratio $\frac{U_{\rm 2}}{U_{\rm 1}}$ and the phase angle $\varphi$:

$\frac{U_{\rm 2}}{U_{\rm 1}}=\frac{1}{\sqrt2}, ~~~ \varphi=−45°$


Experimental Tasks

To analyze the behaviour of the RC lowpass filter, the following circuit is used:

mexlefirst_public:rc_lowpass_lab_6-1.svg

  1. task-type-oscilloscope To analyze the behaviour of the RC lowpass filter, the circuit shown under SETUP is used. Build the circuit on the MEXLE-Board. Use the signal generator to apply a sinusoidal AC voltage with an amplitude of 3 V and a frequency of 2000 Hz to the RC circuit.


    Connect Channel 1 of the oscilloscope to the input voltage $u_\mathrm{F}(t)$ and Channel 2 to the capacitor voltage $u_\mathrm{C}(t)$. Sketch the waveforms displayed on the oscilloscope.
  2. task-type-freetext Measure the amplitude response and the time delay in milliseconds, then calculate the corresponding phase shift angle.
  3. task-type-freetext Explain how the amplitude response and phase shift change as the frequency increases.
2026/11/09 16:44 · dhennig

Inverting Amplifier with OpAmp

Background Information


Operational amplifiers are widely used in audio equipment. For example, audio mixers allow individual audio channels to be amplified or attenuated in order to adjust the overall sound. One common operational-amplifier configuration used for signal processing is the inverting amplifier. By selecting appropriate resistor values, the amplification factor can be adjusted to achieve the desired signal level. In an inverting amplifier, the gain is determined by the ratio of the feedback resistor to the input resistor.

mexlefirst_intern:inverting_amplifier_lab_6-1.svg

  • The input voltage Ue is at the inverting input of the operational amplifier.
  • The feedback is done by a voltage divider of R1 and R2.
  • The voltage gain is \(A_{\mathrm{V}} = -\frac{R_2}{R_1}\)

Experimental Tasks


To analyze the behaviour of the inverting amplifier, the following circuit is used:



mexlefirst_public:inverting_amplifier_lab_6-1_experimental.svg


Values of the components used:
R1 = 20kΩ, R2 = 10 kΩ










  1. task-type-image Navigate to “Live” on the MEXLE-App. On the Live page, you can see a simulation of the inverting amplifier circuit to be analyzed. Please measure the input and the output voltage using the MEXLEscope on the Live page and upload a screenshot afterwards.

  2. task-type-freetext Determine the voltage gain of the simulated inverting amplifier from the measured waveforms.

  3. task-type-result To analyze the behaviour of the inverting amplifier experimentally, the circuit shown under SETUP is used. Calculate the expected voltage gain.
  4. task-type-oscilloscope Assemble the inverting amplifier circuit the MEXLE-board. Set the jumper on the OpAmp module to the left to provide a bipolar voltage of \(+3\,\mathrm{V} / -3\,\mathrm{V}\). Please note that the power supply module is required for this task to automatically provide the supply voltages to the OpAmp!

    Use the signal generator to apply a triangular signal with an amplitude of 3 V and a frequency of 2000 Hz to the RC circuit. Connect Channel 1 to the input voltage of the inverting amplifier cirucuit and Channel 2 to the output voltage of the inverting amplifier circuit. Sketch the waveforms of the input and output voltage displayed on the oscilloscope.

  5. task-type-freetext Move the lower jumper on the OpAmp module to the right to provide a unipolar voltage of \(0\,\mathrm{V} / +3\,\mathrm{V}\). Describe and explain the output voltage waveform displayed on the oscilloscope screen.

  6. task-type-freetext Calculate the new voltage gain, in case R1 and R2 are swapped.

  7. task-type-freetextSwap the resistors on the MEXLE-board. Describe and explain the output voltage waveform displayed on the oscilloscope screen.

2026/11/09 16:46 · dhennig