Instrukcja obsługi Joy-It SEN-MQ6


Przeczytaj poniżej 📖 instrukcję obsługi w języku polskim dla Joy-It SEN-MQ6 (5 stron) w kategorii detektor gazu. Ta instrukcja była pomocna dla 6 osób i została oceniona przez 2 użytkowników na średnio 4.5 gwiazdek

Strona 1/5
www.joy it.net-
Pascalstr. 8 47506 Neukirchen Vluyn-
ANAL
ANAL
ANAL
ANALANALOG LPG, BUT
OG LPG, BUT
OG LPG, BUT
OG LPG, BUTOG LPG, BUTANE SENSOR
ANE SENSOR
ANE SENSOR
ANE SENSORANE SENSOR
SEN MQ6 -
1. GENERAL INFORMATION
1. GENERAL INFORMATION
1. GENERAL INFORMATION
1. GENERAL INFORMATION1. GENERAL INFORMATION
Dear costumer,
thank you very much for choosing our product.
In following, we will introduce you to what to observe while starting up
and using this product.
Should you encounter any unexpected problems during use, please do
not hesitate to contact us.
Ple
Ple
Ple
PlePlease no
ase no
ase no
ase noase not
t
t
tte tha
e tha
e tha
e thae that the sensor requ
t the sensor requ
t the sensor requ
t the sensor requt the sensor requires a w
ires a w
ires a w
ires a wires a warm
arm
arm
armarm up phase t
up phase t
up phase t
up phase tup phase to pro-
o pro-
o pro-
o pro-o pro-
-
-
-
--
vide ac
vide ac
vide ac
vide acvide accur
cur
cur
curcura
a
a
aat
t
t
tte re
e re
e re
e ree readin
adin
adin
adinadings.
gs.
gs.
gs.gs.
Pascalstr. 8 47506 Neukirchen Vluyn-
2. COMMISSIONING WITH THE RASPBERRY
2. COMMISSIONING WITH THE RASPBERRY
2. COMMISSIONING WITH THE RASPBERRY
2. COMMISSIONING WITH THE RASPBERRY2. COMMISSIONING WITH THE RASPBERRY PI
PI
PI
PI PI
Raspberry Pi ADC MQ6 V. Translator
GND (Pin 6, 14, 9...) GND GND (Pin2) GND
5V (Pin 2, 4) VDD VCC (Pin1) VCCb
3V (Pin 1, 17) VCCa - -
BCM17 (Pin 11) - - A3
- - B3 D0 (Pin 3)
- A0 Signal (Pin 4)
SCL (Pin 5) - - A2
SDA (Pin 3) - - A1
- - B2 SCL
- - B1 SDA
Wiring:
Wiring:
Wiring:
Wiring:Wiring:
This LPG and bu
This LPG and bu
This LPG and bu
This LPG and buThis LPG and buta
ta
ta
tatane
ne
ne
ne ne sen-
sen-
sen-
sen-sen-
sor is an analog senso
sor is an analog senso
sor is an analog senso
sor is an analog sensosor is an analog sensor
r
r
rr.
.
.
..
Sinc
Sinc
Sinc
SincSince the Raspberry Pi has
e the Raspberry Pi has
e the Raspberry Pi has
e the Raspberry Pi has e the Raspberry Pi has
no analog inputs,
no analog inputs,
no analog inputs,
no analog inputs, no analog inputs, you
you
you
you you
have t
have t
have t
have thave to use an analog
o use an analog
o use an analog
o use an analogo use an analog-
-
-
--to
to
to
toto-
-
-
--
digital c
digital c
digital c
digital cdigital converter
onverter
onverter
onverteronverter. Y
. Y
. Y
. Y. You will
ou will
ou will
ou will ou will
also need a 3V t
also need a 3V t
also need a 3V t
also need a 3V talso need a 3V to 5V volt
o 5V volt
o 5V volt
o 5V volto 5V volt-
-
-
--
age
age
age
age age tr
tr
tr
trtranslat
anslat
anslat
anslatanslator
or
or
oror.
.
.
..
In this exampl
In this exampl
In this exampl
In this examplIn this example the ADC
e the ADC
e the ADC
e the ADC e the ADC
C
C
C
CCOM
OM
OM
OMOM K
K
K
KKY053 and the
Y053 and the
Y053 and the
Y053 and the Y053 and the Com
Com
Com
ComCom
-
-
-
-- -
-
-
--
KY051
KY051
KY051
KY051KY051 volt
volt
volt
volt voltag
ag
ag
agage tr
e tr
e tr
e tre tra
a
a
aansla
nsla
nsla
nslanslat
t
t
ttor
or
or
or or
from Jo
from Jo
from Jo
from Jofrom Joy
y
y
yy it is used.
it is used.
it is used.
it is used.it is used.
-
-
-
--
www.joy it.net-
Pascalstr. 8 47506 Neukirchen Vluyn-
2. COMMISSIONING WITH THE RASPBERRY
2. COMMISSIONING WITH THE RASPBERRY
2. COMMISSIONING WITH THE RASPBERRY
2. COMMISSIONING WITH THE RASPBERRY2. COMMISSIONING WITH THE RASPBERRY PI
PI
PI
PI PI
C
C
C
CCo
o
o
ood
d
d
dde
e
e
ee
e
e
e
eex
x
x
xxa
a
a
aam
m
m
mmp
p
p
ppl
l
l
lle
e
e
ee:
:
:
::
The higher the analog input voltage, the higher the measured LPG or Butane value.
The value range is from 0 to 5.
The D0 pin of the sensor is automatically set to LOW when the limit value is reached.
With the blue potentiometer on the board, you can set the limit value.
In the following code example, the analog value of the sensor is read out every 5 seconds
and displayed in the console.
from time import sleep
import board
import busio
import as adafruit_ads1x15.ads1115 ADS
from adafruit_ads1x15.analog_in import AnalogIn
import as RPi.GPIO GPIO
GPIO.setmode(GPIO.BCM)
GPIO.setup(17, GPIO.IN)
# Create the I2C bus
i2c = busio.I2C(board.SCL, board.SDA)
# Create the ADC object using the I2C bus
ads = ADS.ADS1115(i2c)
ads.gain = 2/3
# Create single-ended input on channels
chan0 = AnalogIn(ads, ADS.P0)
chan1 = AnalogIn(ads, ADS.P1)
chan2 = AnalogIn(ads, ADS.P2)
chan3 = AnalogIn(ads, ADS.P3)
try:
while True:
if GPIO.input( ) == GPIO.LOW:17
print("Warning: Limit exceeded!!!")
print("{:>5.3f}".format(chan0.voltage))
sleep(2.5)
except :KeyboardInterrupt
GPIO.cleanup()
Installation:
Installation:
Installation:
Installation:Installation:
To be able to use the ADC, you must first enable I2C.
Enter the following command:
Navigate to and enable the I2C interface.
Interfacing Options
Interfacing Options
Interfacing Options
Interfacing Options Interfacing Options -> I2C
I2C
I2C
I2C I2C
You must also install the Python library of the ADC.
Enter the following command:
sudo raspi config-
sudo apt get update-
sudo apt get install python3 pip- -
sudo pip3 install adafruit circuitpython ads1x15 - -


Specyfikacje produktu

Marka: Joy-It
Kategoria: detektor gazu
Model: SEN-MQ6

Potrzebujesz pomocy?

Jeśli potrzebujesz pomocy z Joy-It SEN-MQ6, zadaj pytanie poniżej, a inni użytkownicy Ci odpowiedzą