Make an nRF52 SOC programmable with the Arduino IDE [Testing with an nRF52840DK]

แชร์
ฝัง
  • เผยแพร่เมื่อ 29 มิ.ย. 2024
  • This video is about how to make an nRF52 SOC Arduino compatible, this will make it easier to program with the Arduino IDE.
    To make an nRF52 SOC programmable with the Arduino IDE, you'll need to have an Arduino bootloader flashed to the SOC, this is done using a Jlink debugger.
    Adafruit offers many bootloader that you can check here :
    github.com/adafruit/Adafruit_...
    If you find this video helpful, consider SUBSCRIBING to the Chanel.
  • วิทยาศาสตร์และเทคโนโลยี

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

  • @KolibriFPV
    @KolibriFPV 3 ปีที่แล้ว

    Hi, i've been following you're videos lately. Would kindly make a video about the ble long range? Im still confused on how to assign the correct flags to make it long range. And perhaps an explanation on how it works. Thanks!

  • @fahadjabbar1760
    @fahadjabbar1760 2 ปีที่แล้ว

    hey can we use arduino IDE to program EBYTE E73-TRM-01? if yes then how? or we have to program it with nrfgo studio ?

  • @kevinmcdonald4141
    @kevinmcdonald4141 2 ปีที่แล้ว

    I was following along with this video trying to get my nrf52 DK with the 52832 chip working with the arduino IDE. I was able to do it, but now I want to put the original bootloader back on there. I cannot seem to find it and my computer has become spotty with keeping the connection to the board. Any thoughts on what I can do to fix it?

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

      Hello @kevin,
      Sorry for this late reply, but hopefully still can be helpful to anyone else if not still with your issue.
      The nRF52 boards doesn't came with a bootloader. Nothing in there at the first time. And that's why it is connected to a Jlink debugger which let you program it over its (jlink) USB port.
      The only boards that come with a bootloader are the dongles, like the nRF52840 dongle, and that's what makes it programmable through its USB port, as no Jlink debugger chip is present on it.
      Hope that helps,

  • @jpconstantineau
    @jpconstantineau 3 ปีที่แล้ว

    There are 2 repositories. One for the bootloader and the other for the nrf52 Arduino boards. That's why you don't see the Bluemicro in the Arduino IDE.

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

      If you want to see it, you need to install the community add-on to the Adafruit nrf52 boards. You can get install instructions here github.com/jpconstantineau/Community_nRF52_Arduino/wiki/Installation Instructions

    • @jpconstantineau
      @jpconstantineau 3 ปีที่แล้ว

      Bluemicro has a TH-cam channel that can be useful too. Focus is on Bluetooth keyboards using the nrf52 chips and the adafruit nrf52 Arduino packages.

    • @nrf5dev
      @nrf5dev  3 ปีที่แล้ว

      Oh, okay I didn't know about that.
      Thanks a lot for that.
      I will look into

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

    I have been trying to upload blink code from Arduino IDE to nRF52_DK, I can't figure how to access pins. Could you guide me with it? nRF52840_DK have pinout P0.1, P0.2....P1.1...P1.15. How to access these pins in Arduino IDE?

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

    Is it possible to access the flash memory on the nRF52832 with Arduino coding? Or is Nordic coding a must?

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

      Hi Joshua,
      Yes, it is possible with the arduino but not the same as if you use the sdk.
      Have a look at the Adafruit nRF52 examples, it should have an example for that. I think it's called LittleFs.
      Hope that helps,

    • @JoshSpace
      @JoshSpace 3 ปีที่แล้ว

      @@nrf5dev awesome. If you can make a video showing this, that would be incredible! Thanks!

  • @Avipami
    @Avipami 3 ปีที่แล้ว

    Hello! Do you know if there is a BT mesh library for the feather on Arduino IDE?
    I have a custom nrf52832 board and wonder if you know if its possible to use the feather boot loader on it and that I can program it through Arduino?

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

      Hi @Vincent,
      I don't think there is any nRF52 mesh library for the Arduino!
      Yes, you can use the feather bootloder, this'll make the board programmable with the Arduino IDE, just make sure you pick an nRF52832 bootloader.
      Hope that helps,

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

      Just a heads up, the nRF52832 doesn't have a native USB. So a usb to uart chip is used to send the Arduino sketch to the nRF52832.
      Check the Adafruit bluefruit nRF52832 schematic for how it's wired up.

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

      heyy @vincent palma i am trying to design my own custom board too i think you might be of help

  • @hamzafijahi
    @hamzafijahi 2 หลายเดือนก่อน

    Salam, wch ila bghit nprogrammi nrf52840 SoC using nrf52840 Dk khassni darori mn bootloader 3ad n9dr n9dr nprogrammih ola la ? o kifach n9dr ndir liha

    • @nrf5dev
      @nrf5dev  2 หลายเดือนก่อน +1

      eh, ila bghtiha tekhdem b7al chi arduino board.. DK katkhelik teflashi l bootloader d l arduino

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

    Can i use an ST-Link v2 for flashing the bootloader instead?

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

      Hi, you can check Tools->Programmer on the Arduino IDE, to see what options you have with the installed package.

  • @micah2936
    @micah2936 2 ปีที่แล้ว

    I have a NRF51 in my schematic design. Would this work for it?

    • @nrf5dev
      @nrf5dev  2 ปีที่แล้ว

      Hello @Micah,
      So, sorry for this late reply! hopefully it can still be helpful to anyone else, if not with your case.
      I strongly suggest starting with the nRF52 series, grab and nRF52DK or an nRF52840DK and you should be good to go.
      The nRF51 is sort of obsolete, I mean not much you can do with it. It doesn't even support the latest development SDKs. And if you looked into its spec, it doesn't offer much.
      These chips on the (nRF51 series), are mostly used as BLE modules taking care of only the BLE part of the application, so there should be another MCU handling the application execution and just leaving the RF stuff to the nRF51 module.
      But, in the other side the nRF52 can take care of all that, the Application plus the BLE.
      Hope that helps

    • @micah2936
      @micah2936 2 ปีที่แล้ว

      @@nrf5dev that is helpful. Thank you so much for getting back to me.
      I had wanted to use it to control a small 3.3V speaker (for device pinging) with BLE with a very small space constraint. I don’t have space for a second MCU so I was hoping to use this chip to control the speaker and provide the BLE

    • @nrf5dev
      @nrf5dev  2 ปีที่แล้ว

      @@micah2936 What type of control are you looking to have?
      There are smaller BLE modules that contain the nRF chip.
      www.nordicsemi.com/Nordic-Partners/3rd-party-modules