temp/humidity sensors for 240 volt accessories - Raspberry Pi General

Is it ambitious/difficult to attempt to build a system using a couple of temp/humidity sensors to turn on and off 240 volt accessories at given values ?

Related

Typhoon: Measure and compare your battery capacity - easy, foolproof, comparable

A lot of problems are related to old batteries and when buying new ones you don't know how "new" they are and if the keep their promise.
Worry no longer, with just
mortscript
your device
your battery (or more)
and a spreadsheet (optional)
you can take control of the facts.
The method is descibed in this generic thread.
There you also find the files you need and some apetizers to start.
Method specific discussions go there please!
Please report here in this forum only the results of your measurements in the following format:
Battery type (Producer + Model)
Battery serial number
nominal capacity (in mAh)
your device (it should only be Typhoon/Amadeus here!)
rundown time to 10% capacity with the standardized conditions as descibed in the generic thread
attach the file if you like, but I will not collect them
My current drain measurement for the Amadeus is:
full lit display: 65 mA
dim display: 23 mA
display on, but no backlight: 5 mA (roughly)
display off: 2 mA (roughly)
Let me start with my data:
Code:
Type Battery Serial Battery Capacity [mAh] PBA File 10% time [s]
Samsung-ST26A 5t4x15a5004173 1150 Amadeus battery-data-1264807779.csv 47434
Samsung-ST26A 5yex149f000725 1050 Amadeus battery-data-1264933115.csv 44737
Samsung-ST26A 5yea14ak006610 1050 Amadeus battery-data-1264765340.csv 42025
Sanyo ST26C at3a35am000417 1150 Amadeus battery-data-1264875160.csv 50783
enjoy!

[Q] Can some one tell me G2's default voltage

Can some one tell me G2's default Voltage?
thanks for respond
Could you be more specific please ?
If you mean the battery's voltage - it's 3.7V.
Charge voltage ? Battery voltage ? CPU voltage ? etc ?
I assume he means the CPU voltage

[Q] Some questions about adjusting voltage

Hey guys. I have two questions about CPU voltage control on the Qualcomm Note 3:
1. Trickster Mod, my main go to app for undervolting, is only able to provide relatively large steps (eg. 945mv -> 932.5mv), however CPU Adjuster is able to provide much finer steps (I would provide examples, but the sensitivty of the voltage meter is too high ). Is the CPU actually capable to use voltage steps as fine as that provided by CPU Frequency?
2. When is the voltage actually applied? Immediately? I ask because there are times whereby if I change the voltage while Antutu is actually running, the phone doesn't freeze or crash, even when the voltage is obviously too low, which seems to suggest that the voltage isn't actually being applied. (yet). After the benchmark finishes the phone then crashes. Also, I have made sure that I'm changing the voltage for the clock speed the phone actually uses for the benchmark, by setting a lower limit (like 1.49 Ghz).
Thanks in advance :laugh:

Usage of proxomity sensor

How come the usage of proximity sensor under Android System is much higher whilst on mobile network than on wifi?
I think that plays a role in sub optimal battery life..
Here is a quick screenshot.
Proximity sensor doesn't have anything to do with your network connection. Other than when you're at home/work and connected to wifi, your phone is probably laying face up somewhere (proximity sensor off) and when you're not connected to wifi (you're out and about in the world) your phone is in your pocket/bag and the sensor is covered (on).
Just guessing.
According to Elixir, somehow it lists 2 proximity sensors?? using 0.1mA each, so 0.2 mA together. It doesn't say at what voltage, but at nominal battery 4 volts, you would use about 0.8 mW of power per hour. After 1000 hours of usage you would end up using 0.8 W of power and battery capacity is about 12-13W. I don't think you should worry about that sensor too much. Also according to Elixir, the biggest power users are rotation and orientation sensors (there are few) at about 1.5mA each. If you compare that to power used by screen and radios, the sensors use meaningless from power usage point of view. IMO the biggest culprit are programs running in the background and communicating with servers and there is no easy way to stop it.
akira888 said:
How come the usage of proximity sensor under Android System is much higher whilst on mobile network than on wifi?
I think that plays a role in sub optimal battery life..
Click to expand...
Click to collapse
because your phone is in your pocket/ purse/backpack more when you're out and about, when at home posted up it's sitting on the counter/couch/table. Why does this matter? Settings>Display>Keep screen turned off
"Prevent the screen from turning on accidentally while the device is in a dark place such as a pocket or bag"
This means the proximity sensor is more active in your pocket. And typically when you're on WiFi, it's not in your pocket.
Just a guess but I believe I'm right.
Sent from my SM-G955U using Tapatalk

