Joy-it MPU6050 Bruksanvisning
Läs nedan 📖 manual på svenska för Joy-it MPU6050 (9 sidor) i kategorin Detektor. Denna guide var användbar för 14 personer och betygsatt med 4.5 stjärnor i genomsnitt av 2 användare
Sida 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.
Produktspecifikationer
Varumärke: | Joy-it |
Kategori: | Detektor |
Modell: | MPU6050 |
Behöver du hjälp?
Om du behöver hjälp med Joy-it MPU6050 ställ en fråga nedan och andra användare kommer att svara dig
Detektor Joy-it Manualer
8 September 2024
Detektor Manualer
- Detektor Bosch
- Detektor Garmin
- Detektor Honeywell
- Detektor Alecto
- Detektor Amprobe
- Detektor Brennenstuhl
- Detektor Hikvision
- Detektor Nedis
- Detektor Pyle
- Detektor Milwaukee
- Detektor Elro
- Detektor Extech
- Detektor Denver
- Detektor Ei Electronics
- Detektor Optex
- Detektor Axis
- Detektor Metrix
- Detektor Voltcraft
- Detektor Maginon
- Detektor Dometic
- Detektor Velleman
- Detektor Techly
- Detektor Smartwares
- Detektor Marquant
- Detektor Ferrex
- Detektor Perel
- Detektor Kyoritsu
- Detektor Steinel
- Detektor IFM
- Detektor Flir
- Detektor Royal Sovereign
- Detektor Olympia
- Detektor Soler And Palau
- Detektor Dahua Technology
- Detektor Grothe
- Detektor Trotec
- Detektor Netatmo
- Detektor Cobra
- Detektor Hager
- Detektor Powerfix
- Detektor BRK
- Detektor Busch-Jaeger
- Detektor Duro
- Detektor Fluke
- Detektor X4-Tech
- Detektor Jung
- Detektor DSC
- Detektor Steinberg
- Detektor Laserliner
- Detektor Astralpool
- Detektor Iget
- Detektor Nexa
- Detektor Satel
- Detektor Homematic IP
- Detektor Testo
- Detektor Sauter
- Detektor Garrett
- Detektor X-Sense
- Detektor ORNO
- Detektor Toolcraft
- Detektor Mercury
- Detektor Multimetrix
- Detektor Gamma Scout
- Detektor Ferguson
- Detektor Ebode
- Detektor Beha-Amprobe
- Detektor Vimar
- Detektor Escort
- Detektor ZKTeco
- Detektor System Sensor
- Detektor Inovonics
- Detektor V-Tac
- Detektor Guardian Avionics
- Detektor EVOLVEO
- Detektor Thitronik
- Detektor Whistler
- Detektor Cavius
- Detektor Chauvin Arnoux
- Detektor Pentatech
- Detektor PCE Instruments
- Detektor Flow Smoke Detector
- Detektor Techno Line
- Detektor Benewake
- Detektor BeeSecure
- Detektor Fisher
- Detektor SureCall
- 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 National Geographic
- Detektor GEV
- Detektor S.E. International
- Detektor Rocky Mountain
- Detektor Skyscan
- Detektor Bearware
- Detektor Winland
- Detektor Noyafa
Nyaste Detektor Manualer
9 Januari 2025
7 Januari 2025
4 Januari 2025
31 December 2025
31 December 2025
31 December 2025
30 December 2025
30 December 2025
29 December 2024
29 December 2024