Joy-it SEN-MQ3 Handleiding


Lees hieronder de đź“– handleiding in het Nederlandse voor Joy-it SEN-MQ3 (5 pagina's) in de categorie Niet gecategoriseerd. Deze handleiding was nuttig voor 14 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 AL
OG AL
OG AL
OG ALOG ALC
C
C
CCOHOL ETH
OHOL ETH
OHOL ETH
OHOL ETHOHOL ETHANOL SMOKE
ANOL SMOKE
ANOL SMOKE
ANOL SMOKE ANOL SMOKE
SENSOR
SENSOR
SENSOR
SENSORSENSOR
SEN MQ3-
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 that the
e that the
e that the
e that the e that the sensor requ
sensor requ
sensor requ
sensor requsensor requires a w
ires a w
ires a w
ires a wires a warm
arm
arm
armarm up phase to
up phase to
up phase to
up phase toup phase to pro-
pro-
pro-
pro- pro-
-
-
-
--
vide ac
vide ac
vide ac
vide acvide accur
cur
cur
curcura
a
a
aate
te
te
te te re
re
re
rereadin
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 MQ3 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 na
This na
This na
This naThis natur
tur
tur
turtural alc
al alc
al alc
al alcal alco
o
o
oohol sen-
hol sen-
hol sen-
hol sen-hol 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 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 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 alcohol or ethanol 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-MQ3
Kleur van het product: Blauw
Breedte: 32 mm
Diepte: 21 mm
Hoogte: 20 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-MQ3 stel dan hieronder een vraag en andere gebruikers zullen je antwoorden




Handleiding Niet gecategoriseerd Joy-it

Handleiding Niet gecategoriseerd

Nieuwste handleidingen voor Niet gecategoriseerd