GithubHelp home page GithubHelp logo

ng-beacon's Introduction

ng-beacon

Physical Web Beacon shaped after the Angular logo with JavaScript support

ng-beacon bottom view

Copyright (C) 2016, 2017 Uri Shaked

Build your own beacon

Check out the BOM file for the list of materials. In addition, you need to get the PCB printed, I got mine from PCBWay.

Features

  • Physical Web (Eddystone) Beacon
  • iBeacon
  • Built-in JavaScript Interpreter
  • Fully programmable via JavaScript
  • Over-the-air firmware updates
  • Prototyping area where you can add your own sensors and extend the board
  • Runs of CR2032 / CR2024 coin cell battery, can last for several months
  • Built in LED and push button

Hardware

The board uses the nRF52832 chip, which has the following features:

  • 32-bit ARM Cortex-M4F Processor running at 64MHz
  • 512kB flash + 64kB RAM
  • Bluetooth 5 support, up to 2MBPS
  • Up to +4dBm output power, -96dBm sensitivity
  • 3 PWM, 3 SPI, 2 I²C, Serial UART

Code samples

Configure the built-in button to control the LED:

setWatch(() => LED1.toggle(), BTN1, { 
  repeat: true,
  edge: 'falling', 
  debounce: 100
});

More code samples

Firmware

The current firmware is based on Espruino. The latest source code can be found here, and the most recent firmware build can be found in this repo.

ng-beacon's People

Contributors

heathkit avatar urish avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

ng-beacon's Issues

OnBoard Programmer

Can we have an onboard programmer, probably a JTAG?
I've made a fork and am working on the changes.

Regards.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.