Output devices

For this week's individual assignment we were asked to add an output device to a microcontroller board that I designed and program it to do something. Here you can see the group task

This week in Fabacademy, I linked an Attiny45, built and designed in week 11, with a Xiao RP2040 produced during electronic production week. By utilizing UART, I was able to transmit humidity and temperature sensor readings from the Attiny45 to the Xiao RP2040, enabling display on the Arduino serial monitor. Embedded systems depend on protocols like I2C and UART to enable communication between microcontrollers and peripheral devices. I2C functions as a simple, efficient bus connecting multiple devices through two lines for data and clock (SDA and SCL), which works well in setups with many sensors. UART, using only TX and RX lines for asynchronous serial data transfer, is particularly useful for straightforward, longer-range communications with devices like Bl Other critical protocols include SPI, known for high-speed data transfer over short distances, and CAN, commonly used in automotive and industrial fields. SPI operates with four lines and is effective for full-duplex data sharing across multiple devices. CAN, designed for reliability, is ideal for real-time data handling with error detection, making it essential in applications requiring resilience and fault tolerance.

Useful links to help u (;

Code Example

Files