npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

n00ga

v1.1.1

Published

Utility to write to N00GA/Y5207/AM03127 LED matrix signs

Downloads

12

Readme

N00GA

A simple javascript library for driving the LCD messageboard that goes under various names:

  • Maplin N00GA
  • AM03127
  • Y5207

Setup

The message board should be connected to your machine and available at a port such as /dev/tty.usbserial-0001 (on Mac) or COM<X> on a windows machine

You can then install the node module using:

npm install --save n00ga

Initialisation

const { N00GA } = require('n00ga')

// Create the N00GA object
const n00ga = N00GA('/dev/tty.usbserial-0001')

// You must then initialise it before performing any further actions
// This opens the serial port and is an asynchronous process that returns a promise
await n00ga.initialise()

Options

You can supply the following options object during initialisation

{
  boardId: '01',
  bell: '0.5',
  column: '0',
  color: 'rainbow',
  font: 'bold',
  lagEffect: 'scrollL',
  leadEffect: 'scrollL',
  line: '1',
  page: 'A',
  speed: 'mediumFast',
  waitTime: '5'
}

Available values can be found in the constants directory

Sending Messages

Send text-based message

Example usage:

n00ga.send('Homer Simpson')

You can also specify options here too:

n00ga.send('Homer Simpson', { color: 'brightRed' })

Managing pages

Running a specific page

Pages are specified by letter:

n00ga.runPage('A')

Clearing a specific page

Pages are specified by letter:

n00ga.clearPage('A')

Other Functions

Display datetime

n00ga.showDateTime()

Reset sign to factory settings

Warning - this will delete all pages and reset your sign back to factory settings Due to the destructive nature of this command, note that you need to specify true to confirm.

n00ga.resetToFactory(true)

Credits

Tremendous thanks to https://blog.ambor.com/2020/04/driving-led-panel-with-spreadsheet.html for excellent work in identifying the communication protocol with this sign