Switch branches/tags
Nothing to show
Find file History
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
images reorganize Oct 17, 2018
.gitattributes zip versions Oct 15, 2018
README.md fix typo and add more in-depth intructions to Alternative section Oct 24, 2018
codecard-terminal-darwin-x64.zip zip versions Oct 15, 2018
codecard-terminal-linux-x64.zip linux zip Oct 15, 2018
codecard-terminal-win32-x64.zip zip versions Oct 15, 2018
index.html organizing Oct 15, 2018
main.css organizing Oct 15, 2018
main.js organizing Oct 15, 2018
package-lock.json organizing Oct 15, 2018
package.json organizing Oct 15, 2018
renderer.js organizing Oct 15, 2018

README.md

Code Card Terminal

To make it easier to connect to your Code Card, we created a custom Terminal App. This app is built with Electron so it is cross-platform.

The Code Card has a serial-usb chip. We use serial communication to configure the Code Card wifi and button settings.

Download

We have pre-compiled version for Windows, Mac, and Linux.

If your machine is not recognizing the Code Card, you might need to install the CH340 USB-Serial drivers.

Alternative

You can also use any terminal emulator app such as PuTTY (Windows), CoolTerm (Mac), or screen (Mac and Linux.)

The USB-Serial port will have different names depending on your OS:

  • Windows: COM[X]
  • Mac: /dev/tty.wchusbserial[XXXX]
  • Linux: /dev/ttyUSB[X]
Steps
  1. Connect to the device with the emulator for your OS (baud rate = 115200)
  2. Once connected, you'll need to reset the device by flipping the power switch off then on again
  3. Type help in the emulator to bring up a list of commands

To change to wifi profile

ssid={your-ssid}
password={your-wifi-password}

Keep in mind that pausing for 2 seconds while typing will automatically enter the command. It may be easier to pre-type the commands elsewhere and copy-paste them into the window.

Manual Installation

First download or clone (git clone https://github.com/noelportugal/codecard.git) this repository.

You must have NodeJs installed. We recommend using nvm to manage different versions.

cd terminal
npm install
npm run start

Follow OS build specific instructions here.

  • For Windows you must install using the following flags: npm install --global --production windows-build-tools

Compile

If you want to compile the Electron app use electron-packager. Make sure you are in the terminal directory.

npm install electron-packager -g
electron-packager . codecard-terminal