# PHYS 230 Project 0

# Description:

Project 0 provided an introduction to TinkerCAD, LTSpice, and Deepnote by collecting simulated circuit data and conducting basic analysis on the data to make inferences about the circuit. In TinkerCAD and LTSpice, a series circuit consisting of a power supply, 1000 ohm resistor, and a "unknown" photoresistor was created and simulated from 0 to 10 volts, in 1-volt increments. The data collected from these simulations were the voltage of the power source and the voltage across the photoresistor. This data was collected and transferred to Deepnote where the data from each program was used to determine the resistance of the photoreistor and to graph the linear relationship between the current and voltage of a photoresistor using Ohm’s Law.

# Ohm's Law:

Ohm’s Law is a formula used in electric circuits to calculate the relationship between voltage, current, and resistance. This formula is written out as V=IR with V standing for voltage,I standing for current, and R standing for resistance. This formula was used in this project to find the unknown resistance of the photoresistor. The difference between the voltage of the power source and the voltage through photoresistor (volts) was divided by the known resistor value of 1000 ohms to find the current through the photoresistor from 1-10 volts. The linear equation from 1-10 volts helped determine the resistance of the photoresistor. Below is a graphic of how to use Ohm’s Law (Figure 1) and how the code was written to carry out the calculations (Figure 2).

# Voltage Dividers:

The circuits that were created are the simplest form of what is known as a voltage divider. Voltage dividers are simple linear circuits in series that take a large voltage and turn it into a smaller voltage. This dropped voltage is a proportionate value that relates to the values of the two resistors used to drop the voltage. Voltage dividers will be extremely useful over the course of the semester to take a higher voltage power supply and to lower it to a voltage where small components will work, prevent them from damaged or destroyed by to much current. For this project, the voltage divider was used to calculate the resistance of the photoresistor.