HMC5883L Bug or me!

For general Flowcode discussion that does not belong in the other sections.
medelec35
Matrix Staff
Posts: 2154
http://meble-kuchenne.info.pl
Joined: Wed Dec 02, 2020 11:07 pm
Has thanked: 662 times
Been thanked: 728 times

Re: HMC5883L Bug or me!

Post by medelec35 »

Hi Jorgen
Yes that helps.
The Flowcode component is only set to work with 0x0D, so any other ID will not work at all.
Hopefully I will have the 0x1E version by this weekend.
Martin

jgu1
Posts: 847
Joined: Thu Dec 03, 2020 8:25 pm
Location: Denmark
Has thanked: 740 times
Been thanked: 186 times

Re: HMC5883L Bug or me!

Post by jgu1 »

Thank you Martin. ;)

medelec35
Matrix Staff
Posts: 2154
Joined: Wed Dec 02, 2020 11:07 pm
Has thanked: 662 times
Been thanked: 728 times

Re: HMC5883L Bug or me!

Post by medelec35 »

Hi Jorgen.
I have had look into this in more detail.
If you search within the components ribbon for 5883 you will see 2 components.
QMC5883L and HMC5883L
The QMC5883 is if your ID Address is 0x0D & HMC5883L if your ID Address is 0x1E.
Can you make sure you have the hardware matches the correct Flowcode component first.
If not We can take it from there.
Just le me know the component name and what the ID address your hardware is showing.

I will be making a new QMC5883P component for Flowcode v11 as QMC5883P is the latest replacement.
Martin

jgu1
Posts: 847
Joined: Thu Dec 03, 2020 8:25 pm
Location: Denmark
Has thanked: 740 times
Been thanked: 186 times

Re: HMC5883L Bug or me!

Post by jgu1 »

Hi Martin!

I dobbelcheck with your i2C sniffer

GY-271 QMC5883L 0x1E This should be a newer model, should be better and more stable. The QMC5883L is not label on the pcb only GY-271. On the chip is label L5883 and according info I have found on the web the GY- 271 is the QMC5883L.


GY-273 HMC5883L 0x0D Older model. On this device I see the label HMC5883L on the pcb, but nothing on the chip

You wrote "I will be making a new QMC5883P component for Flowcode v11 as QMC5883P is the latest replacement", hopefully also for Flowcode 10 you have to think of all us poor FC10 user :lol: :lol:

Hope this make sense and can help you otherwice let me hear if I have misunderstood your question or anything I can do.

I can send you one of each if you want you can keep. ;)

Br Jorgen

medelec35
Matrix Staff
Posts: 2154
Joined: Wed Dec 02, 2020 11:07 pm
Has thanked: 662 times
Been thanked: 728 times

Re: HMC5883L Bug or me!

Post by medelec35 »

Hi Jorgen.
If you look at the datasheet for QMC5883L it shows:
The default I2C address is 0D: 0001101

The datasheet for HMC5883L shows:
I2C Address 7-bit address 0x1E

That is what I stated in my previous reply.
What I suggest is read the I2C address of your digital compass.
If it reads 0x0D then select the QMC5883L component.
If it reads 0x1E then select the HMC5883L component.
They are both available within Flowcode.
jgu1 wrote:
Mon Oct 27, 2025 7:35 pm
hopefully also for Flowcode 10 you have to think of all us poor FC10 user
Sorry, it will only be available for Flowcode v11.
Martin

jgu1
Posts: 847
Joined: Thu Dec 03, 2020 8:25 pm
Location: Denmark
Has thanked: 740 times
Been thanked: 186 times

Re: HMC5883L Bug or me!

Post by jgu1 »

Hi again!

Thank´s Martin. again if I do something wrong or misunderstand something I apologize ;)

From beginning I test with the HCM58833 doesn´t work, I tryed to switch over with the two devices none of them work, you made a new component where it was possible to switch between the two devices in properties, it also not work.

I have made a progam (Wiki modified)now where it is easy to switch between the two device, no matter which device I choose in the program it doesn´t work, and switch the devices. I have found a testprogram on the web with arduino IDE for both devices, they work. I want to use FC because I have to implement it in another FC project.

You can have a look in my testprogram if you want, and anyway I will not take more of your time so don´t waste more time on this I will found another soloution :)

Br Jorgen
Attachments
QMC_HMC_Wiki.fcfx
(34.4 KiB) Downloaded 3 times

medelec35
Matrix Staff
Posts: 2154
Joined: Wed Dec 02, 2020 11:07 pm
Has thanked: 662 times
Been thanked: 728 times

Re: HMC5883L Bug or me!

Post by medelec35 »

Hi Jorgen.
I just wanted to make sure you are using the correct Flowcode component for board.
Now that you have, I will do some testing and see what the issue is.
Martin

jgu1
Posts: 847
Joined: Thu Dec 03, 2020 8:25 pm
Location: Denmark
Has thanked: 740 times
Been thanked: 186 times

Flowcode v10 Re: HMC5883L Bug or me!

Post by jgu1 »

Pefect Martin and of course. :)

Thank´s

Post Reply