A component which measures G-force to detect which direction it is moved or tilted in.
0
votes
2answers
15 views
MPU6050 acceleration values not 16-bit?
I'm looking at the little code snippet from this (many other projects also use similar code):
void loop(){
mpu.getMotion6(&ax, &ay, &az, &gx, &gy, &gz);
ax = map(ax, ...
0
votes
1answer
52 views
PID control arduino
I am hooking up an accelerometer to an arduino uno and running it through this pid controller. However the output isnt going to my setpoint. When i move the accelerometer back and forth the data goes ...
1
vote
0answers
24 views
How to interpret accel/gryo values
I'm trying to measure acceleration and rotation using an MPU-6050 as explained in this tutorial. I'm able to read values, and they change proportional to how I might move the sensor. However, the raw ...
0
votes
0answers
20 views
Voltage requirement for Trinket 3V, accelerometer and three RGB LED strands
I am using a 3.7V 2000mAh Lipo battery to power a small project: 3V Trinket Pro which reads analog x,y,z values off of ADXL335 accelerometer and outputs them to three addressable LED strands (16 RGB ...
0
votes
1answer
30 views
Is there a way to combine a 3-axis accelerometer/gyroscope into one value?
I have a three-axis accelerometer that reads me its x, y, and z components. This results in three graphs. Is there a way to "combine" these components into one reading, hence, one graph? Same ...
1
vote
2answers
32 views
Accelerometer IoT
I am not sure if I am in the right place. I would like to build a device (as small as possible) that has an accelerometer and can talk to my phone via bluetooth. Im not asking anyone to build this for ...
1
vote
0answers
18 views
ADXL345 with SPI 4-wire interface returns -1, -1, -1
I've been trying to read values from my ADXL345 accelerometer breakout board with an SPI 4-wire interface. I have successfully used it with an I2C interface but I really need the extra speed.
I ...
0
votes
1answer
30 views
Managing 80 ~ 90 accelerometers with Arduino
If one were to want to keep track of data from 80 - 90 accelerometers using arduino, what would be the best way to go about this challenge?
2
votes
3answers
127 views
Can I measure velocity from an accelerometer? How accurately?
I've bought this module
Kootek GY-521 MPU-6050 MPU6050 Module 3 Axis analog gyro sensors+ 3 Axis Accelerometer Module
My project will involve affixing this to a moving object, moving at velocities ...
1
vote
0answers
58 views
How do I set my sampling rate?
I want to monitor the vibration from a motor running at 9.5Hz at 565rpm. I am using Arduino Uno and the ADXL345 as my condition monitoring equipment. How do I set the sampling frequency? I want to ...
3
votes
1answer
49 views
Accelerometer Interrupt Meaning - Wakeup Function
I am working with an LSM9DS1 IMU, and now specifically trying to program a wakeup feature into the system. My idea is to set the accelerometer at the lowest possible read rate, then when the ...
0
votes
1answer
42 views
Using 6 axis accelerometers
I've been messing around with accelerometers for Arduino for a school project. I bought the SODIAL GY-521 accelerometer + gyroscope module for Arduino. It uses de Invensense MPU 6050. I managed to ...
0
votes
2answers
61 views
Accelerometer axis inputs driving three RGB LED strips - Trinket Pro 5V
I am looking to take the analogRead Value of the x, y and z axis (at pins 0, 2 and 4) and if it's a motion state, perform a rainbow, cylone and cascade LED sequences using Adafruit Neopixel library.
...
3
votes
3answers
259 views
Send multiple sensor values over serial
I want to send a JSON string over serial from arduiono device to my computer. The JSON string contains a sensor value array. To fill this array I use String.concat("value") function. But If I have ...
1
vote
0answers
60 views
Get the rotation on Genuino 101
How can I get the exact rotation of the Genuino 101? I would like to create a plumb rule.
I tried the example app with processing, Arduino/Genuino 101 CurieIMU Orientation Visualiser, but it didn't ...
1
vote
0answers
410 views
Two MPU 9250 connected to one arduino (Code of the MPU6050 edited for MPU9250)
I have done a lot of tries to make my two IMU work with my arduino. I'm also done with many research about it and I found this code:
// I2C device class (I2Cdev) demonstration Arduino sketch for ...
3
votes
3answers
468 views
How to use Multiple MPU9250 to Arduino Lilypad
Is it possible to connect more than one or to be specific 5 MPU9250 into 1 Arduino lilypad? How will I set the addresses, and where should I put the pins for SDA and SCL? I hope someone out there ...
0
votes
1answer
46 views
SDA and SCL problem with MEMS
I have a simple question to ask you about SDA and SCL pins.
I have a gyro and I use these 2 pins to make it work; how can I use an accelerometer combined to a Gyro if these 2 pins are used? I should ...
1
vote
2answers
142 views
Connecting an arduino uno to an arduino due
So I am trying to get my arduino uno to talk to my arduino due but I'm having issues getting the data outputted on the due side. My arduino uno is the master while the due is the slave. The sensor is ...
1
vote
0answers
312 views
Accelerometer sensor gy-61 convert to m/s2
I have a problem calibrating my GY-61 accelerometer on an Arduino Uno to get values in m/s2.
Analog-reading code:
const int xPin = A5;
const int yPin = A4;
const int zPin = ...
1
vote
0answers
36 views
High current draw when serial monitor is on [closed]
I have a SPI accelerometer and I'm testing its current draw. When the serial monitor is switched off, it draws 300uA. However, when the monitor is switched on, it draws 1000uA. If the monitor is ...
1
vote
1answer
359 views
Using BLE Nano with LSM9DS1
I'm trying to use the BLE Nano to connect to a LSM9DS1 IMU. However when I am able to connect to the IMU, the values the Nano outputs do not update and do not seem to make sense.
I am able to ...
1
vote
2answers
132 views
Can anyone tell me about the onboard accelerometer of LightBlue Bean?
I would like to know the specs of the accelerometer used on a LightBlue Bean before buying one, but I couldn't find any info online. Anybody has an idea?
-1
votes
3answers
2k views
Plotting a real time graph of sensor data from Arduino on Processing, MatLab or Python
I have an accelerometer connected to my Arduino Due to spit out data on my serial monitor as described in my earlier post. I'm trying to find a sketch I could use to plot a continuous real-time graph ...
0
votes
1answer
97 views
Bluetooth distorts analog read?
I'm working to make a simple pedometer with Arduino, and after managing to find an algorithm that correctly finds the steps, I added a bluetooth extension (the overly popular and cheap JY-MCU) to ...
0
votes
1answer
72 views
Interrupt not firing on motion
I'm trying to get MMA8452Q to trigger an interrupt when motion is detected and wonder if I'm missing something very obvious here.
So I setup CTRL_REG4 to 0x0B with
void MMA8452Q::setupISR()
{
...
1
vote
2answers
118 views
Hardware to measure velocity via string/wire attatchment? beginner
This is a broad question but I want advice on what type of hardware I should look for to make a device that could measure the velocity of an object attached via a string/wire to some sort of rotary ...
1
vote
1answer
57 views
Function not successfully reading sensor registers
I'm trying to write a library for an accelerometer/magnetometer sensor. The sensor is a LSM303D chip (https://www.pololu.com/file/0J703/LSM303D.pdf).
I've written a function, readRegister() (below) ...
1
vote
1answer
260 views
Linear acceleration from MPU 6050
When reading the MPU 6050 has accelerometer and gyro, I assumed it was linear acceleration, but now I second guess that. From this video https://www.youtube.com/watch?v=qmd6CVrlHOM it seems like they ...
-2
votes
1answer
79 views
Need help in modifying the design
I am planning to do a project on Sequential tilt motion lock using Arduino uno and accelerometer. I would like to present the accelerometer within a rotatable object. So what other components do i ...
0
votes
1answer
51 views
What does a higher clock signal frequency actually mean for my AHRS?
I've got an Arduino with an ATmega328 processor. It can be operated at 3.3V which nets a clock signal frequency of about 12 MHz respectively 16 Mhz at 5V.
I've got an IMU connected to the Arduino and ...
0
votes
0answers
82 views
Possibility of interfacing accelerometer, Arduino Uno, and GSM module together
I want to connect:
An accelerometer (ADXL335/337);
An analogue to digital convertor (ADC0804);
An Arduino Uno, and;
A GSM module (SIM900a).
I want the GSM module to function only when a certain ...
1
vote
1answer
48 views
Will it work ? MPU6050 Gyro etc. etc. module
Will this code read the values properly ?
Using MPU6050.h.
#include <MPU6050.h>
#include <Wire.h>
void setup() {
Serial.begin(115200);
Wire.begin();
MPU6050.initialize();
}
void ...
0
votes
1answer
114 views
is there any possibility of connecting ACCELEROMETER + ARDUINO UNO + GSM module together?
I am lakshman a mechanical engineer,i have a question that is there any possibility of connecting ACCELEROMETER + ARDUINO UNO + GSM module together???
so that i can take the output value from ...
1
vote
1answer
152 views
XL335B accelerometer reports false readings
I'm using an XL335B accelerometer in a GY-61 breakout board. I'm powering the device using the UNO's built-in 3.3V power supply. The following code should convert the readings to m/s² (SI); however, ...
1
vote
5answers
267 views
Detect a non-human moving object
I would like to design a system in which I am able to make a light flash when a motion sensor detects a movement of a non human object such as a car.
(The goal here being that when a car is moving ...
2
votes
3answers
74 views
Sensing horizontal tilt
I'm building a digital gear shift knob, which would display current gear (1-5, R) and based on readings from OBD-II change color when gear shifting is required, to save on fuel consumption.
I need a ...
1
vote
0answers
72 views
How do I convert 3-axis accelerometer data (x, y, z) into a useful and presentable vibration unit (preferably ft/s²)?
I've purchased this sensor from Sparkfun and wish to collect real time vibration data from it. After hours of research I've been unable to find any real solution to this question, only that it seems ...
0
votes
1answer
89 views
is any windows application available for accelerometer based computer mouse
I want to make an AIR mouse using Arduino
and accelerometer, for this i used USB to TTL
converter i have done everything successfully
but can anyone tell me how use it in computer.
I mean i don't know ...
0
votes
1answer
21 views
is any windows application available for accelerometer based computer mouse [duplicate]
I want to make an AIR mouse using Arduino and accelerometer, for this i used USB to TTL converter i have done everything successfully but can anyone tell me how use it in computer. I mean i don't know ...
3
votes
2answers
3k views
What is the difference between Accelerometer, Gyro, and Magnetometer Sensor?
I'm starting in the arduino world and I'm building an autonomous smart vehicle.
So, after some weeks building and adjusting the vehicle, I got to a point in this project that I want to log it's ...
0
votes
1answer
56 views
Arduino stk500_getsync(): not in sync [duplicate]
We have an arduino pro mini, we are trying to trying to upload sketch the controller but we are prohibited, as the arduino attempt to upload the sketch, it display an error of: not in sync.
We are ...
0
votes
1answer
105 views
Comparing orientation data obtained using gyroscope and accelerometer
Recently, I have been playing around with a gyroscope and accelerometer in the hopes of building a quadcopter. I have plotted some of the data the two sensors and I am noticing that the pitch from the ...
1
vote
0answers
138 views
Problem with the GY-85s accelerator (ADXL345). Not sure if hardware or software
I have a GY-85 IMU (ITG3205 + ADXL345 + HMC5883L) hooked up to an arduino mega. When using the razor AHRS headtracking code, I have a problem where the accelerators z-axis doesn't change from 511.
...
1
vote
2answers
468 views
Need a simple accelerometer visualization example!
I'm doing a project using the ADXL335 accelerometer from SparkFun. The actual project I'm using P5 and it's working great. I'm running workshops in parallel and want to demo the chip in real-time but ...
0
votes
2answers
904 views
How to change i2c address for mpu9250?
I'd like to connect 12 mpu9250 sensors to one arduino board.
I can't find documentation on how to change the addresses of mpu9250 boards. (i read through the reference ). Some tutorials talk about ...
1
vote
1answer
98 views
Interfacing accelerometer LSM303DLH with Arduino UNO using I2C
I am trying to connet a tri axis accelerometer LSM303DLH to arduino UNO using the libraries taken from the following links (https://github.com/adafruit/Adafruit_LSM303DLHC and/or ...
1
vote
0answers
140 views
Streaming IMU data over BLE using Sparkfun 6 DOF and Blend Micro
I am trying to use the RedBear Blend Micro to send data captured by my SparkFun 6 DOF IMU. I am completely lost, and if anyone has any documentation I can read, or even tutorials that work for this ...
0
votes
2answers
222 views
How do I connect two slaves of same type in I2C?
I am not experienced about I2C communications, but I do happen to have two HMC5883L magnetometer modules that I wish to connect to a single arduino. It uses I2C protocol, and hence the slave device ...
0
votes
1answer
161 views
What should be the delay to be given for reading accelerometer
I have five accelrometer sensors (MMA 7361) connected to the analog channels of Arduino Duemilanove. I am using the following code to read the data. (I am reading from only one axis from each sensor.)
...