Difference between revisions of "Controlino Notes"

From OpenCircuits
Jump to navigation Jump to search
Line 1: Line 1:
 
= Draft =
 
= Draft =
  
Just a draft may or may not be completed.
+
Just a draft may or may not be completed. See also:  [[Controlino Notes]]
 
 
[[Controlino Notes]]
 
  
 
= What is Controlino =
 
= What is Controlino =
  
it is the Arduino component of [[Instrumentino Notes]]
+
It is the Arduino component of [[Instrumentino Notes]]
 
 
  
 
Links to what the authors think:
 
Links to what the authors think:
Line 14: Line 11:
 
* https://github.com/yoelk/controlino
 
* https://github.com/yoelk/controlino
  
= Why =
 
  
 
= Get it Running =
 
= Get it Running =
Line 34: Line 30:
 
= Protocol =
 
= Protocol =
  
Reading the code and probing with my terminal
+
What is the Protocol?  Have not found any documents.  Reading the code and probing with my terminal.  Send a command and get a response.
  
 
* commands appear not to be caps sensitive
 
* commands appear not to be caps sensitive
 
* use a cr at end of commands
 
* use a cr at end of commands
 +
* at end of command Arduino says "done/r"
  
 
* BlinkPin <pin> <ms to blink>
 
* BlinkPin <pin> <ms to blink>

Revision as of 13:18, 1 October 2016

Draft

Just a draft may or may not be completed. See also: Controlino Notes

What is Controlino

It is the Arduino component of Instrumentino Notes

Links to what the authors think:


Get it Running

I want compile it and run on my Uno. See Russ's Computer Environment

Ton of files ( well maybe 10 ) on gitHub.

  • Seems the only one that matters much is controlino.cpp.
  • Download it.
  • Make a new arduino project. I called mine controlino_ino.
  • In the project's file, controlino_ino.ino, paste the contents of controlino.cpp.
  • Follow the directions in the file.
  • Compile.
  • Worked the first time.
  • Now have something on my uno. What?
  • More comming

Protocol

What is the Protocol? Have not found any documents. Reading the code and probing with my terminal. Send a command and get a response.

  • commands appear not to be caps sensitive
  • use a cr at end of commands
  • at end of command Arduino says "done/r"
  • BlinkPin <pin> <ms to blink>
    • BlinkPin 7 200 => works


  • set xxx yyy => sets pin n to input or output ( digital ) if pin is out of range o..
    • set 3 in => think this is correct syntax
    • set in 3 => looks incorrect
    • set xxx yyy => cannot be valid but no error message, no error may be ok