B4R Tutorial Visualizing MPU6050 Accelerometer and Gyroscope - Pitch, Roll and Yaw with inline C and Processing - Johan Schoeman    
Feb 29, 2020   
(8 reactions) Gyroscope Sensor Tutorial
by Dejan, https://howtomechatronics.com
*/
#include <Wire.h>
const int...(AccY, 2) + pow(AccZ, 2))) * 180 / PI) + 7.05; // AccErrorY ~(-1.58)
// === Read gyroscope data...
link:
Make sure you are setting the port correctly in the Processing sample project for your Arduino proc...
link:
Thanks, I will try this
Make sure you are setting the port correctly in the Processing sample proj...
link: Thanks, I will try this...
B4R Question Problem in use GY-521 Gyroscope library - vali khandangoll (first post)    
Jun 15, 2023
You can download it from the url
please send my your program pins connection....
link:
Hi
I used your library.
When I want to upload show this error.
Can you please look into the matter...
link:
Perhaps you can use the library
Hi
I used your library.
When I want to upload show this error.
Ca...
link: س
If you use Arduino- connect SCL to A5, SDA to A4, 3.3V and ground
If you use Wemos or Nodemcu - ...
B4i Question motion sensor (gyroscope) lib?? - ilan    
Jan 20, 2015can i use the motion sensor in b4i??...
link: Yes: Monitor the device attitude (orientation) and acceleration with Motion object...
B4A Question rotation of phone with GYROSCOPE [SOLVED] - grazianod (first post)    
Jul 30, 2017Thanks Erel, but problem is different. Gyroscope give rad/s and not absolute degree of rotation.
i just solved with a small calculation:
rad/s = 57.3°/s... i chechk timestamp and with the difference of 2 moments i have the exact rotation in degree (i'm not expert in matematic, but he works...
link: Check this example: https://www.b4x.com/android/forum/threads/orientation-and-accelerometer.6647/#content...
link: it is on the table and i rotate it).
i think i must use GYROSCOPE, do you have same idea how to calculate...
B4A Question Pitch/Roll/Yaw using Gyroscope/Accelerometer/Compass - Victor jung (first post)    
Jun 9, 2015it can be done with this lib and example:
https://www.b4x.com/android/forum/threads/sensor-extender-library.12954/#post-225646...
link: Does anyone have experience calculating the Pitch / Roll / Yaw using the Gyroscope/Accelerometer...
B4A Question Device yaw in degrees using gyroscope. - synasir (first post)    
Dec 26, 2012The accelerometer can do that. Hold your device like a steering wheel and this will show the angle i...
link: to use the orientation sensor instead of the gyroscope.
The X of the orientation sensor gets...
link: use the orientation sensor instead of the gyroscope....
B4A Question Sensors example - GiovanniPolese    
May 7, 2022 problem, accessing Gyroscope sensor, that seems to be the only sensor able to detect phone position... that no Gyroscope sensor is available. I did nothing but compiling the example found here. I tried...
link: my problem, accessing Gyroscope sensor, that seems to be the only sensor able to detect phone...
B4A Question shootgun to smarttv android screen - scsjc    
Jul 15, 2023I want to share the Android screen to the smarttv, and be able to have a light or infrared gun to be able to make a shootgun game.
A few days ago I thought that using a laser projected on the smarttv and recognizing the color of the laser would work well. but it gives problems when mixing some colors.
Does anyone have any ideas to be able to make a gun for a screen.
I have thought about using an arduino with a gyroscope but it is not a very good idea either.
thank you very much to all...
B4i Library [CLASS] XPhoneSensor - Motion object as per B4A - JackKirk    
May 22, 2017   
(2 reactions)   
tags: B4iThis class allows you to easily port to B4i a B4A app that uses the B4A PhoneSensors object with types TYPE_ACCELEROMETER, TYPE_MAGNETIC_FIELD and TYPE_GYROSCOPE.
"Out of the box"... these deficiencies and adds:
Gyroscope.
Calibrated magnetometer calibration accuracy - in this class...: current gyroscope readings about device X Y Z axes
Line 5: calibrated magnetometer calibration... get gyroscope.
Calibrated magnetometer comes from this post:
https://www.b4x.com/android/forum...
B4R Question Can this be implemented in B4R? - Beja    
Mar 18, 2021Hi all,
Arduino voice recognition..
<iframe width="683" height="384" src="https://www.youtube.com/embed/Ur1tzMDP97g" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>...
Page: 1  
2  
3  
4  
5  
6  
7