Commit Graph

898 Commits

Author SHA1 Message Date
mmcwilliams 413deb421d Enable Pixie headers for testing the pixie 2016-05-25 15:58:49 -04:00
mmcwilliams 5d2dcac4c4 CMYK controls almost fully functional
Need to better tie into swatch selection, and need to add UI to dials
themselves, but currently can display and change values with the inputs.
2016-05-18 18:05:43 -04:00
Matt 08e4738b86 Build out CMY controls for lighting 2016-05-16 10:41:24 -04:00
Matt 9532c8cd8f Migrate UI code into libraries 2016-05-16 10:41:11 -04:00
mmcwilliams ae2c490afd Establish CMYK controls in markup 2016-05-13 17:28:51 -04:00
Matt 5f2dbd77b7 Merged mcopy_camera.ino into test firmware
Also added optional log() function to print out time that the frame
took, in ms for profiling.
2016-05-12 23:12:00 -04:00
Matt 1a116261a6 Add identification logic to camera firmware
This allows the Electron client to query the each Arduino and properly
assign each serial port to their function.
2016-05-12 23:10:44 -04:00
Matt 408c0beb61 Merged functions from INTVAL into camera firmware
Taking functionality from here:
https://github.com/sixteenmillimeter/intval2
2016-05-12 22:59:10 -04:00
Matt a45c8104d8 Update test and firmware files to update Pixie every sec
Send a signal to change the color of the light every second to prevent
them from getting “stuck” re:
https://learn.adafruit.com/pixie-3-watt-smart-chainable-led-pixels/

“You do have to send it data every 1 second at a minimum (as a
protection against the bright and hot LEDs staying 'stuck on', they
will eventually timeout if no updates are received)”
2016-05-12 22:34:38 -04:00
Matt e6aca8c6a9 Big delay in the loop for some bad reason 2016-05-12 22:25:46 -04:00
mmcwilliams 70842a377e Flip raw reading logic for microswitch
Using a microswitch with INPUT_PULLUP instead of an endstop. As a
result 1 == switch closed instead of 0 == endstop closed.
2016-05-09 09:26:10 -04:00
Matt 8bb89e1a62 Add device identifiers to the configuration
These are characters that are sent to or received from mcopy devices
(camera or projector)
2016-05-04 21:03:54 -04:00
Matt McWilliams f4167de6c7 Add arduino mount and pins libraries
These will be used in the mcopy hardware designs
2016-05-04 17:28:53 -04:00
Matt 6fa80d63ee Correctly manage memory when reading from endstop 2016-04-22 14:34:44 -04:00
Matt 2697d9f721 Add notifier 2016-04-22 14:34:44 -04:00
Matt b44fc327c6 Hide spinner and overlay when clicking 2016-04-22 14:34:44 -04:00
Matt 47f0003123 Add notification handler to gui 2016-04-22 14:34:44 -04:00
Matt McWilliams a31335ee3a Create log directory on install of app 2016-04-22 12:37:58 -04:00
Matt be4002ed87 Created framework for projector motor control 2016-04-21 23:37:37 -04:00
Matt eec3414364 Add basic endstop code to projector_test 2016-04-21 08:33:16 -04:00
Matt 6c238609ad Add codemirror for editing mscript 2016-04-19 16:49:37 -04:00
Matt 83c9fba876 Block UI with overlay until devices are ready 2016-04-18 23:44:51 -04:00
Matt c6627308b0 Build with spin.js, codemirror, and mscript 2016-04-18 23:44:31 -04:00
Matt b30dfa7c78 Add codemirror files 2016-04-18 23:43:49 -04:00
Matt d613f33675 Duplicate cam/proj counters 2016-04-18 23:43:32 -04:00
Matt 2887182282 Sequencer and firmware work together 2016-04-18 21:52:38 -04:00
Matt f4b75d7398 Make mcopy-arduino work with multiple devices
TODO: partition the queue and locks so commands can overlap when
passing to different devices
2016-04-18 21:26:45 -04:00
Matt 3fa5b06e82 Make camera identify itself 2016-04-18 21:25:30 -04:00
Matt 7c9b56822e Merge light + projector sketches
light will remain on its own for experiments and test builds
2016-04-18 21:25:18 -04:00
Matt 64008bd10a Same deal for camera_tests 2016-04-18 13:06:35 -04:00
Matt d0ee8089af Duplicated mcopy_projector -> projector_tests
mcopy_projector.ino and mcopy_camera.ino will be the targets for
deployed firmware

mcopy_light.ino will be merged into mcopy_projector.ino because they
share a physical machine
2016-04-18 12:59:42 -04:00
Matt 3e2cffe9c1 Framework for camera firmware 2016-04-18 12:56:04 -04:00
Matt 5a9ad44555 Temporary projector sketch 2016-04-18 12:39:45 -04:00
Matt 8ff6c13349 Organize variables for better merging
In light firmware
2016-04-18 12:39:19 -04:00
Matt b6e4675673 Change Kelvin messaging
Use Temperature as the heading and Kelvin as the unit
2016-04-18 12:27:15 -04:00
Matt 2290641b30 Conform serial coms to style
Receive char and respond with char when action is done
2016-04-18 12:26:50 -04:00
Matt 479240a6c3 CAM/PROJ goto feature works within loops 2016-04-18 12:23:14 -04:00
Matt fc05992558 Add light setting feature to mscript
Can set a light to state to be used for all subsequent camera commands
2016-04-18 01:12:04 -04:00
Matt 95b3ec1874 Add light array to mscript output 2016-04-18 00:22:16 -04:00
Matt 1a47bf6387 Add mscript to renderer 2016-04-18 00:19:23 -04:00
Matt f17c00dea7 Restore sequencer functionality 2016-04-18 00:19:09 -04:00
Matt 4d11f1f985 Add cam functionality 2016-04-17 23:02:22 -04:00
Matt 24aebc4c31 Add projector communication between renderer and main 2016-04-17 22:22:18 -04:00
Matt c72eed3d5d Add kelvin edge-case UI states 2016-04-17 21:24:11 -04:00
Matt 3a1b038c1b Add kelvin selection UI
Set swatches and preview kelvin light
2016-04-17 20:34:18 -04:00
Matt 9da1ea6dbb Catch UI edge cases in gui.grid.swatch 2016-04-17 18:21:39 -04:00
Matt 3006e2e706 Lighting GUI complete
Able to store swatches of colors in active memory and apply to steps in
the sequencer
2016-04-17 17:55:23 -04:00
Matt d7414d9b7f 'use strict' all of mscript. made it 20% faster. 2016-04-17 10:28:20 -04:00
Matt 4c9b607efc Expanding mscript to take lighting commands 2016-04-17 08:53:48 -04:00
Matt 79e413aeb1 Change arduino namespace from mcopy to arduino 2016-04-15 18:17:59 -04:00