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

quirkbot-self-test

v1.3.9

Published

Quirkbot Self Test Program

Downloads

11

Readme

Quirkbot firmware upload in production (v1.3.9)

This script generates and uploads a self-test firmware for the Quirkbots. Each firmware contains a unique id that will be stored in the Quirkbot's eeprom.

If the the upload is successful, the id will also be appended to a UUIDs.txt, stored in the root of this repository. After the production cycle, please send us back the UUIDs.txt so we can have control of every Quirkbot produced.

Bootloader

This script assumes that the Quirkbot has the "Quirkbot Bootloader" burned.

The latest version of the bootloader .hex can be downloaded here.

When burning the bootloader, please use the following settings:

  • Low fuses: 0xff
  • High fuses: 0xd8
  • Extended fuses: 0xce
  • Unlock bits: 0x3F
  • Lock bits: 0x3F

Upload Instructions

01 - Install NodeJS 5.11.0


02 - Install the Quirkbot Drivers (only required by Windows 7 and 8)

Download Quirkbot Windows Drivers here.


03 - Install the Upload script

This may take a few minutes.

$ npm install quirkbot-self-test

04 - Make note of the Quirkbot's COM port

Make sure there is a Quirkbot turned ON and connected to the computer. Use the "Device Manager" to discover what is the port it is connected to. On Windows, it should be something like COM3,COM4,COM5, etc.


05 - Run the script

Make sure you are on the same directory where the upload script was installed (see 03 - Install the Upload script).

Run the script, passing the COM port as an argument

Example on Windows:

$ node node_modules\quirkbot-self-test\script.js "COM3"

Example on Mac:

$ node node_modules/quirkbot-self-test/script.js "/dev/cu.usbmodem1411"

If the script is executed correctly, you should see an output like this.

Using COM port: COM3
Using UUID: 8d19c840e2284315
Compiling and uploading, please wait...

The upload process may take a few seconds, so please be patient.


06 - Verify for SUCCESS or FAILED

If the upload is successful, you should see the word SUCCESS in the end of the output:

Using COM port: COM3
Using UUID: 8d19c840e2284315
Compiling and uploading, please wait...
No device refresh
SUCCESS!

If there were any errors during the process, you will see the word FAILED! in the end of the output, followed by the actual error message:

Using COM port: COM3
Using UUID: 8d19c840e2284315
Compiling and uploading, please wait...

FAILED! /bin/sh: \Program Files\Arduino\arduino_debug.exe: command not found

Testing on the test jig

If the upload was SUCCESSful, the Quirkbot is ready to be tested in the test jig.

Place the Quirkbot in the jig, turn it on, and observe the feedback from the onboard LEDs.

If the test passes:

4 LEDS ON.

If the test fails:

LEDs blinking.

UUIDs.txt (very important)

Before starting a production cycle, please make sure to delete the UUIDs.txt file in the root of this repository, if it exists.

After the production cycle, please send us the UUIDs.txt that was generated. This file contains all the generated ids, and will be used by us to verify original Quirkbots.