# Potentiometers

Potentiometers are essentially potential dividers with one significant difference. You can variate the voltage that is being outputted. The resistance, and consequently the voltage, can be changed by adjusting the position of the knob. For reference, here’s the link to the post on potential dividers:  ‘https://thelectronicsblog.wordpress.com/2015/11/11/potential-dividers’ Above is a diagram of what a potentiometer physically looks like. Rotating the knob directly changes the position of the wiper. The position that the wiper is in dictates the voltage outputted from the wiper wire.

To explain this more easily, imagine that the two resistors from the potential divider diagram have been squished together, and the insulated coating has been removed.  Assume that R1 and R2 in the diagram on the left are each 5k. They have been squished together on the diagram on the right. This forms a 10k piece of resistive material . But because the position of the Vout wire is approximately half way down, it is the same as having a 5k resistors on each side. Now assume that the Vout wire is instead now 3/4 of the way down the resistive material. This is equivalent to having a 7.5k resistor as R1, and a 2.5k resistor as R2.

Now that the premise behind potentiometers has been explained, here’s the original physical diagram shown side by side with what the internal wiring of a potentiometer would actually look like:  Hopefully you now understand how a potentiometer works. However, if you have any questions, please don’t hesitate to ask.

# 7-Segment display  Each of the seven segments (A – G) and the decimal point (P ) are connected in the same way as an LED, in series with a resistor.

One of the Com (common) ports are connected to ground . This acts as a single cathode for all of the LEDs in the seven segment display. # Tutorials – Section 1 – Lesson 1 LED Button

Following on from the set-up for this section, we’re going to create a circuit which switches on and off on LED.

For this circuit you will need:

• An Arduino Board.
• 1 – 10kΩ resistor.
• 1 – LED
• 1 – push button

The anode, cathode, and general orientation of an LED is  shown in a schematic like this:

This is a simple schematic of the circuit.The begging of which will be connected to the 5v rail on the breadboard, and the end will be connected to the ground (GND) rail. By pressing in the button in, the LED will light. As soon as the button is no longer being pressed, the light will go off once more.

Here’s the actual circuit shown  below:   # Tutorials – Section 1 – Setup

For section one we’ll only be using the 5 volts supply pin and the ground pin on the Arduino. Firstly you’ll need to supply power to the Arduino by using the USB cable to either plug it into a computer or another USB socket capable of supplying power.

Once you have done this, connect the Arduino to the breadboard as shown in the diagram below. In the following section 1 tutorials, this same set-up will be used. # Ohm’s Law

Ohm’s law is the basis behind electronic equations. It establishes a relationship between voltage, current, and resistance. He stated the following relationship: In addition to this, we can deduce two more equations from this one.  Because of this relationship, it is possible to calculate any of these values, with just two of the three. # Resistors in series and parallel

Resistors in a series alignment

Calculating resistance in series is the easier of the two. You simply add them together to find the total resistance.  Resistors in a parallel alignment

When calculating resistance in parallel, it’s a little more complicated. But so long as you follow the formula, it should be okay. In addition to this, you can double check your results, because it should always be lower than the value smallest resistor.   # Capacitors in series and parallel

Capacitors in a parallel alignment

This is the easier of the two to calculate, the total capacitance is simply the sum of both of the capacitors.

Capacitors in a series alignment

When calculating capacitance in series, it’s a little more complicated. But so long as you follow the formula, it should be okay. In addition to this, you can double check your results, because it should always be lower than the value smallest capacitor in the series.  # Comparators

A comparator is one of the simplest op amp subsystems. It simply compares two voltages, and the output either goes high or low depending on which input is the higher voltage.

Generally, one of the inputs is fixed to a set voltage (a reference voltage), whilst the other varies depending on an analogue input. Here’s an example: Using a potential divider calculation, the voltage at the non-inverting input can be calculated as 3v. Because of this, when the voltage at Vin is above 3v, the output will be low. When the Voltage at Vin drops below 3v, the output will be high.

# Potential dividers

A potential divider reduces the voltage in a circuit. If R1 and R2 are equal, the voltage at Vout will be half of that at Vin. Here is a condensed equation to calculate the voltage at Vout: This can also be calculated by finding the current that flows through the potential divider. To do this you find the total volt drop and divide it by the total resistance (because the voltage drops to 0, the total volt drop is equal to Vin).

After the current has been found, Vout can be calculated my multiplying R2 by the current(i) (you use R2, because this calculation finds the volt drop across the resistor, so Vin – volt drop across R1 = volt drop across R2 = Vout). # Passive low-pass filter

‘Passive’ refers to the fact that this type of filter is incapable of power gain and uses no active components. This also means that no external power source is needed for it to function. A low-pass filter, as the name suggests, allows low frequencies to pass whilst cutting off higher frequencies. The cut-off frequency (Fc), is calculated by using the formula below. ‘R’ is the resistor value, and ‘C’ is the capacitor value. 