9f3413911899aef32e54f4b535e035f9e213c9c4
Board-dat/NWI/NWI1118-dat/NWI1118-DAT.md
| ... | ... | @@ -53,7 +53,10 @@ |
| 53 | 53 | - [[esp-relay-board-dat]] |
| 54 | 54 | |
| 55 | 55 | - [[ESP-12F-DAT]] - [[ESP32-C3-WROOM-02-DAT]] |
| 56 | -- [[ACDC-SM]] |
|
| 56 | + |
|
| 57 | +- [[ACDC-SM]] - [[voltage-divider-dat]] |
|
| 58 | + |
|
| 59 | + |
|
| 57 | 60 | - code reference - [[NWI1139-DAT]] |
| 58 | 61 | |
| 59 | 62 |
Tech-dat/power-dat/voltage-divider-dat/2025-05-14-18-12-31.png
| ... | ... | Binary files /dev/null and b/Tech-dat/power-dat/voltage-divider-dat/2025-05-14-18-12-31.png differ |
Tech-dat/power-dat/voltage-divider-dat/voltage-divider-dat.md
| ... | ... | @@ -16,7 +16,10 @@ Vout = Vin * (R2 / (R1 + R2)) |
| 16 | 16 | 0.952V = 5V * (51K / (51K + 12K) ) |
| 17 | 17 | 0.571V = 3V * (51K / (51K + 12K) ) |
| 18 | 18 | |
| 19 | +Vin == Vout * (R1 + R2) / R2 |
|
| 19 | 20 | |
| 21 | + == 1V * (220K + 100K) / 100K |
|
| 22 | + == 3.2V |
|
| 20 | 23 | |
| 21 | 24 | A voltage divider circuit is a very common circuit that takes a higher voltage and converts it to a lower one by using a pair of resistors. The formula for calculating the output voltage is based on Ohms Law and is shown below. |
| 22 | 25 | |
| ... | ... | @@ -29,6 +32,13 @@ where: |
| 29 | 32 | - R2 is the resistance of the 2nd resistor, measured in Ohms (Ω). |
| 30 | 33 | - Vout is the output voltage, measured in volts (V), |
| 31 | 34 | |
| 35 | +## [[NWI1118-dat]] on board ADC voltage ladder |
|
| 36 | + |
|
| 37 | +cut off SJ3 first to use the ADC ladder. |
|
| 38 | + |
|
| 39 | + |
|
| 40 | + |
|
| 41 | + |
|
| 32 | 42 | ## ref |
| 33 | 43 | |
| 34 | 44 | - https://learn.sparkfun.com/tutorials/voltage-dividers/all#:~:text=A%20voltage%20divider%20is%20a,most%20fundamental%20circuits%20in%20electronics. |