Controlino Notes

From OpenCircuits
(Difference between revisions)
Jump to: navigation, search
(Install)
(Protocol)
 
(2 intermediate revisions by one user not shown)
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:  [[Instrumentino 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>
Line 49: Line 46:
  
  
+
[[category:Russ]] [[Category:Arduino/RaspberryPi]]
 
+
 
+
 
+
[[category:Russ Draft]][[category:Russ]]
+

Latest revision as of 11:11, 2 February 2017

Contents

[edit] Draft

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

[edit] What is Controlino

It is the Arduino component of Instrumentino Notes

Links to what the authors think:


[edit] 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

[edit] 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
Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox