Hello Everyone,

I’m working on a school project to create a mini console using an Arduino Uno, inspired by the Nintendo DS. I’ve designed a detailed schematic and included the following components:

  • IMU: MPU6500
  • Magnetometer: QMC5883L (connected to MPU6500 via AUX_DA/AUX_CL)
  • Tactile Buttons: 6 large, 1 small
  • Joysticks: 2 units (read via ADS1115 ADC)
  • SD Card Connector: Connected via LVC level shifter to SPI bus
  • GLCD: 128x64 display
  • Audio Components: DY-SV5W MP3 player and speaker
  • RTC: DS1307Z+
  • Port Expander: MCP23017
  • Voltage Regulator: AMS1117 for 3.3V components

My Questions:

1. I²C Bus Connection

  • Since the MPU6500 and QMC5883L operate at 3.3V and the Arduino Uno uses 5V logic, what’s the best way to connect the I²C bus (SDA/SCL)?
  • Should I use a bidirectional level shifter (like BSS138-based circuits) or voltage dividers? Which is more reliable?

2. General Schematic Validation

  • Will the MPU6500 and QMC5883L communication over AUX_DA/AUX_CL work as expected?
  • Are there potential conflicts with multiple I²C devices (MPU6500, QMC5883L, ADS1115, DS1307Z+, MCP23017) on the same bus?
  • The Arduino Uno has built-in pull-up resistors. Are my 4.7kΩ external pull-ups still necessary?

3. Voltage Regulation

  • The AMS1117 provides 3.3V to power the MPU6500, QMC5883L, and SD card module. Can these components safely share the same regulator?
  • For the SD card, I’ve used an LVC level shifter for logic conversion. Is there anything else I should consider?

4. Decoupling Capacitors

  • I’ve added a decoupling capacitor near the power pins of each IC. Is this sufficient to ensure power stability?

5. Buttons and Debouncing

  • I’ve added pull-up resistors and debounce capacitors for the buttons. How do I determine the correct capacitor size for debouncing?

Additional Notes:

  • The GLCD is powered directly by the Arduino at 5V.
  • The DY-SV5W MP3 module is connected to the Arduino via UART.

I’d greatly appreciate feedback on the I²C connections, power management, and general schematic design. Let me know if you need additional details or diagrams.

Thank you for your help!schematic

#Schematic#
#Schematic#
Circuit Design

No comments yet. Be the first to comment!