# Raytac dongle - nRF52840 USB Key with TinyUF2 Bootloader MDBT50Q-RX

![](https://1065911005-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Ftmmq04xl8IrJjV6lZCnr%2Fuploads%2FjwECSIRqMrScbFv4Uzvr%2Fimage.png?alt=media\&token=7febed82-4987-4a67-95f6-024513973e6c)

Either use the drag and drop UF2 method or more steps involved - Arduino uploading method.\
\
For the UF2 method

* Download the UF2 file for the raytac dongle in the\_ [*current release*](http://github.com/acecentre/relaykeys/releases/latest)\_\_
* Press and hold thr reset button as you plug it into the computer. You will then get a USB drive on your computer. Drag and drop the UF2 file to the root of that drive.

![](https://1065911005-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Ftmmq04xl8IrJjV6lZCnr%2Fuploads%2FWD7Hvf2FgNfw9A2A59Nb%2Fuf2drag-drop.gif?alt=media\&token=b05217c0-c7b4-42cf-ad1f-2cc460f30d5e)

Or the Arduino uploading method.

* Check the setup of your [Arduino IDE](https://learn.adafruit.com/bluefruit-nrf52-feather-learning-guide/arduino-bsp-setup) (remember we're using the nRF52840 board!)
* Upload the [sketch](https://github.com/AceCentre/RelayKeys/blob/master/arduino/arduino_nRF52840/arduino_nRF52840.ino) to your feather.
* Run the server side code
* Done!
