Nordic nRF52840-Dongle 2.4GHz RF Development Board (Intro & Programming Examples)

  Переглядів 87,988

Davy Wybiral

Davy Wybiral

5 років тому

The nRF52840 Dongle from Nordic Semiconductor is an incredibly energy-efficient 2.4GHz (BLE/ANT/Thread/Zigbee) development board for the nRF52 SoC that can be programmed over USB. This video is an introduction to the SDK for programming these and it barely scratches the surface of what these devices are capable of.
/* nRF52840-Dongle */
www.nordicsemi.com/Software-a...
/* nRF SDK */
www.nordicsemi.com/Software-a...
/* nRF Connect */
www.nordicsemi.com/Software-a...
/* ARM GNU Toolchain */
developer.arm.com/open-source...
/* Espruino nRF52 Boards */
Puck.js: www.espruino.com/Puck.js
Pixl.js: www.espruino.com/Pixl.js
MDBT: www.espruino.com/MDBT42Q
#nRF52840 #ARM #BLE
/* Credits */
Microphone for this video was provided by Samson Technologies
www.samsontech.com/samson/prod...

КОМЕНТАРІ: 80
@timothyvanellemeet3650
@timothyvanellemeet3650 4 роки тому
Super useful and well explained - would love to see more examples, especially some with Nordic's Mesh SDK
@pandarzzz
@pandarzzz 4 роки тому
Thank you for sharing this informative video~! 😃 I find your tutorial straightforward, easy-to-comprehend. I look forward to trying out my nRF52840 over the weekends!
@josu6798
@josu6798 5 років тому
Please, continue making some nRF52840 stuff!!!!
@josu6798
@josu6798 5 років тому
Like how to program your own model of a Mesh Network www.nordicsemi.com/DocLib/Content/SDK_Doc/Mesh_SDK/v3-1-0/md_doc_getting_started_how_to_models
@davidissler2567
@davidissler2567 5 років тому
Thank you for this video. It really helps to start with nordic ble. It is much more helpful than nordics tutorials. What I would be interested in, is how to control the LED from a smartphone/or in your case the puck.
@mstjerning8919
@mstjerning8919 4 роки тому
Great video! In your "blinky" example (ex00), you should change "BSP_BUTTON_0" to "BSP_BOARD_BUTTON_0" in the bsp_board_state_get() function. Again, great videos - keep it up! :)
@gabrielgraf2521
@gabrielgraf2521 Рік тому
This is really awesome. I did found this board recently and was a bit scared how to upload code and bring it to work. I am very thankful that you make this video, I will definitely now buy me such a dongle
@dirku63
@dirku63 2 роки тому
Exactly the level of detail I wanted. Great Video.
@jupel
@jupel 5 років тому
Thanks a lot for the video. I have started to use nrf52 dev kit with help of your guide.
@damny0utoobe
@damny0utoobe 3 роки тому
Adding this video to my list of tutorials to try out for the nordic board
@erwinrommel5593
@erwinrommel5593 3 роки тому
can you tell me how did you generate the hex code for the PCA 10059
@saxonwynter1053
@saxonwynter1053 4 роки тому
Would really love to see more examples with this device
@user-ut2ei6tw3t
@user-ut2ei6tw3t 4 роки тому
It's that I need, thanks a lot
@chengL10
@chengL10 4 роки тому
More videos like this, please!
@mrcollie7210
@mrcollie7210 3 роки тому
i came across your video and it is very useful, thank you Davy.
@ruibao5651
@ruibao5651 2 роки тому
Good!
@yasirqureshi6059
@yasirqureshi6059 4 роки тому
Great work.
@dsbros3591
@dsbros3591 5 років тому
Amazing video !! Liked, Subscribed. Please make nordic series tutorial for beginners, it will be very helpful.
@phinamakara1200
@phinamakara1200 4 роки тому
Thank you!
@Seth-ri9hl
@Seth-ri9hl Рік тому
Very useful! THANKS!
@NDSno1
@NDSno1 4 роки тому
Thanks for the video. Would you mind showing how you setup your config files so they includes the necessary includes folders from the sdk? Thanks.
@hughbreivik4653
@hughbreivik4653 11 місяців тому
Great video. Just wonder if it could be updated to cover thread protocol instead of Bluetooth, perhaps leaning towards combining some nrf52840 dongles with Apple HomeKit devices / thread networking…
@djscanlon
@djscanlon 5 років тому
Hi Mr. Bot - you are brilliant in all the best ways. Refreshers on machine/assembler?! You win the internet so far this month - adorable, Then open source, open hardware, python, adafruit, and sbcs? I've been on a similar path in computer science lately. I make systems with an open software stack. I like seeing hardware executing these . open software solutions. We need to collect farm data across huge acreage to better manage our farm operations and efficiency. And all the farmers are elderly. All the best.
@HaraldQuake
@HaraldQuake 3 роки тому
Interessting video but can you make a video to explain how to set up the compiler and IDE? How do I have to set up projects and how exactly do I have to compile the code?
@Ownedyou
@Ownedyou 3 роки тому
Really should have called the video "Welcome to the Dongle!"
@ArthurKhusnutdinov
@ArthurKhusnutdinov Рік тому
Hello. Thank you for this video - it's very cool! Tell me please what kind of Operating System do you use on your PC? Looks like Linux, but I can't understand, what distribution?
@science4allworld587
@science4allworld587 5 років тому
Thanks for step by step guide. I would be thankful if you can share code.
@_svenar
@_svenar 5 років тому
Hey DavyBot, Could you share the code of the nRF52840 Dingle and also from the Puck?
@Bianchi77
@Bianchi77 3 роки тому
usefull information, have you tried it with ANT+ ? thanks
@ahoe
@ahoe 3 роки тому
is there a tutorial on how to use this gcc stuff? I have only used IDEs that did all the stuff for me.
@MrChaosAdam
@MrChaosAdam 5 років тому
Can you maybe share your example files, please?
@lotsarats
@lotsarats 4 роки тому
be great if you could compare this with the Makerdiary "nRF52840 Micro Dev Kit USB Dongle"
@frequencymaster1681
@frequencymaster1681 3 роки тому
hello, your video is great, I have followed all your steps. I am using Segger embedded studio. Unfortunate, I'm unable to get output. I can see the green led but can not detect this dongle on any of the Bluetooth devices. Can you please guide with this? else can you post your code here?
@mKras-wu4jk
@mKras-wu4jk 5 років тому
Hi, Thanks for this great work. In nrf Programmer, when I add .hex file with your version of blinkyApp, and I try add softdevice hex file, a have an error that, the files are overlapping... Where, and what value I should put in some config files to overcome this situation? I did not any changes in oryginal sdk files. Preparing of hex file with app, works fine.
@mKras-wu4jk
@mKras-wu4jk 5 років тому
I have solve it, by own... if someone will have the same issue, it is enought edit in linker file MEMORY part for: MEMORY { FLASH (rx) : ORIGIN = 0x26000, LENGTH = 0xda000 RAM (rwx) : ORIGIN = 0x20001d70, LENGTH = 0x3e290 } :)
@winstonalf
@winstonalf 3 роки тому
Salute to you sir. Thank you for this. Can you please make a video if it is possible to download the hex files using openocd STlink programmer and debugger.
@snehas5417
@snehas5417 4 роки тому
Hi DavyBot, Did u PULL-UP any pins in ur nrf52 series ble hardware. I asked it because my nRF5210 ble works only if the (21 pin) that is RX pin of UART_2 is pulled up for ble working for all working programs.And it is not working if we remove the pull-up for other programs not using UART like other blink programs . Please do help me out to find reason for pulling up the pin21 that is I have shorted pin vdd to pin 21 that makes it pull up
@saurabhshukla435
@saurabhshukla435 4 роки тому
how nrf dongle connect in openwrt in respberry po4 plese make viedo
@1989solbadguy
@1989solbadguy 3 місяці тому
thank you for the video, any ideas on how to send multiple commands in the form of .xml file to nRF using Python ? thanks
@GuyNChai
@GuyNChai 3 роки тому
how are you building it? when you click on armgcc - > open in terminal - > what do you do next?
@algre977
@algre977 2 роки тому
What is the minimum current draw of the chip in receive mode ?
@patpat7360
@patpat7360 2 роки тому
want to use nRF52840 DK connect to my house 's router .So does the nRF52840 DK has wifi chip embedded on board ?? 🤔
@science4allworld587
@science4allworld587 5 років тому
Can you make a video how to get SDK started with VScode. I tried a lot but it didn't work.
@MrChaosAdam
@MrChaosAdam 5 років тому
Seconded. This needs to happen, because Nordic is really shit tier at making guides.
@science4allworld587
@science4allworld587 5 років тому
@@MrChaosAdam agree. I managed to work with vscode but then never again repeat it :(.
@hakonmoen3438
@hakonmoen3438 Рік тому
video title sais "intro", but I found a lot of information missing. At least, non of the steps looked like this when I tried myself..
@liustanley4588
@liustanley4588 3 роки тому
Where to get the Linux driver for nrf52840?thx
@xingyuan7731
@xingyuan7731 4 роки тому
Is this usb dongle works with MFi(Made for iPhone) hearing aid for streaming pc audio?
@wlgrd7052
@wlgrd7052 4 роки тому
Yes
@_fluk3285
@_fluk3285 Рік тому
Can this be programmed to function as a receiver that acts as a bluetooth to HID device repeater? I mean as in that it would be able to repeat keystrokes from a connected bluetooth keyboard and then have it relayed to the device it's connected to in the USB-end as a normal usb HID device? I'm looking for a way of using the mechanical BT keyboard that I already own instead of having to buy a shitty LG keyboard.
@csp405
@csp405 Рік тому
How do I open the sdk folder where is it located in explorer I did not find these folders in explorer
@David123454545
@David123454545 5 років тому
Can you please show your .vscode and or c_cpp_properties.json setup. I am getting an error that states: cannot open source file "stdio.h" (dependency of "boards.h") 'boards.h' file not found And could you do more with the nRF52840 DONGLE. Please and thank you.
@David123454545
@David123454545 5 років тому
UPDATE: I fixed the issue above, now I get this error regarding uint32_t/uint8_t and so on: variable "uint32_t" is not a type name The problem has to do with stdint.h file and my c_cpp_properties.json file, yet I do not know the problem.
@moipichardo
@moipichardo 3 роки тому
Does anyone know of a tutorial to setup the environment on VS Code? I'm trying to use the nrf52840 dongle.
@ahoe
@ahoe 3 роки тому
I have the same problem, and can't find anything.
@josu6798
@josu6798 5 років тому
Can you please send us your code examples?
@Orgrynts
@Orgrynts 5 років тому
I've followed every step of the way but when I get to bash and type make I just get "bash: make: command not found". Been searching online for hours now and I just can't figure it out. DOes it have anything with MINGW64 to do? only thing that is different
@aerobyrdable
@aerobyrdable 4 роки тому
Having this same issue for days, now :(
@joelhacker8767
@joelhacker8767 4 роки тому
@@aerobyrdable GCC Compiler is not installed. I'm searching for how to install it myself.
@aerobyrdable
@aerobyrdable 4 роки тому
@@joelhacker8767It was on my computer, but wasn't linking up. I couldn't tell you how I finally fixed it, though. I also got hung up due to needing to use mingw32 rather than make
@joelhacker8767
@joelhacker8767 4 роки тому
@@aerobyrdable My guess is that you had to add it to the Windows System Path. I got it from Control Panel->System Properties->Advanced Tab->Environment Variables. I do think that Keil_V5 would probably work as well, but I am now working on which elements of GCC you need to cross-compile ARM on a Windows x86 box.
@wlgrd7052
@wlgrd7052 3 роки тому
just install chocolatey and install from there. Also, the gnu-arm-emb is needed.
@marinbivol7387
@marinbivol7387 Рік тому
How is it going from a high level super abstracted puck.js to low level c++ nordic sdk feel like? :)
@Rocksetta
@Rocksetta 4 роки тому
I will be trying to duplicate your code tomorrow. Presently when I type "make" I get some errors that the makefile can't find the compiler.
@Rocksetta
@Rocksetta 4 роки тому
#include "boards.h" int main() { bsp_board_init(BSP_INIT_LEDS | BSP_INIT_BUTTONS); while (true) { if (bsp_board_button_state_get(BSP_BUTTON_0)) { bsp_board_led_on(BSP_BOARD_LED_2); } else { bsp_board_led_off(BSP_BOARD_LED_2); } } }
@rianmol5795
@rianmol5795 3 роки тому
I had the same problem. Im think it is becouse we use Windows. If you have win10 installed, search on Google how to use a linux shell bash on win10. I tried but my win isn't compatible with mine.
@AkosLukacs42
@AkosLukacs42 4 роки тому
There are "unofficial" Espruino builds available for the dongle. Check out this thread: forum.espruino.com/conversations/323658 Latest (as of 2019.10.03.) build is here: forum.espruino.com/comments/14927447/
@thakuru17540
@thakuru17540 4 роки тому
Has anyone tried to integrate this with hassio?
@vewmet
@vewmet 4 роки тому
please please please share your codes on github!
@one_bone_4_life647
@one_bone_4_life647 Рік тому
Any simulator debugger?
@phil2263
@phil2263 2 роки тому
I'm gonna give up on nRF. Trying to follow all the videos but run into so many errors like not recognizing my device and failing "make". Even a simple video like this I can't get to work. So frustrating.
@science4allworld587
@science4allworld587 5 років тому
Any idea how to get adc and i2c running with this?
@ketilerichsen
@ketilerichsen 5 років тому
You can find these in hardware peripheral examples. www.nordicsemi.com/DocLib/Content/SDK_Doc/nRF5_SDK/v15-3-0/nrf_dev_saadc_example and www.nordicsemi.com/DocLib/Content/SDK_Doc/nRF5_SDK/v15-3-0/twi_sensor_example
@jackoe1246
@jackoe1246 4 роки тому
hiya friends, I'm working on a project and I'm trying to build my projects. I noticed that you just type "make" in the terminal, Im on windows and the same command does not work, im pretty new to this and wanted to know if you had any insight before i start googling around for the answer :D
@SineHacker
@SineHacker 4 роки тому
Try downloading nRF Connect from Nordic and follow the getting started guide - it includes toolchain installation
@SarovokTheFallen
@SarovokTheFallen 3 роки тому
For anybody who can't use make, i noted all my steps in this post devzone.nordicsemi.com/f/nordic-q-a/65977/visual-code-boards-h-not-found (reference post 1,2 and reply to jared) Jared then replied with an outdated post, check my reply for the next step if you don't want to waste another 2 hours and instead take 5 minutes
@ZulfiqarAadil
@ZulfiqarAadil 3 роки тому
Why you show only examples and not even compile a single code to generate a hex file and upload it in NRF52 ? This is not called Programmiong Example
Nordic nRF 52840 Dongle Setup For BLE Sniffing with Wireshark - MAC
17:17
Nonomen funny video😂😂😂 #magic
00:29
Nonomen ノノメン
Переглядів 56 млн
You’ve Never Seen A Race Like This 🚀
00:21
Red Bull
Переглядів 37 млн
The World's Fastest Cleaners
00:35
MrBeast
Переглядів 34 млн
Adding Custom Board Support in nRF Connect SDK
1:15:49
Nordic Semiconductor
Переглядів 6 тис.
The Cheapest Microcontroller? Getting started with the 10 cent Puya PY32.
21:36
Zach of All Trades
Переглядів 12 тис.
Nordic Semiconductor - Bluetooth 5 Long Range Test with nRF52840
4:03
Nordic Semiconductor
Переглядів 35 тис.
Add USB To Your Electronics Projects! - The USB Protocol Explained
15:19
PlatformIO: All you need to know in 10 Minutes!
10:56
J's e-shack
Переглядів 276 тис.
nRF52 BLE tester project PART1 [Building the nRF52 firmware]
3:45:40
nRF52840 Dongle getting started
9:33
pcbreflux
Переглядів 31 тис.
План хакера 🤯 #shorts #фильмы
0:59
BruuHub
Переглядів 918 тис.
План хакера 🤯 #shorts #фильмы
0:59
BruuHub
Переглядів 918 тис.
ИГРОВОЙ ПК c WILDBERRIES за 40 тысяч рублей
30:17
Ремонтяш
Переглядів 476 тис.
NOTHING PHONE 2A - НЕОБЫЧЕН ВО ВСЕМ!
30:39
DimaViper
Переглядів 50 тис.