TheSaturdayThing / laser_harp_arduino

MIT License
0 stars 0 forks source link

Digital pins driving LEDs #2

Open david-i opened 5 months ago

david-i commented 5 months ago
MariamRegragui commented 5 months ago
  • Is there a plan to reassign the pins used to drive the LEDs based on the use of the ribbon cable connector for the Mega header. Yes, I just uploaded the code with the new pins for the leds.
  • What are the current requirements for the LEDs. they require 20mA each.
  • What is the overall power consumption of the system?

    • LED
    • Lasers
    • Photodiodes
    • Music shield
    • Arduino board

Overall they consume is 471.66 mA.
20mA x 10 (LEDs) + 200mA (Arduino Mega) + 70mA (Music Shield) + 0.16mA x 10 (Photoresistors) = 471.66 mA

david-i commented 5 months ago

With the Arduino Mega, the maximum power that can be used on the arduino part of the system is

Does the 70mA used by the music shield include the load of the speaker system?