Skip to content

Web Controlled, Photon Powered Peristaltic Doser for Aquariums

License

Notifications You must be signed in to change notification settings

djbetterly/simpledoser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 

Repository files navigation

Simple Doser

Web Controlled Peristaltic Doser for Aquariums

Powered by Particle Photon

Controlled through http://www.simpledoser.com - Free for users of this project

Firmware Details:

  • Control up to 6 Pumps
  • Scheduling options for 12 and 24hr periods
  • Calibration Function (Calibration automatically runs each pump for 60 seconds)
  • Manual ON/OFF
  • Logging

##CLI Commands

  Variables:
    getRelay1 (string)
    getRelay2 (string)
    getRelay3 (string)
    getRelay4 (string)
    getRelay5 (string)
    getRelay6 (string)
    relayON (string)
    relayOFF (string)
  Functions:
    int calibrate(String args) 
    int setupChannel(String args) 
    int setDoseRate(String args) 
    int manual(String args) 
    int setTimeZone(String args)

####Variable Example

particle get <photonName> getRelay1

####Manual Function

  • args = pump#, on, off
particle call <photonName> manual 1,on

####Calibration Function

  • args = pump#
particle call <photonName> calibrate 

####SetupChannel

  • args = channel#,startTime,dosingPeriod,numberOfDoses,dose

  • startTime is time of day in seconds (Ex: 14:30:00 = 52200)

  • dosingPeriod determines if the program runs over a 12hr or 24hr period

  • numberOfDoses is how many doses will take place over the dosingPeriod

  • dose is the total amount that will be dosed during the dosingPeriod

The example below would tell pump 1 to start dosing 200mL at 14:30:00, 12 times over a 12hr period.

particle call <photonName> setupChannel 1,52200,12,12,200

####SetDoseRate

  • arg = pump#,value (ie 13.2)
particle call <photonName> setDoseRate 1,13.2

About

Web Controlled, Photon Powered Peristaltic Doser for Aquariums

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Other 100.0%