Használati útmutató Joy-It MPU6050
Olvassa el alább 📖 a magyar nyelvű használati útmutatót Joy-It MPU6050 (9 oldal) a detektor kategóriában. Ezt az útmutatót 9 ember találta hasznosnak és 2 felhasználó értékelte átlagosan 4.5 csillagra
Oldal 1/9

www.joy it.net-
Pascalstr. 8 47506 Neukirchen Vluyn-
GYROSC
GYROSC
GYROSC
GYROSCGYROSCOPE & A
OPE & A
OPE & A
OPE & AOPE & AC
C
C
CCCELEROMETER MODULE
CELEROMETER MODULE
CELEROMETER MODULE
CELEROMETER MODULECELEROMETER MODULE
SEN MPU6050-
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.

www.joy it.net-
Pascalstr. 8 47506 Neukirchen Vluyn-
2. COMMISSIONING WITH A
2. COMMISSIONING WITH A
2. COMMISSIONING WITH A
2. COMMISSIONING WITH A2. COMMISSIONING WITH A RASPBERRY PI
RASPBERRY PI
RASPBERRY PI
RASPBERRY PI RASPBERRY PI
Raspberry Pi MPU6050
3v3 (Pin1) VCC
GND (Pin 6) GND
SCL (Pin 5) SCL
SDA (Pin 3) SDA
Wiring:
Wiring:
Wiring:
Wiring:Wiring:
Aer the sensor is connected, you have to activate I2C. Open the terminal and enter the following com-
mand:
Now enable the I2C interface under .
Interfaci
Interfaci
Interfaci
InterfaciInterfacing Options
ng Options
ng Options
ng Options ng Options -> I2C
I2C
I2C
I2CI2C
You can now create the program file.
First, we create a new file in the document folder with following commands:
Then copy the example code, shown on the following pages, completely into the recently created le.
cd Documents
sudo nano MPU6050.py
sudo raspi-config

www.joy it.net-
Pascalstr. 8 47506 Neukirchen Vluyn-
2. COMMISSIONING WITH A RASPBERRY PI
2. COMMISSIONING WITH A RASPBERRY PI
2. COMMISSIONING WITH A RASPBERRY PI
2. COMMISSIONING WITH A RASPBERRY PI2. COMMISSIONING WITH A RASPBERRY PI
#!/usr/bin/python
import smbus
import math
import time
power_mgmt_1 = 0x6b
power_mgmt_2 = 0x6c
def read_byte(reg):
bus.read_byte_data(address, reg)return
def read_word(reg):
h = bus.read_byte_data(address, reg)
l = bus.read_byte_data(address, reg+1)
value = (h << ) + l8
valuereturn
def read_word_2c(reg):
val = read_word(reg)
(val >= ):if 0x8000
(( val) + return -65535 -1)
else:
valreturn
def dist(a,b):
math.sqrt((a*a)+(b*b))return
def get_y_rotation(x,y,z):
radians = math.atan2(x, dist(y,z))
math.degrees(radians)return -
def get_x_rotation(x,y,z):
radians = math.atan2(y, dist(x,z))
math.degrees(radians)return
bus = smbus.SMBus( ) 1
address = 0x68 # I2C Address-
bus.write_byte_data(address, power_mgmt_1, 0)
while :True
)gyroskop_xout = read_word_2c(0x43
)gyroskop_yout = read_word_2c(0x45
)gyroskop_zout = read_word_2c(0x47
Continuation of the example code on the next page.
Termékspecifikációk
Márka: | Joy-It |
Kategória: | detektor |
Modell: | MPU6050 |
Szüksége van segítségre?
Ha segítségre van szüksége Joy-It MPU6050, tegyen fel kérdést alább, és más felhasználók válaszolnak Önnek
Útmutatók detektor Joy-It

18 Augusztus 2024
Útmutatók detektor
- detektor National Geographic
- detektor Dometic
- detektor Nedis
- detektor Milwaukee
- detektor Garmin
- detektor Bosch
- detektor Evolveo
- detektor Voltcraft
- detektor Vimar
- detektor ORNO
- detektor Gigaset
- detektor Hikvision
- detektor Techno Line
- detektor Mercury
- detektor DSC
- detektor V-TAC
- detektor Toolcraft
- detektor Chauvin Arnoux
- detektor Dahua Technology
- detektor Cobra
- detektor Denver
- detektor Black & Decker
- detektor Beha-Amprobe
- detektor X4 Tech
- detektor Extech
- detektor Testo
- detektor Nexa
- detektor Powerfix
- detektor Garrett
- detektor Ei Electronics
- detektor Alecto
- detektor Honeywell
- detektor Velleman
- detektor FireAngel
- detektor Trotec
- detektor Sauter
- detektor Elro
- detektor Fluke
- detektor Busch-Jaeger
- detektor Olympia
- detektor Metrix
- detektor ZKTeco
- detektor Abus
- detektor Konig
- detektor Marmitek
- detektor Pyle
- detektor Testboy
- detektor Steinel
- detektor IFM
- detektor Kyoritsu
- detektor Uniden
- detektor Vemer
- detektor Silverline
- detektor Steinberg
- detektor Homematic IP
- detektor Axis
- detektor Optex
- detektor Soler & Palau
- detektor Multimetrix
- detektor SureCall
- detektor Genie
- detektor Schwaiger
- detektor Laserliner
- detektor Smartwares
- detektor IGET
- detektor AngelEye
- detektor Amprobe
- detektor Brennenstuhl
- detektor Skil
- detektor Sun Joe
- detektor Maginon
- detektor Techly
- detektor Marquant
- detektor Ferrex
- detektor Perel
- detektor Gossen
- detektor Flir
- detektor Royal Sovereign
- detektor AcuRite
- detektor Grothe
- detektor Safescan
- detektor Siedle
- detektor Netatmo
- detektor Hager
- detektor BRK
- detektor Duro
- detektor Xavax
- detektor Jung
- detektor FireX
- detektor Popp
- detektor Satel
- detektor X-Sense
- detektor Kreator
- detektor Gamma Scout
- detektor Ferguson
- detektor Ebode
- detektor Escort
- detektor System Sensor
- detektor Inovonics
- detektor Guardian Avionics
- detektor Thitronik
- detektor Whistler
- detektor Cavius
- detektor Pentatech
- detektor PCE Instruments
- detektor Flow Smoke Detector
- detektor Benewake
- detektor BeeSecure
- detektor Fisher
- detektor Schabus
- detektor Zircon
- detektor Protector
- detektor Sanwa
- detektor Resideo
- detektor STI
- detektor HT Instruments
- detektor BlendMount
- detektor K40
- detektor Gewiss
- detektor Seco-Larm
- detektor Silent Knight
- detektor Seaward
- detektor GEV
- detektor S.E. International
- detektor Rocky Mountain
- detektor Skyscan
- detektor Bearware
- detektor Winland
- detektor Noyafa
- detektor Bounty Hunter
- detektor Craftfull
Legújabb útmutatók detektor

31 Március 2025

28 Március 2025

21 Március 2025

15 Március 2025

12 Január 2025

9 Január 2025

4 Január 2025

31 December 2025

31 December 2025

31 December 2025