Miguel Angel Califa Urquiza
f7fae4e03c
Merge branch 'master' into codex/resolver-issues-del-repositorio
2025-06-04 17:52:12 -05:00
Miguel Angel Califa Urquiza
748ff3055c
Merge branch 'master' into codex/modificar-cálculo-usando-voltres-en-readsensor
2025-06-04 17:49:48 -05:00
Miguel Angel Califa Urquiza
92f3c30e82
Fix MQ303A voltage offset bug
2025-06-04 17:46:28 -05:00
Miguel Angel Califa Urquiza
da3adb7335
fix: preserve voltage resolution
2025-06-04 17:46:18 -05:00
Miguel Angel Califa Urquiza
6376cfc11f
doc: add issues summary
2025-06-04 17:45:49 -05:00
Adriano Cunha
f7f2c1f3f4
Allow setting the ADC pin of a MQUnifiedsensor object.
...
The ADC pin can only be set when using the full/long constructor, causing the short constructor (name/type only) useless because the pin is unset.
Also default the ADC pin to 1 for consistency sake.
2023-04-11 14:30:49 -07:00
Adriano Cunha
b6bff185f3
Cleanup general definitions in MQUnifiedSensor.h
...
ADC_RESOLUTION is unused, and retries and retry_interval are only used by getVoltage().
Thus, remove ADC_RESOLUTION and move retries and retry_interval to MQUnifiedsensor.cpp.
Furthermore, these three definitions have generic names so it's easy to have them
conflict with a user's sketch that imports MQUnifiedSensor.h.
2023-04-03 08:53:13 -07:00
Miguel Angel Califa Urquiza
35180270ac
Merge pull request #56 from PsySc0rpi0n/patch-2
...
Update MQUnifiedsensor.cpp
2023-03-15 16:35:26 -05:00
PsySc0rpi0n
3368613dd7
Update MQUnifiedsensor.h
2022-09-07 22:24:54 +01:00
PsySc0rpi0n
9f41530cda
Update MQUnifiedsensor.cpp
...
Change the `_type` array size from 6 to 7 so that it can display sensor name's with 6 characters or more.
2022-09-07 22:23:27 +01:00
miguel5612
e3f5e2ec0c
Added unit tests! to validate library calculations
2022-03-21 14:32:37 -05:00
miguel5612
964204706f
Added correction factor for Rs/R0 (Ratio)
2022-03-20 09:48:02 -05:00
miguel5612
1f8310a6e7
Changed type of RL internally to fix bug #37
2022-03-20 09:44:30 -05:00
miguel5612
700d367d93
Fix Rs calculation for MQ303A
2022-03-20 09:32:31 -05:00
miguel5612
c934152cd7
Added MQ135-ADS1115 example and feature
2022-03-20 08:28:45 -05:00
Vincenzo Manzoni
bf6d90db69
_VOLT_RESOLUTION data type changed to float
...
_VOLT_RESOLUTION can be either 5 or 3.3 V. However, 3.3 V cannot be stored properly in a byte data type and it requires a float data type.
2021-11-03 00:31:39 +01:00
miguel5612
688827ffb4
Fixed MQ-131 Issue
2020-04-20 19:40:27 -05:00
miguel5612
39b4449899
Added parenthesis to make clear the operation
2020-04-04 10:16:15 -05:00
miguel5612
ff0cb0562a
Fixed ADC_Bit_Resolution for _ADC_Bit_Resolution
2020-04-04 09:50:14 -05:00
miguel5612
f83e0fb0d7
Fixed bit comparation to strin
2020-03-30 19:54:22 -05:00
miguel5612
1840c75c0a
Added external A2_D Support
2020-03-29 22:03:45 -05:00
miguel5612
70fbaa9115
Added Linear ecuation on test algorithm
2020-03-28 12:58:25 -05:00
miguel5612
ce87a05178
Added sources
2020-03-28 12:25:48 -05:00
miguel5612
8bdb1fc193
Updated linear regresion method
2020-03-28 12:23:38 -05:00
miguel5612
3d1bb90e38
Changed variable types
2020-03-27 22:54:05 -05:00
miguel5612
d0f49fa4f0
Fixed print issue
2020-03-27 21:57:28 -05:00
miguel5612
1712dc56c9
Fixed algorithm calculation
2020-03-27 21:02:15 -05:00
miguel5612
510e8dac53
Updated regression model selection
2020-03-26 22:18:07 -05:00
miguel5612
c67ceab56a
Updated add comment
2020-03-26 20:13:58 -05:00
miguel5612
a4ea39b2f4
Added test equation
2020-03-26 20:13:27 -05:00
miguel5612
ad69c46d87
Added space | stetic details
2020-03-26 12:19:36 -05:00
miguel5612
7e497b0833
Fixed comments
2020-03-26 11:59:34 -05:00
miguel5612
3ae663163b
Fixed example
2020-03-26 11:54:18 -05:00
miguel5612
532a83e186
Fixed example
2020-03-26 11:39:50 -05:00
miguel5612
d79a303ce9
Added ohm sign on debug serial
2020-03-26 11:24:39 -05:00
miguel5612
1b351f9495
Fixed overflow
2020-03-26 11:17:46 -05:00
miguel5612
abac48da38
Fixed voltage calculation
2020-03-26 11:08:53 -05:00
miguel5612
12695e75a6
Added debug on MQ-3
2020-03-26 10:56:52 -05:00
miguel5612
aa11343a97
Fixed mq-3 example
2020-03-26 10:23:51 -05:00
miguel5612
a03ceab3dc
Updated method name
2020-03-26 10:12:04 -05:00
miguel5612
7cec5bbb77
Removed old prints
2020-03-26 10:09:36 -05:00
miguel5612
b6b36edb9d
Removed unused code and added serial debug
2020-03-26 09:56:29 -05:00
miguel5612
fae50dc388
Removed macros
2020-03-26 09:03:40 -05:00
Miguel Angel Califa Urquiza
b85e7520d4
Merge pull request #14 from miguel5612/develop
...
Value of _RLValue - Added getRL and setRL method
2019-09-28 11:07:40 -05:00
miguel califa
0f912a3c4a
Value of _RLValue - Added getRL and setRL method
2019-09-28 11:05:55 -05:00
miguel5612
b2616295a3
Respect upper and down limits from datasheet indicating 0 PPM or 9999 PPM
2019-09-08 12:49:02 -05:00
aetilius
cfe8ccc6ad
Correct data type for voltage resolution
2019-09-07 13:20:13 -07:00
miguel5612
e7ed12ea09
Removed Benzene from MQ2 sensor
2019-08-15 21:31:42 -05:00
miguel5612
9d69abbdd9
Updated analisis
2019-08-15 20:47:42 -05:00
Miguel Angel Califa Urquiza
1140a6cc13
Update MQUnifiedsensor.h
2019-08-15 11:52:19 -05:00