Use the MCP1702 regulator instead of 78L05. Quiescent current Iqo is 2 uA and under 20 uA at consumption of 20 mA. Drop-out is 650 mV at 250 mA (at 20 mA it will be under 50 mV).Or use MCP1802 with shutdown function and max. 0.1 uA.
; wait for years ,days, hours
; if you dont want constants, use #symbol instead:
#DEFINE years 1
#DEFINE days 10
#DEFINE hours 6
Main:
for w0 = 1 to years
gosub year_pause
next
for w0=1 to days
gosub day_pause
next
for w0=1 to hours
gosub hour_pause
next
stop
year_pause:
for...
Another option is to drop the 48V input voltage by a constant value.
The circuit on the picture reduces the input voltage by 45V. Then, ADC voltage will be 0..5V at 45..50V input.
The readAdc/readAdc10 command provides a 20mV/5mV resolution.
Another ADC input would be used to measure large...
Picaxe itself cannot reliably switch this relay model in a capacitor design.
Excessive voltage drop on the output pin will provides for the relay only 5V * 250Ω / (250Ω + 90Ω) = 3.7V. Even when 3.7V is near minimum 3.75, the relay have to be at this voltage for min.10ms. But in...
Simplification phase 3:
-------------------------
(A) Since we have the switching power supply with 3 outputs: 3.3V / 5V / 12V, we have to find such power supply module that contains other required properties and behavior:
The module diagram is in figure 4.
Switching Power Supply...
Simplification phase 2:
-------------------------
(A) We can use a switching power supply with 3 outputs: 3.3V / 5V / 12V instead of power supply 230V AC / 12V DC and two DC/DC converters.
(B) The second change is to replace the fuses with the MIC2544/48 (Hi-side switches with current limiter...
Hi Rav,
Your proposed version in #24 don't contain errors, that were in the previous one. But it seems still too complicated.
In the following, I am introducing a simplification of the Power supply module. Three different levels.
It's just my insight - it may not be the only one nor the best...
(7) Adjustable calibration constant:
Here is the example of the simple adjustment of the calibration constant, incorporated to your sample code, published in #1. It use three buttons: one to select the calibration mode and next two to the value increment/decrement.
CODE in attachment:
Note...
First of all, if I misunderstood your project:
(1) Is the OLED display part of your Rallye Meter, or is intended for testing and the main display means are electromechanical counters?
(2) As you stated "This project is a Rallye Meter - with several electromechanical counters (10m)." Q: How and...