Week 6 Angel and Cooper¶
Overview¶
Name | Assignment |
---|---|
Angel | Analog Discovery 2 |
Cooper | Oscilloscope |
Angel | Multimeter |
Multimeter – Angel¶
In order to test the pulse of the circuit, we first built a circuit with LED fading on and off. We used XIAO RP2040 to build this circuit.
After we made the circuit work, we used a multimeter to see the pulse change. It was illustrated by the data shoing on the multimeter.
When the LED is lighting up, the voltage increases; when the LED is fading off, the voltage decreases.
Analog Discovery – Angel¶
In order to use Analog Discovery, we went through the documentation of David Tian group assignment. We used WaveForm Software.
It took us a hot minute to figure out how to connect the Analog Discovery 2 to the circuit. We referenced Andrew and Kathryn’s circuit. In order to measure the pulse of the circuit, we connected the V+ to the 5V pin on RP2040, V- to GND, 1+ to the LED pin, and 1- to the GND.
We first got this “V” shape pulse in the software.
Then Cooper clicked “Auto Reset” and then we got the right shape of the pulse!
The shape of the pulse showed that when the LED is on, the voltage would go to 5V; when the LED is off, the voltage would go straight back to the 0V.
Ociloscope - Cooper¶
To test a microcontroller we first set up a way we could see the flow of current changing. This was done by having an LED fade through code on an RP2040. To do this we found a template for a fade code with LED on Tinkercad but it was for an arduino so I ran the code through ChatGPT to change the pinouts and setup to the RP2040.
Once that was done when the RP2040 was plugged in the LED would go HIGH (bright) and then go down to LOW (dim). To show this change we used the multimeter in current measuring mode to show the constantly see-sawing current. The Oscilloscope is similar to the multimeter since it can measure parts of a circuit. It was also used to show the change in current flowing through the LED except instead of numbers it uses a display that shows a line. This line is what the measuring displays. how we had it set up had the line split with a part of it above the original line and the other below it. When the LED would go LOW the line on the bottom would take up more of the screen and when the LED went HIGH the line on the top took over more of the scope.