Alarm Siren wrote:
pnoyes wrote:
EDIT: Just to follow up:
The Display from the Datasheet pulls a max of 90mA at 3.3v (so 60mA from the 5V perspective) but it is not run at full brightness so it consumes less.
The RAM and ROM pull far less than 40mA each because they are clocked at 1MHz. Current consumption is related linearly to clock speed and those current limits are spec'd for the maximum supported clock speed which is an order of magnitude higher.
The Display from the Datasheet pulls a max of 90mA at 3.3v (so 60mA from the 5V perspective) but it is not run at full brightness so it consumes less.
The RAM and ROM pull far less than 40mA each because they are clocked at 1MHz. Current consumption is related linearly to clock speed and those current limits are spec'd for the maximum supported clock speed which is an order of magnitude higher.
A further note, I believe that the 1N4148 diodes in your debounce circuit are unecessary. The circuit you've used is a direct lift from here, which on the matter of the diode states:
Quote:
The diode is an optional part needed only when the math goes haywire. It's possible, with the wrong sort of gate where the hysteresis voltages assume other values, for the formulas to pop out a value for R1 + R2 which is less than that of R2. In this case the diode forms a short cut that removes R2 from the charging circuit. All of the charge flows through R1. The previous equation still applies, except we have to account for drop across the diode. Change Vfinal to 4.3 volts (5 minus the 0.7 diode drop), turn the crank and R1 pops out.
It is identical to the 2.4" 128x64 OLED module that Adafruit sells except for the color.
Thanks for the tip on the diodes. I will dig into that to make sure I am doing it the right way!