Bro i tried exactly same but it isnt displaying any information other than sensor name and other till resolution .but i am not getting any values of co ordinate can you help me ?
@miliohm3 жыл бұрын
Maybe you got the qmc version, try this: miliohm.com/how-to-use-or-fix-hmc5883l-compass-sensor-that-doesnt-work-on-arduino/
@gvnsatwik46933 жыл бұрын
@@miliohm yeah ! Thats working thanks for the help man ...love you 😘
@miliohm3 жыл бұрын
@@gvnsatwik4693 thanks!
@sanjaybalasubramanian94683 жыл бұрын
@@miliohm Mine is original one which is Hmc but still I'm not getting any x y z values. It prints the board info alone as he said. What should I do now?
@miliohm3 жыл бұрын
@@sanjaybalasubramanian9468 how can you tell it's original? Did you try use qmc library?
@martinmartin38077 Жыл бұрын
Thanks for the guide. Very useful. I am an Arduino 'virgin', and this was my first attempt to get something working for a compass on my telescope. I had an issue with uploading the library. I kept getting the error "exit status 1". I had to uninstall my CH340 COM driver, and install one independently. Once I got passed that issue, all worked great. Thanks for making my first steps easy. I think the chip needs calibrating. That would be a useful addition to this guide
@sre20072 ай бұрын
My hmc5883L is 3V OR 5V so I suggest the wiring diagram be changed to reflect this option. I think using the 3V option is better in a "magnetic" setting, since 5V would create more EMF in it's own operation, right?
@fabse-hack11 ай бұрын
you make an calibration of the sensor?
@keithschaub7863 Жыл бұрын
how do change to different Apins? I'm already using A4 and A5 for the ultra sound. I'd like to use A1 and A2 for the mag sensor - do you know if this is possible?
@miliohm Жыл бұрын
On arduino Uno, i2c only available on A4 and A5 (SDA & SCL). So you don't have another choice.
@miliohm Жыл бұрын
If the ultrasound is not i2c, you should move the ultrasound.
@yugthebuilder24648 ай бұрын
I tried same but with esp32 board and the heading is being displayed very wrong. It is stuck at 237.61. no matter how much I rotate the magnetometer horizontally, it remains the same.. I tried removing power of magnetometer. Amazingly, the reading was being updated the same even when the magnetometer was removed. I am stuck here and it doesn't seem to work. What do I do?
@tunahanatmaca70594 ай бұрын
Hey man! Did you solve this problem? I am also having the same issue.
@jumpingeal19284 ай бұрын
@@tunahanatmaca7059 Found the problem with this issue, it's because the library that this video is using is assuming the I2C device has the address 0x0C when it's 0x0D. To get it working I used the library "DFRobot_QMC5883" instead (search it up on arduino library explorer). then download their example code and on line 13 chance the VCM5883L_ADDRESS to 12 (which is the address 0x0D). lmk if this works, I might make a youtube video helping others fix it
@santiagobermudez72903 ай бұрын
@@tunahanatmaca7059 i have the same problem i tried with esp32 and arduino, it gives me the same value. i think the sensor is damaged.
@estudiantecomputerscience Жыл бұрын
Thank you so much!
@findinmydearestbro156910 ай бұрын
Hi! i it just me or whenever I try to connect my arduino it turns off
@sinnesia29583 жыл бұрын
I think adafruit library much simpler than other libraries.
@tudor53982 жыл бұрын
Is it possible that it odesn't work with an Arduino MEGA?
@miliohm2 жыл бұрын
Should works the same way. It just use different pins
@bleednlov2 жыл бұрын
Where is the code for the HMC5883L? It is not on your "full code and tutorial" link, there is only a .png of it.
@miliohm2 жыл бұрын
You should read carefully
@Amperekaefer3 жыл бұрын
*Danke* für das interessante Video. Ist die störende Hintergrund-Musik wirklich nötig??
@miliohm3 жыл бұрын
danke für deinen Input, werde die Lautstärke verringern (Google Translate)
@Amperekaefer3 жыл бұрын
Oder ganz weglassen, Du hast so eine schöne Stimme.
@juremyclorkson35186 ай бұрын
thank you Borat
@findinmydearestbro156910 ай бұрын
why does my arduino turn off if I connect gnd to gnd
@miliohm10 ай бұрын
Probably it's not gnd but vcc
@findinmydearestbro156910 ай бұрын
same thing happens to vcc to vcc @@miliohm
@_ShihabulEhsan3 ай бұрын
Thank you fron showmik vai and me
@yusufmaulana960 Жыл бұрын
bang, coba bkin lagi dong, tapi kali ini ditest ama interferensi magnet permanen. [kompasnya error ngak kalau deket ama magnet, dan kalau ada eroor, berapa jarak minimum agar error itu hilang?]
@mrbhakcho2 жыл бұрын
bro code is not available on ur site
@miliohm2 жыл бұрын
You just need to download the library and use the example there
@dharsonraju5390 Жыл бұрын
I am getting the same values repeatedly
@jayvratsinhjadeja8299 Жыл бұрын
I had the same issue, then I just connected it to 3.3v supply from Arduino and it started working.
@NancyDell-m6y4 ай бұрын
Rodriguez Laura Martin George Thomas Dorothy
@Sabhail_ar_Alba2 жыл бұрын
In the real world, these devices are neither accurate or stable enough.