OMG! I can't believe how complicated it was, surely after seeing this I would have preferred to try it with the MCP9808 sensor, but unfortunately I couldn't find one like yours. Thanks for this video, keep it up because it helps a lot of students to get into the Zephyr environment and that's very helpful. Regards friend. 💪
@samuelschalkwyk4692 Жыл бұрын
@wsniot Thank you for sharing, could you maybe look at the LSM303AH device from ST, there is currently no zephyr driver for this, only for a older part that is discontinued.
@wsniot Жыл бұрын
In many applications I would recommend to use an accelerometer without driver anyway, because in general a high sampling rate is needed. I'm not sure if a driver in Zephyr can always deliver this optimally. In Zephyr there is a driver for LSM303DLHC most registers seem to be identical. Maybe this driver will work. Otherwise I would probably test the sensor first with an Arduino, look at the library there and slowly approach the programming. Probably I would use I²C at the beginning, because it is easier to implement and then read the WHO_AM_I register first.
@womble_impersonator6852 жыл бұрын
hello, first of all I'd like thank you a lot for making such videos over nRF Connect SDK, I wanted to request you if you could make a video about reading an NDEF message over nfc that would help me a lot in my project thank you.
@samuelgranados22202 жыл бұрын
Thanks so much, it helped me a lot. I prefer the MCP9808 but this was the one I had. Congratulations for this video!
@sloshy1840 Жыл бұрын
Thank you for posting such great videos !! Really helpful. Is it possible to share the source code via Github?
@esra_akineden1051 Жыл бұрын
It was a very good explanation. Can I get the source code? Thanks.
@jakoblepur96927 ай бұрын
I had an issue with my BMP280 sensor that the value printed out would not change. For anyone else that this might help I had looked in the driver code and the datasheet and figured out that I had to turn the device from sleep mode to normal mode (or forced). I did this by adding these lines: #define BME280_TEMP_OVER (3
@sdavidsillo2 жыл бұрын
Hey, I was watching your NRF Series and I was testing the OpenThread connection. I tried to send the BME280 Temperature results by OT but I encounter a problem. When I trying to send the temperature, the other dk recieved the signal, but there was no message. I also tried to incorporate the BME code as a library but I couldn´t... You know how to do it? It will help me a lot!
@wsniot2 жыл бұрын
Hi, how do you know the other device receive the data? How did you send the data (UDP, CoAP)? Which format did you use (Text, binary, Json)? Did you check with a sniffer the package? Did you try to split up the task? First send fake temperature data to check if the transmitting working. Later add the sensor part.
@sdavidsillo2 жыл бұрын
@@wsniot When I click the button in the dk, it says "Recieved:" but with no data. I send it through CoAP. I am using a Json format, and no, i didn´t check it... I already send fake data, and the 2nd DK recieve the data correctly, but when I try to integrate the BME280 library it fails Thanks for answering my question! It means a lot to me!
@raniaamara67158 ай бұрын
hi I am using nrf52840dk- nrf52840 board to interface the IMU Sensor lsm6dsox using I2C using nrf connect sdk for vs code. But I am facing error: i'm using the code in ncs/samples/sensor/lsm6dso here is prj.conf: CONFIG_STDOUT_CONSOLE=y CONFIG_I2C=y CONFIG_SENSOR=y CONFIG_CBPRINTF_FP_SUPPORT=y CONFIG_LSM6DSO_TRIGGER_GLOBAL_THREAD=y CONFIG_LSM6DSO=y here is thr overlay file: &pinctrl { i2c0_default: i2c0_default { group1 { psels = , ; bias-pull-up; }; }; i2c0_sleep: i2c0_sleep { group1 { psels = , ; low-power-enable; }; }; }; &i2c0 { compatible = "nordic,nrf-twi"; status = "okay"; pinctrl-0 = ; pinctrl-1 = ; pinctrl-names = "default", "sleep"; label = "I2C_0"; clock-frequency = ; lsm6dso@6a { compatible = "st,lsm6dso"; reg = ; }; }; the probleme is when i flash my code this the output : *** Booting nRF Connect SDK v2.5.2 *** Testing LSM6DSO sensor in trigger mode. Could not set sensor type and channel can you please help me
@wsniot8 ай бұрын
I dont have an lsm6dso sensor, so i cannot test it. So you dont get an error warning? Can be also connection problem or a faulty sensor. You should check the I2C connection if the sensor response. If you dont have a i2c capture device try to communicate with the sensor directly.