Mobirise Website Builder

Embedded Programming

Toolchains and development workflows          Simulation on WOKWI

Toolchains and Development Workflows

Group Work with Xdd
Comparison of  Embedded Architectures

Arduino Nano RP2040 vs. Arduino Uno R4

Processor:
Arduino Nano RP2040: Dual-core ARM Cortex-M0+, 133 MHz (same RP2040 chip).
Raspberry Pi Pico: Dual-core ARM Cortex-M0+, 133 MHz (same RP2040 chip).

Memory:
Both boards have 264 KB of SRAM and external flash up to 16 MB.

Connectivity:
Arduino Nano RP2040: Features built-in Wi-Fi and Bluetooth in the Arduino Nano RP2040 Connect version.
Raspberry Pi Pico: No built-in wireless connectivity (requires an external module).

Form Factor:
Arduino Nano RP2040: Smaller and fits the traditional Nano form factor, ideal for projects where space is a constraint.
Raspberry Pi Pico: Slightly larger, with more available I/O pins.

Power:
Nano RP2040: More power-efficient.
Uno R4: Increased power handling and voltage tolerance.

Conclusion:
The Arduino Nano RP2040 offers better performance and wireless connectivity, while the Arduino Uno R4 is a more robust version of the classic Uno, designed for projects requiring more power handling and flexibility.




image courtesy: social compare

image credit: social compare
Demonstration of two systems


WOKWI simulator: LED light controlled by bluetooth

When comparing the Bluetooth architecture between the Raspberry Pi Pico and the Arduino Nano RP2040 Connect, the Arduino Nano is more convenient because it has built-in Bluetooth, allowing for simpler integration with Bluetooth-based projects. This reduces potential issues or bugs when setting up Bluetooth functionality, as everything is integrated and supported through the ArduinoBLE library. On the other hand, the Pico does not come with built-in Bluetooth, requiring external modules, which adds complexity and could introduce more potential bugs in future projects.


image courtesy: WOKWI

Mobirise Website Builder

System simulation on WOKWI

Testing speaker with OLED & multi-controller 

Summary

The following project features the combination of a speaker with a rotary encoder for volume control and an OLED display for visual feedback. Currently, the system simulates simplified musical tones using a buzzer. While the project demonstrates the core system, future improvements will focus on enhancing sound quality and Bluetooth integration for a fully functional speaker.


Reflections and Future Revisions

The current demo is based on the WOKWI's online components to test its system. To develop a fully functioning Bluetooth speaker at the end of the semester, several improvements are planned:

1. Improve Audio Quality:
- Replace the buzzer with a proper speaker and integrate an MP3 decoder module or Bluetooth streaming for better sound quality.
- Utilize the rotary encoder to control both analog and digital volume.

2. Bluetooth Integration:
- Although Arduino Nano 2040 has a built-in Bluetooth system, it probably still needs to add a Bluetooth module (e.g., ESP32 or CSR8675) to stream high-quality audio with advanced codec support.

3. Power and Amplification:
- Incorporate the vacuum tube amplifier for richer sound and ensure the power supply can handle both the amplifier and Bluetooth module.

4. Aesthetic and Functional Enhancements:
- Refine the enclosure design to showcase the vacuum tubes and enhance the OLED display to provide real-time feedback.
- Evaluate the actual sizes of boards, power supply, wires, etc. So that it is possible to integrate with the final envelope design. 


Mobirise Website Builder

Project Index

W5: electronics design

W6: electronics production

W7: molding and casting

W8: input devices

W9: computer-controlled machining

W10: computer-controlled machining

W11: output devices

W12: networking & communications

W13: interface & application 

W14: wildcard week

W15: final project

HTML Generator