Skip to content

esleland/Ardustat

 
 

Repository files navigation

#Ardustat Code

Authors:

Rigers, Susan and Eddie were able to work on this because of inspiration by NSF CMMI 1031208
Balasubramanian is supported by NSF CMMI 1031208

###Installation: ####Software that you need to have installed to use the ardustat:

Note: This software is not tested with Internet Explorer or older versions of Firefox, Safari, Chrome, etc. To avoid preditable results, please use a modern browser.

###General Ardustat Instructions (tested against mac os x)

  1. Install Version of Firmware 7s on your ardustat (Firmware/Firmware 7_s/)
  2. In the NodeJS directory, type
    • npm install serialport (only on the first go)
  3. Then type
    • node expresserver.js <tcpport e.g. 8888> where serial port is COMX for windows, /dev/tty.usb-whatever for mac, /dev/ttyUSBX for linux
  4. In a browser, go to http://localhost:8888/debug (stuff should be happening)
  5. We now need to calibrate the ardustat. Put a quality resistor of known value between the working and counter clips, and then attach the reference clip to the counter clip
  6. Give your ardustat an id: in the "Ardustat Commands" box type
    • V0XXX
      where XXX is an integer between 0 and 240, and hit send (you only have to do this once as well, the id will persist in EEPROM)
  7. Under calibration resistor value, enter the value of your resistor in ohms, and hit send
  8. You should see the graph changing, the yellow line should slope downwards and then reset 3 time.
  9. Your ardustat is now calibrated. You won't have to do this again (unless you delete the calibration file or feel that the values were inaccurate)
  10. Now go to http://localhost:8888. You should now see the Potential and Current trace. Play with the the potentiostsat and galvanostat settings.

From here on out, all you need to down is start expresserver.js and then go to http://localhost:8888

##Now with basic cycling

go to http://localhost:port/cycler

enter the following format to cycle

{"mode":"galvanostat","value":0.004,"cutoff_time":0,"direction":"charge","cutoff_potential":1.5} {"mode":"galvanostat","value":-0.002,"cutoff_time":0,"direction":"discharge","cutoff_potential":0.6}

a cutoff_time of 0 means there is no cutoff time. be careful!

logs log to mongo

potential value = Volts current value = Amps time value = milliseconds

Enjoy!

##Now with basic viewing from Ardustat_Viewer start node view_server.js

go to localhost:8000

About

Code for a very cheap, pretty darn good potentiostat/galvanostat

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published