Joy-it MPU6050 Handleiding
Lees hieronder de ๐ handleiding in het Nederlandse voor Joy-it MPU6050 (9 pagina's) in de categorie Detector. Deze handleiding was nuttig voor 47 personen en werd door 2 gebruikers gemiddeld met 4.5 sterren beoordeeld
Pagina 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:
A๎
er 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.
Product specificaties
Merk: | Joy-it |
Categorie: | Detector |
Model: | MPU6050 |
Kleur van het product: | Zwart |
Gewicht: | 1 g |
Breedte: | 25 mm |
Diepte: | 20 mm |
Hoogte: | 7 mm |
Aantal per verpakking: | 1 stuk(s) |
Compatibiliteit: | Joy-iT MPU6050 |
Heb je hulp nodig?
Als je hulp nodig hebt met Joy-it MPU6050 stel dan hieronder een vraag en andere gebruikers zullen je antwoorden
Handleiding Detector Joy-it
4 Juli 2023
Handleiding Detector
- Detector Bosch
- Detector Garmin
- Detector Gigaset
- Detector Honeywell
- Detector Pioneer
- Detector Abus
- Detector Alecto
- Detector Amprobe
- Detector AngelEye
- Detector Axis
- Detector Beha-Amprobe
- Detector Brennenstuhl
- Detector BRK
- Detector Denver
- Detector Dometic
- Detector Duro
- Detector Ebode
- Detector Elro
- Detector Extech
- Detector Ferguson
- Detector Ferrex
- Detector FireAngel
- Detector Flir
- Detector Fluke
- Detector Gamma Scout
- Detector Gossen
- Detector Grothe
- Detector Hager
- Detector Hikvision
- Detector Iget
- Detector Konig
- Detector Laserliner
- Detector Maginon
- Detector Marquant
- Detector Mercury
- Detector Metrix
- Detector National Geographic
- Detector Nedis
- Detector Netatmo
- Detector PCE Instruments
- Detector Powerfix
- Detector Pyle
- Detector Royal Sovereign
- Detector Sanwa
- Detector Satel
- Detector Siedle
- Detector Silverline
- Detector Skil
- Detector Smartwares
- Detector Steinel
- Detector Techno Line
- Detector Toolcraft
- Detector Trotec
- Detector Uniden
- Detector V-Tac
- Detector Velleman
- Detector Voltcraft
- Detector X4-Tech
- Detector Xavax
- Detector Jung
- Detector Olympia
- Detector Optex
- Detector Black And Decker
- Detector Schwaiger
- Detector Soler And Palau
- Detector Safescan
- Detector Cobra
- Detector Sauter
- Detector Sun Joe
- Detector Techly
- Detector DSC
- Detector Fisher
- Detector Garrett
- Detector Genie
- Detector Tripp Lite
- Detector Nexa
- Detector EVOLVEO
- Detector Whistler
- Detector Vemer
- Detector Ei Electronics
- Detector FireX
- Detector GEV
- Detector AcuRite
- Detector Testo
- Detector System Sensor
- Detector Testboy
- Detector IFM
- Detector Kyoritsu
- Detector Dahua Technology
- Detector Busch-Jaeger
- Detector Popp
- Detector Homematic IP
- Detector X-Sense
- Detector Kreator
- Detector ORNO
- Detector Multimetrix
- Detector Vimar
- Detector Escort
- Detector ZKTeco
- Detector Inovonics
- Detector Guardian Avionics
- Detector Thitronik
- Detector Cavius
- Detector Chauvin Arnoux
- Detector Pentatech
- Detector Flow Smoke Detector
- Detector Benewake
- Detector BeeSecure
- Detector Resideo
- Detector SureCall
- Detector Schabus
- Detector Zircon
- Detector STI
- Detector HT Instruments
- Detector BlendMount
- Detector K40
- Detector Gewiss
- Detector Seco-Larm
- Detector Seaward
- Detector Silent Knight
- Detector S.E. International
- Detector Rocky Mountain
- Detector Skyscan
- Detector Bearware
- Detector Winland
- Detector Noyafa
Nieuwste handleidingen voor Detector
18 November 2024
17 November 2024
17 November 2024
16 November 2024
16 November 2024
15 November 2024
15 November 2024
15 November 2024
5 November 2024
11 September 2024