yoelk / instrumentino

Instrumentino is an open-source modular graphical user interface framework for controlling Arduino based experimental instruments
GNU General Public License v3.0
138 stars 59 forks source link

Arduino Examples? #4

Closed meeschka closed 9 years ago

meeschka commented 9 years ago

Hi, I really appreciate the updated code with the simpler example (two low pass filters). I didn't have any "container" relevant equipment, and I've been trying to figure this thing out for a little while. You include the controlino library, but I couldn't find any actual arduino codes (.ino s). Could you add an example of that code for the two examples given, so we can get a feel for how the arduino code should look, and more easily set up the example? I have very little background in code, and have been struggling with this off and on for a few months, actually. The little explanation file added in the past month or so was a big help, thanks for that.

yoelk commented 9 years ago

Hi meeschka, This weekend I'm really busy, but I'll send you a response soon next week.

Have a nice weekend, Joel

On Thu, Nov 27, 2014 at 6:22 PM, meeschka notifications@github.com wrote:

Hi, I really appreciate the updated code with the simpler example (two low pass filters). I didn't have any "container" relevant equipment, and I've been trying to figure this thing out for a little while. You include the controlino library, but I couldn't find any actual arduino codes (.ino s). Could you add an example of that code for the two examples given, so we can get a feel for how the arduino code should look, and more easily set up the example? I have very little background in code, and have been struggling with this off and on for a few months, actually. The little explanation file added in the past month or so was a big help, thanks for that.

— Reply to this email directly or view it on GitHub https://github.com/yoelk/Instrumentino/issues/4.

meeschka commented 9 years ago

Hi Joel, No worries, take your time! Have a good weekend :) Michelle

yoelk commented 9 years ago

Hi Michelle, The file "controlino.cpp" in "Instrumentino\controlino" is a text file, written in C/C++, which contains the code you have to put in the Arduino. You can open it with the Arduino program (change its extension to .ino if you have to), change the constants area on the top of the file to fit your situation (e.g. which Arduino board you're using) and then upload it to your Arduino.

I hope it's clear enough. If you're still having problems, you can ask again.

Have a nice day, Joel

On Fri, Nov 28, 2014 at 5:09 PM, meeschka notifications@github.com wrote:

Hi Joel, No worries, take your time! Have a good weekend :) Michelle

— Reply to this email directly or view it on GitHub https://github.com/yoelk/Instrumentino/issues/4#issuecomment-64908781.

meeschka commented 9 years ago

That's fantastic, thank you very much. On a different note, I'm having some difficulty getting the temperature pid and thermometer arduino controllers for instrumentino working. I was wondering if you had any examples? Even rough ones, I can muddle through without much comments. I'm just trying to figure out where I keep going wrong. Thanks again for your help! Michelle

yoelk commented 9 years ago

You're welcome,

I've just added the PID recently, as I needed it myself. Here is the system description file I'm using. It contains a lot of other things, so look for "thermostat"

On Wed, Dec 3, 2014 at 3:36 AM, meeschka notifications@github.com wrote:

That's fantastic, thank you very much. On a different note, I'm having some difficulty getting the temperature pid and thermometer arduino controllers for instrumentino working. I was wondering if you had any examples? Even rough ones, I can muddle through without much comments. I'm just trying to figure out where I keep going wrong. Thanks again for your help! Michelle

— Reply to this email directly or view it on GitHub https://github.com/yoelk/Instrumentino/issues/4#issuecomment-65344038.

meeschka commented 9 years ago

Sorry, it might just be my extreme newness showing, but I'm not seeing any system description file?

yoelk commented 9 years ago

the file I attached in the last email. didn't you get it? Here it is again. It's a system file for Instrumentino (written in Python). When you run it, the customized GUI for this system comes up.

In it, I use the PID to thermostat a box, using a heating element (controlled by a relay) and a thermometer.

On Wed, Dec 3, 2014 at 4:46 PM, meeschka notifications@github.com wrote:

Sorry, it might just be my extreme newness showing, but I'm not seeing any system description file?

— Reply to this email directly or view it on GitHub https://github.com/yoelk/Instrumentino/issues/4#issuecomment-65430651.

meeschka commented 9 years ago

Yeah, for some reason, it is not showing up for me at all. Under your comments are a copy of my message (the one you are replying to), but no files or code or anything I can see. Is there any way you could send it to my email? If yes, it's m.pitts@queensu.ca .