Electronic – How to work out what resistor to use

ohms-lawraspberry piresistanceresistors

I am trying to work out what resistor to use in a circuit.

The circuit is a series circuit. The power to the circuit is 5.5V, with a switch, which connects to a GPIO pin on the RasberryPi. I believe 3.3V is needed for the pull up resistor on the RPi.

I need to use a resistor to lower the power from 5.5V to 3.3V. I know Ohms law, but I'm struggling to use it in practice. How can I figure out the required resistor needed for this situation, and for future knowledge?

Is their a formula I can note down?

Best Answer

The Pi has 3.3 volts, from an internal regulator, available on the GPIO connector - you can use that as a 3.3 V source for your pull-up resistors.

Using a resistor to produce a voltage drop is not recommended, as the voltage across the resistor will depend on the current drawn through the resistor.

The relationship between voltage drop, current, and resistance is known as Ohm's Law: V = IR, where V = voltage, I = current in Amps, and R = resistance in ohms.