Instrumentino Notes

From OpenCircuits
Jump to navigation Jump to search

Draft

Just a draft may or may not be completed.

Controlino Notes

What is Instrumentino

Links to what the authors think:


My Take

Instrumentino is an instrument control system designed to interface with various smart or semi smart systems. Prepackaged with the system is a program that makes an arduino a sort of smart sensor ( this in C++ ) and the Python code to interface with this Arduino which we will call the controlino

Why

Install

Misnomer I do not want to really install it I want to get it running in my Spyder environment. Russ's Computer Environment

On windows not going well

 C:\Users\Russ>pip install instrumentino
 Collecting instrumentino
   Using cached instrumentino-1.0.tar.gz
 Collecting wxPython (from instrumentino)
   Could not find a version that satisfies the requirement wxPython (from instrumentino) (from versions: )
 No matching distribution found for wxPython (from instrumentino)
 
 C:\Users\Russ>pip install wxPython
 Collecting wxPython
   Could not find a version that satisfies the requirement wxPython (from versions: )
 No matching distribution found for wxPython


=============
 C:\Users\Russ>pip install wxPython
 Collecting wxPython
   Could not find a version that satisfies the requirement wxPython (from versions: )
 No matching distribution found for wxPython
 
 C:\Users\Russ>pip install wxpython
 Collecting wxpython
   Could not find a version that satisfies the requirement wxpython (from versions: )
 No matching distribution found for wxpython


Well, not so bad. Useful to know that my Spyder already had wxpython, came with it or I installed, who knows. Also useful to know wxpython is called wx. This helps a lot.


This works

Download the file from github, the zip file. Unzip. Ignore a bunch of the stuff and take the

        \instrumentino
        from ( ........\instrumentino-master\instrumentino )
        and copy it to the place where your spyder projects live ( making a new project   instrumentino  )

Find the file:

         ......\SpyderP\instrumentino\__init__.py

and modify the top to:

         from __future__ import division
         
         import sys
         sys.path.append( ".." )
         
         #...... rest of file

This should make it run.

To do much more it seems you need an arduino.

Clean Install on Mint

Installed spyder

went to https://pypi.python.org/pypi/instrumentino link to git hub gave 404 search found https://github.com/yoelk/instrumentino

  using D:\_Source\Python\instremento\Using Instrumentino_v03.odt
  
  package manger wxpython


Suggestions Remarks

  • I like to keep my commands and responses short. Keeps speed up without high baud rates. Long wires need low baud rates.
  • Caps insensitivity is nice, but at high speeds is slower
  • Add a command to identify the software on the arduino I use v for version, could be version, id.....


Old Notes Ignore Until Properly Organized