is this normal !. Redmi 3s

i don't understand these current flow, voltages, etc... but i am sure it's not possible to charging battery in 3min the values are higher. is this ok ?.
just worried about my battery.
*Custom rom : { Havoc-os v4.19 }.
*Advanced charging controller : { magisk module }>
....... don't know why ?. but. if i use this module charging stops at 70%. and if i remove it will charging 100%. and after 50% the W goes down like 2.0 or 0.1 like that. and time also increase after 50% to 60%.
ACC works by stopping charging at 75% by default to prevent battery wear. If you do not like how ACC stops charging at 75% by default, you can either adjust the charge level to 80 or 85%. Or you can disable and deactivate ACC.
@amn1987 might have better ACC settings for our 3s.
Your "3 minutes until full" might be due to both using a fast charger and the battery wear of your 3s.
aospray said:
ACC works by stopping charging at 75% by default to prevent battery wear. If you do not like how ACC stops charging at 75% by default, you can either adjust the charge level to 80 or 85%. Or you can disable and deactivate ACC.
@amn1987 might have better ACC settings for our 3s.
Your "3 minutes until full" might be due to both using a fast charger and the battery wear of your 3s.
Click to expand...
Click to collapse
I am not using ACC as usually after sometime I experience some issue or the other. The GUI frontends are especially buggy and I am not a fan of using commands to tweak stuff. I am using Termux commands in Tasker to automate this. Best thing with the upgrade to 4.9 kernel was the ability to limit the maximum battery charging voltage which is the one of the best ways to prolong battery longevity. Thankfully even in A12 and A13 ROMs it continues to work. Some charging switch or the other should enable limiting voltage in ACC I think.
aospray said:
ACC works by stopping charging at 75% by default to prevent battery wear. If you do not like how ACC stops charging at 75% by default, you can either adjust the charge level to 80 or 85%. Or you can disable and deactivate ACC.
@amn1987 might have better ACC settings for our 3s.
Your "3 minutes until full" might be due to both using a fast charger and the battery wear of your 3s.
Click to expand...
Click to collapse
How to do that ?. ( by commands ? ). i want to limit it at 95%.
Maheshmahe said:
How to do that ?. ( by commands ? ). i want to limit it at 95%.
Click to expand...
Click to collapse
Root is necessary of course and use only ROMs based on kernel version 4.9.
In any proper file manager like Solid Explorer or Mixplorer etc. simply navigate to sys/class/power_supply/battery/voltage_max which is located in the root partition and open it as a text file after changing the file permissions to rw-rw-rw from the default read-only.
By default the max. charging voltage is set at 4.4V. It’s in milli Volts. So 4400. 4.05V corresponds to 75% battery charge. 4.15V to ~85% and 4.3V ~95%. I wouldn’t recommend going above 4.2V (which corresponds to 90%) as the battery will be at a constantly high voltage (as battery percentage won’t ever decline as long as it’s plugged in) all the time otherwise. Ideal range is 30-80%(15-90% in newer models). If the device will be used plugged in a lot shoot for 60% (3.95V).
su
echo 4300 > /sys/class/power_supply/battery/voltage_max
I kept the battery at around 80% for the first 3 years when it was used as a primary device and afterwards at 60% as it's plugged in most of the time. Probably that's why battery health is still above 80%, 6 years later. Still lasts almost 10 hours during offline video playback (indoors).
P.S. The voltage under voltage_max resets at every boot. That's where Tasker or Macrodroid or even a script comes in handy.

Categories

Resources