Skip to content

JavaScript Firmware for ng-beacon (based on Espruino)

Notifications You must be signed in to change notification settings

urish/ng-beacon-firmware-old

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JavaScript Firmware for ng-beacon

JavaScript firmware for ng-beacon, based on Espruino.

Firmware Upgrade Instructions

  1. Copy all the files to the Raspberry Pi
  2. Connect your ng-beacon to the Raspberry Pi (see below)
  3. Run ./nrf51-old/flash.sh

Programming should take about 20-25 seconds (tested on Raspberry Pi 3). If you connected the ng-beacon correctly, you will see the following line in the output:

Info : nrf51.cpu: hardware has 4 breakpoints, 2 watchpoints

Once the process has finished, you should get an output similar to this:

wrote 240640 bytes from file espruino_1v91.78_ngbeacon.hex in 21.987272s (10.688 KiB/s)
** Programming Finished **
shutdown command invoked

This means that you have upgraded your firmware successfully!

You can now go to ngbeacon.io/config to connect to the beacon and complete the setup.

Connecting ng-beacon to the Raspberry Pi

Follow the guide here for the wiring.

You will have to connect 4 wires: GND, SWDIO (labeled DIO), SWCLK (labeled CLK), 3.3V:

Connecting to ng-beacon

This is what it looks like when wired correctly:

ng-beacon and Raspberry Pi

About

JavaScript Firmware for ng-beacon (based on Espruino)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages