Not "silly" at all, I can see this working for a joystick. Great video.
@BrainybitsCanada9 жыл бұрын
+PIK Thanks for the comment, watching and the joystick idea!
@jamescullins27094 жыл бұрын
What is the difference in the qmc5883L and the hmc5883L? thank you.
@cyberdeckcipher2 жыл бұрын
hey @Brainy-Bits, can you use this magnetometer sensor to sense the angle of an magnet or it goes crazy?
@jaysongalvez43405 жыл бұрын
What happens when you go over the limit of the x, y, or z axis? Does it reset to 0?
@humaidalqubaisi91948 жыл бұрын
Is it HMC5883L as in the description or as you wrote in the Code : HMC5803L ?
@NgoniAlwin9 жыл бұрын
i would like to callibrate my HMC5883l 3 axis sensor so that it doesnt lose the heading if it is tilted bit
@aaronchan14985 жыл бұрын
Hi, I am looking a magnetometer that can work with a baud rate of 115200 for interfacing with ESP32. Which would be most suitable for vehicular detection operation?
@hydayatsharabati51922 жыл бұрын
Hello thank you for the video. I have a question can you show how to measure just the magnetic field with this sensor? Like can the sensor be attached to a cable of a device and measure when current is on and when off ?
@walterblanc9708 Жыл бұрын
So 5v and 3.3v I2C systems work together ok then? No need for level changers?
@sanjaybalasubramanian94683 жыл бұрын
Need help!. Mine is L883 chip which is actual hmc5883l but still it's not working. I'm just getting the board info as output. What could be the issue? I'm sure about the connections. Running it with Arduino nano
@jefersonnl8 жыл бұрын
Can I use this (HMC5883L) to control Yaw stabilization on a quadricopter, helicopter or model airplane without the need of a separated module, like the MPU-6050? Or is it best to use the HMC5883L only to replace the biased, ever-drifting and shitty non-accelerometer assisted Z-Axis output that comes from the MPU-6050?? They say the accelerometer in the MPU-6050 is excellent(I certainly can testify for that in static testing) and can correct very well the drifts on its gyros (X and Z axis). However, when we take into account a vehicle that accelerates too much or even turno into near horizontal flights, the manufacturer of MPU-6050 is quite clear in saying that due to lateral G-Forces this, in a certain given time, can take away from the unity the source/point of reference, that its accelerometers use to un-bias the gyros, earth's gravity.
@pikuroy30844 жыл бұрын
I want to create a module that force everyone to use hand rail while in stairs,so i want to trigger the metal sensor( attached to this module) while climbing the stairs , i am using combined accelerometer & gyroscope sensor , but the accelerometer is getting triggered even when i am walking , is it possible to sense a direction at around 45° from vertical using this module so that my project get successful?
@cxgraham2 жыл бұрын
Hi, I'm new to this. Enjoying the KZbin videos. I'm thinking of building this, just wondered how to fit a buzzer and add commands so that it works when the unit is angled over and the red LEDs come on. Can you advise please? Many thanks.
@iceman1st14 жыл бұрын
Hi, how could I use this on a vehicle to activate the brake light's when it senses the vehicle slowing down
@youssefdirani6 жыл бұрын
Thanks, do you know what is the unit of the read values (for s, y or z)? E.g. is it in microTesla?
@userone76514 жыл бұрын
a link to github with the code would be awesome.
@Trambulin159 жыл бұрын
Great project! I have a gy-87 sensor, which has the same hmc5883l magnetometer, and i used your code to read datas, but i got only -1 -1 -1 values. Do you have any idea why do i get only these values?
@BrainybitsCanada9 жыл бұрын
+Trambulin15 Don't have the GY-87 version on hand so can't say if it requires different programming than the one I'm using, but that might be it! Make sure your connections are good and maybe use different connection cables to make sure it's not just a bad connection. Thanks for watching!
@runaway20748 жыл бұрын
+Brainy-Bits hmc5883l have name is "GY-271" but is not GY-87 and there are another one is GY-521
@apocalypticentity70125 жыл бұрын
Hi Mate, I know this thread is really old now, but I am leaving this here for anyone else who comes across this video. I had the same issue and I found out that the chip on my breakout board was actually a QMC5883L and NOT the HMC5883L. Hope this helps someone else out in future. Edit: "For further clarity, The I2C address is different. This might explain why you had this problem. Seems the address is 0x0D."
@vibhvesh6 жыл бұрын
THANK YOU , i just wanted to know more about it, well explained.
@nickdoneff4 жыл бұрын
Hi, thanks for the clear video! Does this device read rotation on the z axis? for example to serve move like a compass and send an output that could control a stepper motor proportionately?
@navadeep0255 жыл бұрын
Please make a video on how to do it for random values of magnetic field. How can I make it work in any place by auto initialisation of magnetic fields.
@DJcoasttt5 жыл бұрын
Hi, here's a noob question for you: If you reboot the Arduino, will the sensor take the first value as the 0 position, or is it always constant like a compass?
@aaronchan14985 жыл бұрын
Hi, is it possible to change the baud rate of hmc5983 to 115200 , and make it complement with esp32. I tried and got some reading errors.
@wfung80414 жыл бұрын
Sir, Would you mind help and teach me the guide line ? I want to turn on led light when hmc5883l ARDUINO detect motion , e.g. when the bicycle start to move, hmc5883l + ARDUINO automatic turn LED headlamp.....
@JohnJoe1313 жыл бұрын
The serial monitor doesn't show any values, it's just blank. Why does the program not get any values from the sensor?
@bjnacn67118 жыл бұрын
Nice. I have this question : What values do you get if you rotate the sensor over 90 degrees around one axis? Is it still measuring something or does it get to the maximum available? if it does, do you think there's a way to map it for 180 or 360 mouvement? Thank you!
@SKElectronics8 жыл бұрын
How accurate is this module?
@nibras26baqir4 жыл бұрын
Would you please tell me how to contact you to talk about this ?
@ofekyabo74038 жыл бұрын
the program stucks after Wire.endTransmission(); and i dont know why is it i have tried to Serial.println("7"); and it writes no thing i hope you understand my problem and maybey can help me
@akaleselassie8 жыл бұрын
HELLO HAVE YOU TRIED TO GET IT TO WORK WITH ESP8266 ESP-01 WITHOUT THE UNO?
@jhonsalazar48015 жыл бұрын
can you pls send me the code i just need it for our arduino
@JerryEricsson8 жыл бұрын
I can see a great use for this our old Class A motor home has a joystick type hydrolic leveler system. The lights have long stopped working properly, so I have to dig out an old level and have the wife tell me when I am level so the rig works right, ie. the fridge needs to be near level to cool, and walking can be difficult if you are off level. Now don't get me wrong, my wife is a wonderful woman, but she cannot read a level at all for some dang reason, so each setup quickly turns into a shouting match. This could well solve our problems and poor oil on the troubled waters at RV parks across this great land.
@_MisterG9 жыл бұрын
Thank you for sharing AND for making it easier to read the code. Quick question: I noticed you rotated the module through 90° for the readings. Is this the maximum it will measure, or could it do a full 360°? That would make it useful for a cool wearable device that I have not thought of yet!
@BrainybitsCanada9 жыл бұрын
MisterG The X and Y axis will do 180degrees, the Z axis should be able to do 360degrees since it can be used to detect magnetic north. I will do another tutorial video showing how to use the HMC5883L as a compass soon. Thanks for your comment and watching!
@bishantadhikari34405 жыл бұрын
init_HMC5803L() where is it even defined?
@furkanayas33394 жыл бұрын
Is it measure YAW
@username-zg8og6 жыл бұрын
Do you have any code to convert magnetometer data to PC screen coordinates? Plz anyone who have the link, reply me
@zelra8919 жыл бұрын
this is great in some project like quadcopter. btw, you should say "i square c".
@BrainybitsCanada9 жыл бұрын
Zelra 仙賢戀軒 Thanks for the comment, and for pointing out the i2c, didn't even notice it till now :)
@SpeccyMan7 жыл бұрын
Actually since the protocol is actually called IIC for inter-integrated circuit you would logically call it I two C.
@andersstriberger65477 жыл бұрын
Zelra 仙賢戀軒
@joshsat91066 жыл бұрын
I just learned that you could use this in orbit to about 1/4 the distance of the moon.
@1979zeesh8 жыл бұрын
+Brainy-Bits i need your help. i have sen your code and it is very professionally written. can you help me do the same but instead control speeds of 2 motors? i have a left and a right motor. with movement of this compass, the corresponding motor must move and the speed varies with compass angle. how can i use mapping for this? i will appreciate if you can help me write a short code for that
@grantgupton33696 жыл бұрын
Hey I'm not sure if you still need the help but it is actually pretty simple to control a motor. Use mapping from 0 to 255 and type in this: analogWrite(Motor, "Variable of Mapped Number"); Then wire up an N channel MOSFET with the motor wired from power to the drain pin on the MOSFET. Then attach ground to the source and attach the gate pin to the motor pin you have set. Do this for each motor and you'll be all set.
@untrust20335 ай бұрын
I just get a value of 0 back on all 3 axis.
@maxim25o23 жыл бұрын
This is not a accelerate sensor? Behaves like it is. magnetometer sensor should work showing north pool of the earth, then Your rgb led's should show where is direction of north pool.
@mrkiky Жыл бұрын
That all depends on what code you put into it.
@nettyvoyager63366 жыл бұрын
very clever :)
@nettyvoyager63366 жыл бұрын
9 axis MPU 9250 6500 VCC, GND, SCL, EDA, ECL,ABO, INT, NCS, F SYNC . i have two they are only £2 each
@nettyvoyager63366 жыл бұрын
try a 9 axis there a fucking nightmare lol
@prof32743 жыл бұрын
Golly when i try to load the code there are so many errors like so many code out there why dont folks test there code on the current ide first?