Git Product home page Git Product logo

ledlightsticks's Introduction

LEDLightSticks

A standalone light fixture that you can also wear

ledlightsticks's People

Contributors

efficiencyjunky avatar

Stargazers

Gokul avatar  avatar

Watchers

 avatar

ledlightsticks's Issues

Create LED Stick power plug and assembly

Make library component, pcb breakout board, and internal mounting stucture for the Micro-Fit Male straight header that will mate with the power source boards

Finish structuring program and all EEPROM data to save

Need to get final structure of program figured out

  1. Order of Animations
  2. Order of Color Palettes and which palettes go with which animations
  3. Fire Animation with it's own set of palettes
  4. Finish colorwaves animation with non-static variables
  5. Menu for color palette checking
  6. EEPROM settings update

Animations with separate palettes:

  • Rainbow (rainbow only)
  • Fire (only fire palettes)
  • Solid Color (only solid colors)
  • ColorWaves (should it have its own?)
  • All other animations

Add ext power cutoff, second LED output, and swap LED connector +/- on PCB#1

We need to redesign the brain board slightly so that it can be programmed more easily while connected to the led light sticks, can control the 2 strips individually, and adheres to the color codes of the harnesses we're using

  1. Add power cutoff for programming
  2. add second LED Strip data connection to PCB1 and Blinky Tape
  3. Swap positive and negative power connections

PARTS
200 Ohm Resistor (1206 SMD): https://www.digikey.com/en/products/detail/stackpole-electronics-inc/RMCF1206FT200R/1759762
0 Ohm Resistor (1206 SMD): https://www.digikey.com/en/products/detail/stackpole-electronics-inc/RMCF1206ZT0R00/1756906
Jumper (shorting connector): https://www.digikey.com/en/products/detail/sullins-connector-solutions/QPC02SXGN-RC/2618262

Create more palettes!!

224, // pink
128, // aqua

Would make a good palette: soft gurl pink and soft boi blue

Implement LFO to recreate "Devin Animation"

need a struct {
rate = BPM from 30 - 100
depth = 70 - 100
base = 80 - 140
}

also need global scalar

and usecase would be beatsin8(rate*scalar, base, base+depth)

this would be used as brightness

Update mounting holes and nut seats to match M4 hardware dimensions

We want to test if M4 hardware works better than the previous 10-32 hardware for mounting bolts

Things to adjust:

  1. Mounting Bolt hole diameter -> 4mm
  2. Mounting Bolt Head Diameter -> 8mm + Gap
  3. Mounting Nut Width -> 7mm
  4. Mounting Nut Depth -> 3.2mm + Gap
  5. D-Ring clearance -> drop the height of the outer shell from 1mm to 0.2mm -> Add 2mm fillet to inside lip

Move settings initializations to initializeAnimation() function

we only want to store a single CRGBPalette16 color palette in the program memory at once and swap it out depending on the animation settings. So we can just store the index in our settings object for each animation and then swap the palette being used in the initializeAnimation() function

add ability to save settings to EEPROM

Resources:
https://www.arduino.cc/en/Reference/EEPROM
https://www.pjrc.com/teensy/td_libs_EEPROM.html
https://learn.sparkfun.com/tutorials/reading-and-writing-serial-eeproms/all
http://www.mosaic-industries.com/embedded-systems/sbc-single-board-computers/freescale-hcs12-9s12-c-language/instrument-control/eeprom-lifetime-reliability-wear-leveling

Arduino Leonardo has 1024 bytes of EEPROM
Teensy has 2048 bytes of EEPROM

We should only use 1024 or 512 or set the EEPROM as one of the hardware settings

NOTE
Each address contains one byte of information in the form of an unsigned byte, which is best represented as uint8_t so we can easily just use uint8_t data types for each memory location
more information here:
https://docs.oracle.com/cd/E19253-01/817-6223/chp-typeopexpr-2/index.html
https://forum.arduino.cc/index.php?topic=206959.0

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.