Search found 6 matches

by jf7899
Wed Jun 16, 2021 7:59 pm
Forum: General Discussion and Questions
Topic: [Errno 19] ENODEV
Replies: 10
Views: 3940

Re: [Errno 19] ENODEV

Once again you are right, such a rookie mistake, I eitheir pick them from the wrong spot in the lab or saw an unexisting k and didn't bother to check the color code... I will try to change them. Thank you very much for all your help!
by jf7899
Wed Jun 16, 2021 5:15 pm
Forum: General Discussion and Questions
Topic: [Errno 19] ENODEV
Replies: 10
Views: 3940

Re: [Errno 19] ENODEV

Thank you for the response. The resistor values are 2.2kohms each. I did not uderstand what you meant by "it seems that on the HM5883 breakout there are resistors too" ,does that mean we don't need to use external pull-up resistors? In the attachments I'm sending a closer picture of the sensor and t...
by jf7899
Wed Jun 16, 2021 4:45 pm
Forum: General Discussion and Questions
Topic: [Errno 19] ENODEV
Replies: 10
Views: 3940

Re: [Errno 19] ENODEV

You were right, indeed, we have them changed, thank you very much! Nevertheless it doesn't fix the error and the i2c.scan() still returns a empty array... Do you have any other ideas?
by jf7899
Wed Jun 16, 2021 4:05 pm
Forum: General Discussion and Questions
Topic: [Errno 19] ENODEV
Replies: 10
Views: 3940

Re: [Errno 19] ENODEV

Once again thank you for the reply. The datasheet of the HMC5883L states that The address pointer value itself cannot be read via the I2C bus. Any attempt to read an invalid address location returns 0’s, and any write to an invalid address location or an undefined bit within a valid address location...
by jf7899
Wed Jun 16, 2021 3:24 pm
Forum: General Discussion and Questions
Topic: [Errno 19] ENODEV
Replies: 10
Views: 3940

Re: [Errno 19] ENODEV

Frist of all thank you for the reply,
In the datasheet of the HMC5883L it sates that using i2c.scan() it returns an array with zero lenght, wich we verified that indeed happens.
So you think the problem is hardware related, some sort of techical malfunction?
by jf7899
Wed Jun 16, 2021 2:54 pm
Forum: General Discussion and Questions
Topic: [Errno 19] ENODEV
Replies: 10
Views: 3940

[Errno 19] ENODEV

Hi, I'm using a HMC5883L magnetic sensor and a ESP32-PICO-KIT, I'm having trouble trying to run the following code import machine import utime i2c = machine.I2C(scl=machine.Pin(26), sda=machine.Pin(25),freq=100000) i2c.start() i2c.writeto(0x3C, bytes([0, 112])) i2c.writeto(0x3C, bytes([1, 176])) i2c...