Skip to content
Snippets Groups Projects
Commit 7ce9c696 authored by Akseli Uunila's avatar Akseli Uunila
Browse files

Add and move text

parent 38bddc21
No related branches found
No related tags found
No related merge requests found
...@@ -15,13 +15,14 @@ authors: ...@@ -15,13 +15,14 @@ authors:
In this group assignment, we learned about different tools for embedded programming. In this group assignment, we learned about different tools for embedded programming.
We first soldered microcontrollers (XIAO RP2040, XIAO ESP32C3, and XIAO SAMD21 with pin connectors. Then, we were smoothly able to plug it into the breadboard for a group assignment with ring oscillators. We used three different microcontrollers all in the Seeed XIAO form factor.
We first learned putting simple sample codes to those
We first load the program into microcontrollers. We used programs given by our instructor. Detailed steps of this process could be found in our individual documentation for this week. and later used the "ring oscillator" codes and measured the signal frequencies.
We used Keysight InfiniiVision DSOX3102A, a digital storage oscilloscope. ## Programming the microcontrollers
## Code used We first load the program into microcontrollers. We used programs given by our instructor. Detailed steps of this process could be found in **our individual documentation** for this week
as each one of us did one microcontroller.
We used these "ring oscillator" codes from Neil: We used these "ring oscillator" codes from Neil:
...@@ -33,7 +34,10 @@ We used these "ring oscillator" codes from Neil: ...@@ -33,7 +34,10 @@ We used these "ring oscillator" codes from Neil:
## Pin connections ## Pin connections
Write here which pins were used for each We first soldered microcontrollers (XIAO RP2040, XIAO ESP32C3, and XIAO SAMD21 with pin connectors. Then, we were smoothly able to plug it into the breadboard for a group assignment with ring oscillators.
The idea is to connect one input and one output pin together. In the programmed code the input will be read and the output will be set to the opposite boolean value.
This will result in a square wave of which frequency we will measure with the oscilloscope.
[rp2040 schematic](https://files.seeedstudio.com/wiki/XIAO-RP2040/res/rp2040_datasheet.pdf) [rp2040 schematic](https://files.seeedstudio.com/wiki/XIAO-RP2040/res/rp2040_datasheet.pdf)
...@@ -44,6 +48,10 @@ Write here which pins were used for each ...@@ -44,6 +48,10 @@ Write here which pins were used for each
## Measurements ## Measurements
We used Keysight InfiniiVision DSOX3102A, a digital storage oscilloscope to measure the frequencies of the square waves.
### Images of the procedure
The following figures (Figures 1, 2, 3) show schematics of the connection between the programmed microcontroller and oscilloscope. The following figures (Figures 1, 2, 3) show schematics of the connection between the programmed microcontroller and oscilloscope.
The following figures (Figures 4, 5, and 6) show measurements at the oscilloscope. The following figures (Figures 4, 5, and 6) show measurements at the oscilloscope.
...@@ -60,6 +68,8 @@ The following figures (Figures 4, 5, and 6) show measurements at the oscilloscop ...@@ -60,6 +68,8 @@ The following figures (Figures 4, 5, and 6) show measurements at the oscilloscop
![Measurementphoto](./assets/assignment4/schematic_photos/RP22connections.jpg) ![Measurementphoto](./assets/assignment4/schematic_photos/RP22connections.jpg)
### Results
![oscilloscope measurement](./assets/assignment4/oscilloscope/RP2040.png) ![oscilloscope measurement](./assets/assignment4/oscilloscope/RP2040.png)
![oscilloscope measurement](./assets/assignment4/oscilloscope/ESP32C3.png) ![oscilloscope measurement](./assets/assignment4/oscilloscope/ESP32C3.png)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment