Joy-it SEN-MQ5 Handleiding


Lees hieronder de đź“– handleiding in het Nederlandse voor Joy-it SEN-MQ5 (5 pagina's) in de categorie Niet gecategoriseerd. Deze handleiding was nuttig voor 8 personen en werd door 2 gebruikers gemiddeld met 4.5 sterren beoordeeld

Pagina 1/5
www.joy it.net-
Pascalstr. 8 47506 Neukirchen Vluyn-
ANAL
ANAL
ANAL
ANALANALOG SENSOR F
OG SENSOR F
OG SENSOR F
OG SENSOR FOG SENSOR FOR NATURAL GAS
OR NATURAL GAS
OR NATURAL GAS
OR NATURAL GASOR NATURAL GAS
SEN MQ5-
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 not
ase not
ase not
ase notase note tha
e tha
e tha
e thae that the sensor requir
t the sensor requir
t the sensor requir
t the sensor requirt the sensor requires a warm
es a warm
es a warm
es a warmes a warm 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 accura
cura
cura
curacurate re
te re
te re
te rete readings.
adings.
adings.
adings.adings.
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
Raspberry Pi ADC MQ5 V. Translator
GND (Pin 6, 14, 9...) GND GND (Pin 1) GND
5V (Pin 2, 4) VDD VCC (Pin2) 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 na
This na
This na
This naThis natur
tur
tur
turtural g
al g
al g
al gal gas sens
as sens
as sens
as sensas sensor is
or is
or is
or is or is
an analog sensor
an analog sensor
an analog sensor
an analog sensoran analog sensor.
.
.
..
Sinc
Sinc
Sinc
SincSince the Raspbe
e the Raspbe
e the Raspbe
e the Raspbee the Raspberr
rr
rr
rrrry Pi has
y Pi has
y Pi has
y Pi has y 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 convert
onvert
onvert
onvertonverter
er
er
erer. 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
o
o
oo 5V volt
5V volt
5V volt
5V volt 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 KY053 and the
KY053 and the
KY053 and the
KY053 and the KY053 and the Com
Com
Com
ComCom
-
-
-
-- -
-
-
--
KY051
KY051
KY051
KY051KY051 volt
volt
volt
volt voltage tr
age tr
age tr
age trage transla
ansla
ansla
anslaanslator
tor
tor
tor tor
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 natural gas 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 commands:
sudo raspi config-
sudo apt get update-
sudo apt get install python3 pip- -
sudo pip3 install adafruit circuitpython ads1x15- -


Product specificaties

Merk: Joy-it
Categorie: Niet gecategoriseerd
Model: SEN-MQ5
Kleur van het product: Zwart
Gewicht: 8 g
Breedte: 52 mm
Diepte: 20 mm
Hoogte: 18 mm
Soort: Zachte transportbox voor huisdieren
Merkcompatibiliteit: Alle merken
Compatibiliteit: Arduino/Raspberry Pi
Type product: Gassensor

Heb je hulp nodig?

Als je hulp nodig hebt met Joy-it SEN-MQ5 stel dan hieronder een vraag en andere gebruikers zullen je antwoorden




Handleiding Niet gecategoriseerd Joy-it

Handleiding Niet gecategoriseerd

Nieuwste handleidingen voor Niet gecategoriseerd