Zephyr and Nordic nRF Connect SDK - 05 Analog/Digital-Converter (ADC)

แชร์
ฝัง
  • เผยแพร่เมื่อ 9 ต.ค. 2022
  • nRF Connect SDK is the new SDK from Nordic Semiconductor and replaces the old nRF5 SDK. It is based on the Zephyr real-time operating system. Zephyr supports multithreading. The hardware is configured via a device tree and components are activated or deactivated via a configuration file. Internal and external resources such as I²C-bus or sensors can be controlled via drivers. The nRF connect SDK supports the network technologies OpenThread, ZigBee, BLE and Matter. Visual Studio Code can be used as a development environment. In this video i make a short introduction into ADC and measurement chain. Then we connect a light dependent resistor (LDR) to our developer board and program an AD-conversion with Zephyr.
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 16

  • @bayroncabrera2592
    @bayroncabrera2592 ปีที่แล้ว +2

    Thanks a lot for sharing this valuable information for free, regards from Colombia, keep going !

  • @glenn8829
    @glenn8829 ปีที่แล้ว +2

    Thank you for this video. I've been struggling to get an ADC working on an nrf52832 for a bit. Your video was clear and concise, and I was finally able to get my project working.
    Well done, sir!👍👍👏👏

    • @nandoanalog
      @nandoanalog 11 หลายเดือนก่อน

      I just can't make the adc work at all.

    • @user-eo4ql1vf1f
      @user-eo4ql1vf1f 3 หลายเดือนก่อน

      Can you share your code for it. I am still having issues

  • @alexheslop2899
    @alexheslop2899 7 หลายเดือนก่อน

    This is a really great series, thank you!

  • @RedCode44
    @RedCode44 ปีที่แล้ว +2

    Thanks you really helped us a lot!

  • @zip1982besh
    @zip1982besh ปีที่แล้ว +1

    Thank you!

  • @ryanthomas4793
    @ryanthomas4793 ปีที่แล้ว

    Thank you for these excellent videos! Have you been able to get adc working with the dongle? It seems like the dongle profile has some misconfigured items in the sample code from nordic.

  • @wizardy6267
    @wizardy6267 ปีที่แล้ว

    That is an excellent tutorial, thanks for your help. One quick question, I checked the nRF52840 datasheet, and it seems this PCB does not have analog out, is it normal that PCD does not have analog out? Or I missed something e.g some GIPO may be used as analog out pins?

  • @El3ktr0on
    @El3ktr0on 9 หลายเดือนก่อน

    How did you setup your VSCode so that in device tree it shows you some usefull information? I have only squiggles and "Unknown label" errors under every dts instance but my code works.

  • @wizardy6267
    @wizardy6267 ปีที่แล้ว

    Is the code example available on GitHub?

  • @ByteBuilders-dj4dr
    @ByteBuilders-dj4dr 9 หลายเดือนก่อน

    Hi, Amazing video. it would a lot if you can share these files too. Thankyou

  • @Michael-nu2mz
    @Michael-nu2mz 8 หลายเดือนก่อน

    Hello sir, thank you. Is it possible to read from multiple ports and if so, how?

    • @Michael-nu2mz
      @Michael-nu2mz 8 หลายเดือนก่อน

      I already solved it, now I would like to know how to read a digital input, with this board is it possible to make a DAC?

    • @wsniot
      @wsniot  8 หลายเดือนก่อน

      @@Michael-nu2mz Digital inputs can be realised very easily via the GPIOs, see button example. The nRF52840 has no built-in DAC. Analog signals can only be simulated via PWM. An external DAC via SPI/I2C or I2S would be useful here.

    • @Michael-nu2mz
      @Michael-nu2mz 8 หลายเดือนก่อน

      @wsniot Thanks a lot sir, I tried to test my digital pins with a AA battery using the ADC example that you made in this video and what it does it's that it goes from near to 0V to the 1,5V provided by the battery. Do you happen to know how could I make it so that it goes from 0 to 1 or off to on on the terminal text?, I only need to know if there's a voltage on that pin. I'm very new to C and also to this nrF/zephyr programming. Your videos are super helpful.