summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSadeep Madurange <sadeep@asciimx.com>2025-06-19 11:35:22 +0800
committerSadeep Madurange <sadeep@asciimx.com>2025-06-19 13:00:23 +0800
commitdb9b2dacb951c2685e9f43801278f10f06e37056 (patch)
treee577c7fe2bc897f72c5947fef8ea3398f336d678
parentd757fde31ef78398ff5a2d07882b1b0e26e17812 (diff)
downloadfpm-door-lock-db9b2dacb951c2685e9f43801278f10f06e37056.tar.gz
README: current measurements.
-rw-r--r--README.txt9
-rw-r--r--main.c2
2 files changed, 5 insertions, 6 deletions
diff --git a/README.txt b/README.txt
index 09134a8..ba6a477 100644
--- a/README.txt
+++ b/README.txt
@@ -1,16 +1,12 @@
CURRENT MEASUREMENTS
-Inidividual parts:
+PERIPHERALS:
R503 FPM:
When VCC is connected to a 3.31V supply, FPM draws 13.8mA of quiescent current. When
VCC is disconnected (3.3VT connected to 3.31V supply), it draws 2.9uA.
-ATmega328P:
-
-MOSFET:
-
FS5106B high-torque servo:
One of them draws 6.1mA when connected and stabilizes at 4.6mA. The other drew
@@ -37,6 +33,9 @@ MP1584EN BUCK CONVERTER
1. When the system is in power down mode, the MCU + FPM + Servo draw 8.9mA at
3.3V. The real amount is likely about 8.9 + 4.6 = 13.5mA.
+ 2. When FETs are used quiescent current drops to 0uA.
+ 3. Active current draw (when the servo rotates) measured are 152.8mA, 162.8mA,
+ 170.3mA
REMARKS
diff --git a/main.c b/main.c
index ddd4c18..2927869 100644
--- a/main.c
+++ b/main.c
@@ -119,8 +119,8 @@ int main(void)
/* power on peripherals */
FET_DDR |= (1 << FET_FPM) | (1 << FET_SERVO);
-
fet_on();
+
fpm_init();
/* servo */