# Introduction

In this lab we analyzed data founded from using a circuit that was formed with a capictor and 2 resistors. The circuit set up allowed a voltage to flow through to light the LED light. Our analysis was made to watch the voltage drop and begin calculating the current. While that was recorded, we were able to conclude our analysis by seeing the difference in voltage before and after the resistors. It is expected that as data of time vs volatege should be analyzed and graphed. This allowing us to see the initial plots, linear relationship, and the voltage realationship with the capacitor.

# Data

Data during this lab was very important because we were able to see the charge of the capacitor. We collected data that includes the voltage output and the PWM reading. Time was recorded in miliseconds. We also recorded the measure of voltage before and after to allow us to analyze the difference in voltage levels and its behavior over time. Using the Arduino IDE and our microcontroller that provided a steady voltage, we collected 52 rows of data. Rows 0 through 30 (A portion of total data) are depicted below and show the corresponding voltage and PWM level. When anaylze, all data was considered relevant and used in graphs and charts. The data showed to be slightly below the 200 PWM level on the fully charged capacitor at the end of analyzing.

# Shockley Equation

The Shockley diode equation or the diode law, gives the I–V (current-voltage) characteristic of an idealized diode. Graphing this equation results in an exponential graph and because of our use of a diode in our lab, we expected this conclusion. In the equation, the parameters consist of V for voltage, T for time, and I for current; all parameters used in our lab. After deriving this equation, you get a linear model which is why our data is closely related to a linear relationship but this model is not perfect which explains why it wouldn't completely represent our data and graph accurately but gives us a good idea about the characteristics of a diode.