Skip to content
Snippets Groups Projects
README.md 1.92 KiB
Newer Older
  • Learn to ignore specific revisions
  • Jake Read's avatar
    Jake Read committed
    # AutomataKit Router
    
    Jake Read's avatar
    Jake Read committed
    
    
    Jake Read's avatar
    Jake Read committed
    This is a message passing device and USB link for the [automatakit](https://gitlab.cba.mit.edu/jakeread/automatakit) architecture.
    
    Jake Read's avatar
    Jake Read committed
    
    
    Jake Read's avatar
    Jake Read committed
    ![board](/images/fab-front-rpi.jpg)
    
    ![board](/images/fab-front.jpg)
    
    ![board](/images/fab-back.jpg)
    
    Jake Read's avatar
    Jake Read committed
    
    
    The board includes one USB-to-UART Bridge, a CP2102n, *which is treated as the router's 6th port*. 
    
    
    Jake Read's avatar
    Jake Read committed
    ## Development Notes
    
    Jake Read's avatar
    Jake Read committed
    See [circuit chatter](/circuit) and [firmware chatter](/embedded).
    
    Jake Read's avatar
    Jake Read committed
    # Viable Commands
    
    Jake Read's avatar
    Jake Read committed
    
    
    Jake Read's avatar
    Jake Read committed
    ### Test
    
    Jake Read's avatar
    Jake Read committed
    
    
    Jake Read's avatar
    Jake Read committed
    Keycode: **127**
     - to test networking, this will reply with a payload packet containing ```127, 12, 24, 48``` and will toggle an LED on the board
    
    Jake Read's avatar
    Jake Read committed
    
    
    Jake Read's avatar
    Jake Read committed
    ### Reset
    
    Jake Read's avatar
    Jake Read committed
    
    
    Jake Read's avatar
    Jake Read committed
    Keycode: **128**
     - issues a software microcontroller reset
     - if the microcontroller is already hung up, this will not work
    
    Jake Read's avatar
    Jake Read committed
    
    
    Jake Read's avatar
    Jake Read committed
    # ATKRouter + RPI 
    
    We can run atk on a dedicated raspberry pi hooked up to a machine. This is nice, because we can keep machine local state at the machine, and provide a nice machine display / ui / development environment in one spot. Great.
    
    To do so, 
    
    ### Setup the Raspberry Pi
    
     - [download raspbian](https://www.raspberrypi.org/documentation/installation/installing-images/README.md)
     - [flash and boot, setup etc](https://www.raspberrypi.org/documentation/setup/)
    
    ### Install Node on the Raspberry Pi
    
     - to install node, download the distro you want from nodejs.org 
     - extract the files, and hit these commands
    
    navigate to the distribution
    `` cd <distro> `` 
    copy that to local space on the pi
    `` sudo cp -R * /usr/local/ ``
    
    to check that node is installed, check the version using
    `` node -v ``
    which should return the version number of the distro you installed.
    
    
    
    
    Jake Read's avatar
    Jake Read committed
    # Reproducing This Work
    
    Jake Read's avatar
    Jake Read committed
    
    
    Jake Read's avatar
    Jake Read committed
    All automatakit works are open source, and while we cannot sell you boards, if you have an interesting application, get in touch to ask about collaborating.
    
    Jake Read's avatar
    Jake Read committed
    
    
    Jake Read's avatar
    Jake Read committed
    To reproduce boards and load code, see the document ['Reproducing Automatakit Work'](https://gitlab.cba.mit.edu/jakeread/automatakit/reproducing)