Commit Graph

181 Commits

Author SHA1 Message Date
mmcwilliams ed593b3b7c Merge INTVAL 2.1 project into mcopy firmware 2016-06-09 17:21:05 -04:00
mmcwilliams 413deb421d Enable Pixie headers for testing the pixie 2016-05-25 15:58:49 -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 6fa80d63ee Correctly manage memory when reading from endstop 2016-04-22 14:34:44 -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 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 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 551f87a1fa projector() imported from mcopyJK 2016-04-12 01:31:07 -04:00
Matt 62afca2134 Create mcopy projector firmware, first 2016-04-12 00:07:36 -04:00
Matt 56e365fe52 Update connect() command to "l" 2016-04-12 00:07:01 -04:00
Matt 2ca59c0be8 Refactored copy arduino into library with real tests.
Optimized copy light firmware from 1000ms response times to 10ms
2016-04-11 23:05:05 -04:00
mmcwilliams cdf5f67714 Improve light color test
Change the way that queue object is handled on responses
2016-04-11 18:03:22 -04:00
mmcwilliams 1e7d1519cf mcopy.arduino connects to mcopy_serial_tests 2016-04-11 17:26:32 -04:00
mmcwilliams 480a0df3dd Arduino test firmware for serial comms
Use for timing tests, configuration protocols (figuring out what is
attached and which arduino handles which function)
2016-04-11 17:06:05 -04:00
mmcwilliams f594ae9b34 Caught incorrect parsing of B value 2016-04-11 15:59:48 -04:00
mmcwilliams b62bb0d18e Lighting testbed using pixels instead of pixies
Neopixels are sub-watt and pixies are 3W, this will prevent major eye
damage when testing lighting firmware
2016-04-11 15:22:33 -04:00
mmcwilliams dab987abc0 Fix model, Pixie only uses rgb 2016-04-11 15:17:20 -04:00
mmcwilliams 7e1e80f770 Move light firmware to own dir
Reduce cognitive load of firmware, can only set color. Must set black
via client.
2016-04-11 13:08:14 -04:00
Matt 2453c8b9ce Light code 2016-04-11 00:11:38 -04:00