Embedded programming 2¶
Group assignment requirements¶
The group assignment for this week is the following:
- Browse through the datasheet for your microcontroller
- Compare the performance and development workflows for other architectures
- Document your work to the group work page and reflect on your individual page what you learned
Microcontroller datasheet¶
The microcontroller being used is the Xiao [insert name here] which is a micro-sized dev board based on a [NAME] microcontroller. To find the specs I am referring to the dev board’s datasheet here, and the microcontroller datasheet here. By going through the datasheet for both the microcontroller and XIAO dev board I learned a lot about the microcontroller including the following:
The Xiao contains the following pins: [NUMBER] PWM pins [NUMBER] general digital pins [NUMBER] Analog pins [NUMBER] I2C interface
The XIAO dev board also contains the following components: [add # of buttons, LEDs, USB, and their functions]
As for the microcontroller itself, we found the following information from the datasheet:
[NUMBER] PWM pins [NUMBER] general digital pins [NUMBER] Analog pins [NUMBER] I2C interface
And the following processor and memory information: [INSERT INFO]
According to the system overview we learned that it contains the following peripherals: [LIST PERIPHERALS]
Architectures comparison¶
As part of this assignment, we compared the specs of all the microcontrollers we have in the lab.
REPLACE (EXAMPLE ONLY) | Atmega328p | XIAO | Attiny32 | ||
---|---|---|---|---|---|
Bit size | 8-bit | ||||
Max clock | 8MHz | ||||
CPU/Family/Architecture | ARM AVR Cortex | ||||
Storage | 264KB SRAM/2MB Flash memory | ||||
I/O pins | 12 analog/digital, 3 PWM | ||||
operating voltage | 3.3 volts | ||||
Connectivity | Bluetooth | ||||
Price | 4$ | ||||
source | datasheet |
[note your observation and which microcontroller was found to be the most powerful/best based on the comparison made
Architectures development workflow¶
[MICROCONTROLLER 1]¶
This microcontroller can be programmed via [software] which is based on [programming languages]. I tried programming it to do a simple blink
[describe the process of setting up/downloading the programming enjoinment]
[code]
[Enter your observations of the programming process, the micrcontroller board, the compilation/upload time, etc]
[MICROCONTROLLER 2]¶
This microcontroller can be programmed via [software] which is based on [programming languages]. I tried programming it to do a simple blink
[describe the process of setting up/downloading the programming enjoinment]
[code]
[Enter your observations of the programming process, the micrcontroller board, the compilation/upload time, etc]
[MICROCONTROLLER 3]¶
This microcontroller can be programmed via [software] which is based on [programming languages]. I tried programming it to do a simple blink
[describe the process of setting up/downloading the programming enjoinment]
[code]
[Enter your observations of the programming process, the micrcontroller board, the compilation/upload time, etc]
Sources¶
The information referenced in this page was found in the following sources:
Source 1
Source 2
Source 2
Source 2