A Spectral Data Visualisation & Spectrophotometer Control Application
A web based real-time application for remote spectrophotometer control and spectral data visualisation using Arduino, NodeJS, Rgraph, MongoDB and Octopress
- Install NodeJS
- Install MongoDB
- Connect Arduino to Development Computer & Upload
arduino/specontrol.ino
- Install the Application
$ cd /path/to/working/directory
$ git clone https://github.com/debanjum/Spectroserver.git # Cloning Repository
$ cd Spectroserver/nodejs
$ npm install # Installing Application Dependencies
$ node serve.js # Starting NodeJS Server
- Open
spectra/index.html
in browser & run application.
- Interface arduino to spectrophotometer and connect to development computer
- Edit
nodejs/serve.coffee
,spectra/index.html
,arduino/specontrol.ino
etc as required - Convert Coffee to JS
$ coffee -o ./ -c serve.coffee
& Start Server$ node serve.js
- Open
spectra/index.html
in browser & start testing
###Server Not Starting
- Make sure arduino connected and
serve.coffee
refers to correct arduino serial port. [e.g /dev/ttyACM0] - Ensure MongoDB service is running
- Arch:
$ sudo systemctl start mongodb && systemctl status mongodb
- Ubuntu:
$ sudo service mongodb start && service mongodb status
- Arch:
- Make sure permission on files and ports are set correctly
- Ensure all applications dependencies installed
Please file bug reports at https://github.com/debanjum/Spectroserver/issues
This program is free software; it is distributed under the GNU General Public License v3.