a scrappy gimbal that insults you in shakespearean english
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

docs: add firmware section

+19 -2
+19 -2
README.md
··· 25 25 | `GND` | `GND` | Ground | 26 26 | `3V3` | `3V3` | Power | 27 27 28 + ## firmware 29 + 30 + The firmware is written in circuitpython and is in the [`firmware`](/firmware) directory. 31 + The firmware sends complete rotations based on serial input in two formats: 32 + - `[1 or 2] [number]` -> rotate to a position in complete rotations 33 + - `[1 or 2] zero` -> set current position as zero 34 + 35 + The control is absolute - you specify the rotation count you want to go to rather than relative movement. 36 + 37 + Important notes: 38 + - Using 200 steps/rotation * 16 microsteps (very precise control) 39 + - Motors must be enabled by setting enable pin LOW 40 + - Movement speed controlled by delay between steps (currently 0.0001s) 41 + - Supports two motors controlled independently 42 + - Coordinates maintained in number of steps from zero 43 + - Direction controlled automatically based on target vs current position 44 + - Movement is blocking - the pico will not respond to serial commands while moving 45 + 28 46 ## web interface 29 47 30 48 The web interface is a pwa that is served from cloudflare pages. It uses the web serial api to communicate with the pico. The web interface is hosted at [myrus.dunkirk.sh](https://myrus.dunkirk.sh). 31 49 32 50 ## cad 33 51 34 - The cad was done in onshape around midnight of the 15th and can be found and exported from here: [cad.onshape.com/documents/8d200c472...](https://cad.onshape.com/documents/8d200c472fc5b660efdf8352/w/ff1d53ebe00121ac7a3c9bc5/e/6edac687c4356b98c8934741?renderMode=0&uiState=67d649b588856c134638cb6b) 52 + The cad was done in onshape around midnight of the `15th` and can be found and exported from here: [cad.onshape.com/documents/8d200c472...](https://cad.onshape.com/documents/8d200c472fc5b660efdf8352/w/ff1d53ebe00121ac7a3c9bc5/e/6edac687c4356b98c8934741?renderMode=0&uiState=67d649b588856c134638cb6b) 35 53 36 54 ## schematics / blueprints 37 55 38 56 ![blueprint](https://raw.githubusercontent.com/taciturnaxolotl/myrus/main/.github/images/blueprint.svg) 39 - 40 57 41 58 ![blot schematic](https://raw.githubusercontent.com/taciturnaxolotl/myrus/master/.github/images/blot-schematic.svg) 42 59