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

  Рет қаралды 88,906

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
@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
@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
@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!
@timothyvanellemeet3650
@timothyvanellemeet3650 5 жыл бұрын
Super useful and well explained - would love to see more examples, especially some with Nordic's Mesh SDK
@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.
@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.
@jupel
@jupel 5 жыл бұрын
Thanks a lot for the video. I have started to use nrf52 dev kit with help of your guide.
@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! :)
@mrcollie7210
@mrcollie7210 3 жыл бұрын
i came across your video and it is very useful, thank you Davy.
@ruibao5651
@ruibao5651 2 жыл бұрын
Good!
@saxonwynter1053
@saxonwynter1053 4 жыл бұрын
Would really love to see more examples with this device
@user-ut2ei6tw3t
@user-ut2ei6tw3t 5 жыл бұрын
It's that I need, thanks a lot
@chengL10
@chengL10 4 жыл бұрын
More videos like this, please!
@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.
@dsbros3591
@dsbros3591 5 жыл бұрын
Amazing video !! Liked, Subscribed. Please make nordic series tutorial for beginners, it will be very helpful.
@Seth-ri9hl
@Seth-ri9hl Жыл бұрын
Very useful! THANKS!
@yasirqureshi6059
@yasirqureshi6059 4 жыл бұрын
Great work.
@hughbreivik4653
@hughbreivik4653 Жыл бұрын
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…
@phinamakara1200
@phinamakara1200 4 жыл бұрын
Thank you!
@ArthurKhusnutdinov
@ArthurKhusnutdinov 2 жыл бұрын
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?
@_svenar
@_svenar 5 жыл бұрын
Hey DavyBot, Could you share the code of the nRF52840 Dingle and also from the Puck?
@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.
@Bianchi77
@Bianchi77 3 жыл бұрын
usefull information, have you tried it with ANT+ ? thanks
@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
@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.
@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!"
@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?
@GuyNChai
@GuyNChai 3 жыл бұрын
how are you building it? when you click on armgcc - > open in terminal - > what do you do next?
@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 } :)
@algre977
@algre977 2 жыл бұрын
What is the minimum current draw of the chip in receive mode ?
@lotsarats
@lotsarats 4 жыл бұрын
be great if you could compare this with the Makerdiary "nRF52840 Micro Dev Kit USB Dongle"
@science4allworld587
@science4allworld587 5 жыл бұрын
Thanks for step by step guide. I would be thankful if you can share code.
@MrChaosAdam
@MrChaosAdam 5 жыл бұрын
Can you maybe share your example files, please?
@1989solbadguy
@1989solbadguy 4 ай бұрын
thank you for the video, any ideas on how to send multiple commands in the form of .xml file to nRF using Python ? thanks
@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 ?? 🤔
@liustanley4588
@liustanley4588 3 жыл бұрын
Where to get the Linux driver for nrf52840?thx
@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.
@_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
@saurabhshukla435
@saurabhshukla435 4 жыл бұрын
how nrf dongle connect in openwrt in respberry po4 plese make viedo
@xingyuan7731
@xingyuan7731 4 жыл бұрын
Is this usb dongle works with MFi(Made for iPhone) hearing aid for streaming pc audio?
@wlgrd7052
@wlgrd7052 4 жыл бұрын
Yes
@marinbivol7387
@marinbivol7387 Жыл бұрын
How is it going from a high level super abstracted puck.js to low level c++ nordic sdk feel like? :)
@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.
@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.
@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.
@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..
@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.
@one_bone_4_life647
@one_bone_4_life647 Жыл бұрын
Any simulator debugger?
@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
@josu6798
@josu6798 5 жыл бұрын
Can you please send us your code examples?
@thakuru17540
@thakuru17540 4 жыл бұрын
Has anyone tried to integrate this with hassio?
@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.
@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/
@jackoe1246
@jackoe1246 5 жыл бұрын
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
@vewmet
@vewmet 4 жыл бұрын
please please please share your codes on github!
@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
顔面水槽がブサイク過ぎるwwwww
00:58
はじめしゃちょー(hajime)
Рет қаралды 112 МЛН
NO NO NO YES! (50 MLN SUBSCRIBERS CHALLENGE!) #shorts
00:26
PANDA BOI
Рет қаралды 93 МЛН
Balloon Pop Racing Is INTENSE!!!
01:00
A4
Рет қаралды 16 МЛН
Nordic Semiconductor - Bluetooth 5 Long Range Test with nRF52840
4:03
Nordic Semiconductor
Рет қаралды 35 М.
KiCad STM32 + RF + USB Hardware Design - Phil's Lab #5
44:01
Phil’s Lab
Рет қаралды 335 М.
NRF24 Frustration - Radio module doesn't work?
12:46
Electronoobs
Рет қаралды 82 М.
nRF52840 Dongle getting started
9:33
pcbreflux
Рет қаралды 31 М.
ESP32 Guide 2024 | Choosing and Using an ESP32 Board
41:06
DroneBot Workshop
Рет қаралды 213 М.
Intro to Hardware Reversing: Finding a UART and getting a shell
12:07
Tony Gambacorta
Рет қаралды 873 М.
Pi Pico + KMK = the perfect combo for Custom Keyboards
7:41
Jan Lunge
Рет қаралды 61 М.
CircuitPython nRF52840-dongle OpenOCD Pi Tutorial
14:39
rdagger68
Рет қаралды 17 М.
Вы поможете украсть ваш iPhone
0:56
Romancev768
Рет қаралды 650 М.
С Какой Высоты Разобьётся NOKIA3310 ?!😳
0:43
#Shorts Good idea for testing to show.
0:17
RAIN Gadgets
Рет қаралды 3,6 МЛН
😱НОУТБУК СОСЕДКИ😱
0:30
OMG DEN
Рет қаралды 1,3 МЛН
Why spend $10.000 on a flashlight when these are $200🗿
0:12
NIGHTOPERATOR
Рет қаралды 18 МЛН