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

  Переглядів 4,021

WSN & IoT

WSN & IoT

Рік тому

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 Рік тому
Thanks a lot for sharing this valuable information for free, regards from Colombia, keep going !
@alexheslop2899
@alexheslop2899 5 місяців тому
This is a really great series, thank you!
@glenn8829
@glenn8829 Рік тому
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 10 місяців тому
I just can't make the adc work at all.
@user-eo4ql1vf1f
@user-eo4ql1vf1f Місяць тому
Can you share your code for it. I am still having issues
@RedCode44
@RedCode44 Рік тому
Thanks you really helped us a lot!
@zip1982besh
@zip1982besh Рік тому
Thank you!
@ByteBuilders-dj4dr
@ByteBuilders-dj4dr 8 місяців тому
Hi, Amazing video. it would a lot if you can share these files too. Thankyou
@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 7 місяців тому
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?
@Michael-nu2mz
@Michael-nu2mz 6 місяців тому
Hello sir, thank you. Is it possible to read from multiple ports and if so, how?
@Michael-nu2mz
@Michael-nu2mz 6 місяців тому
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 6 місяців тому
@@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 6 місяців тому
@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.
Zephyr and Nordic nRF Connect SDK - 06 OpenThread CLI Example
18:27
WSN & IoT
Переглядів 2,1 тис.
Повістки у Києві: «Яке право вони мають забирати всіх мужиків?» #війна #мобілізація #військові
00:41
Слідство.Інфо | Розслідування, репортажі, викриття
Переглядів 1,8 млн
когда одна дома // EVA mash
00:51
EVA mash
Переглядів 10 млн
Історія загиблого Назара Небожинського
00:54
Суспільне Рівне
Переглядів 850 тис.
Best OS for programming? Mac vs Windows vs Linux debate settled
8:41
Compiling MS-DOS 4.0 using DOSbox & Qemu
17:59
Neozeed
Переглядів 2,7 тис.
You have no free will at all | Stanford professor Robert Sapolsky
53:35
Corel Linux - The (Word)Perfect Operating System
25:40
Michael MJD
Переглядів 87 тис.
Introduction to ADC and DAC
14:50
ALL ABOUT ELECTRONICS
Переглядів 745 тис.
Портативная PS 5 🎮 #ps5 #expressly
0:22
ExpresSLY Shorts
Переглядів 258 тис.
Как установить Windows 10/11?
0:56
Construct PC
Переглядів 1,9 млн
Рекламная уловка Apple 😏
0:59
Яблык
Переглядів 779 тис.
Phone charger explosion
0:43
_vector_
Переглядів 45 млн
Добавления ключа в домофон ДомРу
0:18