Git Product home page Git Product logo

pulsar-teensy's Introduction

Pulsar for Teensy

This is an open-source hardware (OSHW) project to run scripted firing sequences on an Evolv DNA device from a Teensy-based dongle.

NOTE: Because this device can fire a vaporizer, it can start an actual fire if used improperly. Please read the liability disclaimer in LICENSE before using this software.

Hardware

  • Teensy (v3.6 only at present)
  • micro-USB breakout board/cable (VBUS/D+/D-/GND)
  • Pushbutton/tactile switch (Normally Open)
  • microSD Card, FAT32 formatted

Software

Find the latest firmware here. Flash the firmware using Teensy Loader.

Alternatively, clone this repository and use PlatformIO to flash it to your Teensy.

Setup/Usage

Wire the switch between GND and GPIO1. Wire the micro-USB breakout to the USB Host Pins on the Teensy. Place test.csv on the microSD card. Insert the SD card into the Teensy. Supply USB power to the Teensy, then connect it to the DNA device. Press the switch to play back the script contained in test.csv.

Puff Files

A puff file is a .csv file like this:

# Lines starting with a hash are comments and are ignored
# The next line sets wattage to 10 watts
W,10
# The next line fires for 5 seconds
F,5
# The next line waits for 7 seconds
P,7
# Now a simple "wattage curve" for demonstration
W,30
F,3
P,1
W,50
F,3
P,2
W,40
F,3
P,5

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.