Show Posts
Pages: [1] 2
1  Using Arduino / Interfacing w/ Software on the Computer / Re: Arduino Dashboard on: October 12, 2012, 03:23:17 pm
@Mathias very nice demo.
2  Using Arduino / Interfacing w/ Software on the Computer / Re: Silverlight, Firmata and Arduino on: October 12, 2012, 03:18:00 pm
@hengis I believe you would have to write a custom app in Silverlight to work with your sketch.
3  Using Arduino / Sensors / HoneyWell HIH-4000-001 Humidity Sensor Temp compensation on: September 13, 2012, 01:01:12 am
While playing with my new HIH-4000-001 Humidity sensor, I'm trying to make sense of the temperature compensation that comes in the sensor documentation.

It lists;
********************************************************************************************************************
Temperature Compensation        True RH = Sensor RH/(1.0305+0.000044T-0.0000011T²)T in C
                                                 (True RH = Sensor RH/(0.9237-0.0041T+0.000040T²) T in C) 
**********************************************************************************************************************
There is no equals sign between the words Temperature Compensation and the following two lines.
There is no line between the second two lines so I don't believe division is indicated.  I'm just wondering
what this is.  I'm rather mystified.  I'd post this in the math section but I didn't find one.  LOL Knew I should have paid more attention to math in school.

Is this two different ways to get the value? The sensor is pretty close in comparison to the inside humidity of my Oregon Scientific (OS) weather station whose calibration is also unknown.  LOL  OS reads 40RH and the sensor 4 inches away reads 46RH.

To get the sensor RH I'm reading it with a UNO analog pin, dividing the reading by 1023 and multiplying by 100.
Since the sensor is ratiometric to Vcc from 4 volts to 5.8 volts, I'm assuming this is a valid method with a 10 bit ADC.
My Vcc is exactly 5.002 Vdc. I'm using the default analog reference on the UNO.

I did a search on this forum and found two mentions of the HIH-4000-001 but neither mentioned compensation. Well at least I don't think so.  The second thread was in French and I'm 40 years out of High School French class.  LOL

Thanks;
Walt
4  Using Arduino / Interfacing w/ Software on the Computer / Re: Silverlight, Firmata and Arduino on: September 11, 2012, 12:22:11 pm
Yup, Andrew I tried to read firmware capability etc.  None of this worked.

Edit.  Yes, I installed the standard firmata sketch that comes with Arduino IDE.  I think without that the test program would complain.  smiley
5  Using Arduino / Interfacing w/ Software on the Computer / Re: Silverlight, Firmata and Arduino on: September 11, 2012, 10:38:39 am
Hi carpenterbee,





I'm not too sure what you mean by... "A simple way to create the file to unsandbox your project/program would be nice.". Could you give a little more detail and I'll try to help out.

When working with the project in Visual Studio the option to 'Enable running application out of the browser' is found in the Project Properties page. Project > AndrewCraigie Properties...  You will also find an Out-of-Browser Settings... button here too.

Hope this helps.

Andrew.

Your online tutorial was excellent Andrew.  Thanks for posting it. You should do well with your grades on that. I would not have even attempted installing your project without that resource. I'm unable to locate a project to change properties. I've installed the serial socket redirector and suspect it's working fine. I've downloaded your Uno test program. When I run the program it brings up the main screen with the Uno photo, but will not function.  I've got the right port number, and localhost is the correct address for my machine. I've edited the port settings so they match on the serial socket redirector.  The program connects but fails to do anything else. So I'm pretty sure it's the resource sandboxing that stands in my way.


I downloaded MS Visual Studio just to unsandbox the program.  There is no menu selection that is anything like your example. Even though I've downloaded your test program, VS doesn't see it, so I can't change the properties.  Maybe I've got to download your source and build the project myself to have this option??  I hope not as dealing with a new MS product is  not my idea of fun.  smiley I've whiled away over 8 hours on VS and filled up 9 gigs of my hard drive with it!  LOL

Later;
Walt
6  Using Arduino / Interfacing w/ Software on the Computer / Re: USB monitor package to replace simple Arduino serial monitor on: September 11, 2012, 10:25:59 am


Alternatively, use a terminal emulator that supports cursor movement, then you could position output as you wanted. I believe PuTTY supports VT100 control codes, and probably others.

Bingo!  This was my original question. When I use my LCD I can position the cursor. But as I said sometimes I don't want to setup a complicated hardware setup just to try out a new sensor or a new way of programming something. I've been thru several terminal emulators.  None had cursor position ability.  I'll give PuTTY a try next.  Thanks for the suggestion.

After playing with firmata and MS Silverlight for a while I believe I could develop some really nice interfaces with the Arduino.  Unfortunately I suspect for me to come up to speed on this would take a number of weeks. A rough looking terminal emulator should do fine.  smiley
7  Using Arduino / Interfacing w/ Software on the Computer / Re: USB monitor package to replace simple Arduino serial monitor on: September 10, 2012, 07:13:48 pm
@PaulS you've obviously not tried this yourself as this will scroll too.
8  Using Arduino / Interfacing w/ Software on the Computer / Re: Silverlight, Firmata and Arduino on: September 10, 2012, 03:27:50 pm
A simple way to create the file to unsandbox your project/program would be nice.
After quite a few hours with Visual Studio, I finally gave up.  Looks like it would
be a neat demo of the UNO's capabilities if I get it working.
9  Using Arduino / Interfacing w/ Software on the Computer / Re: USB monitor package to replace simple Arduino serial monitor on: September 10, 2012, 01:12:52 pm
If you know how to send the data you want to the LCD, I don't understand why you can't route the same data to the serial monitor.

I can.  It just scrolls all over hell's half acre and is a pain to look at. I suspect if I had more knowledge with formatting the data on the com monitor I could get what I want.  I don't have the knowledge. I was looking for something a little easier.  As usual I wasted 10 hours looking for this "easy". smiley
10  Using Arduino / Interfacing w/ Software on the Computer / Re: USB monitor package to replace simple Arduino serial monitor on: September 10, 2012, 01:02:22 pm
Quote
Something that I can set labels beside variables from the arduino.
Instead of having the Arduino send the labels? Why?

Consider me a beginner, even though I've played with C, C++, Basic, Fortran, and others in my distant past.

Why?  With the knowledge I have all I get from the Arduino com port monitor is a scrolling mass of numbers.
I've poked around trying to find out how to format things so it's easier to read, with no success. In the 80's I used a piece of HP software that interfaced with RS485.  It could be configured to format information in a nicer, human readable format. I figured 32 years later there would be something even better that would work with USB.

Google for this problem proved not to be my friend.  At least with the keywords that entered my mind.  So after no inspiration here I found firmata and Silverlight. So I installed a sample test project to allow my PC to access the Arduino Uno. After reading and watching videos I installed the firmata program, a serial port to socket thing a majib, and uploaded the example firmata sketch that came with the IDE. Everything went well til I tried to get the thing out of the Silverlight sandbox.  Installed Visual Studio 2012
as instructed so I could change the project settings so the program could work outside the sandbox.  That's where after 8 hours I decided I'd once again forgotten what it was I wanted to do, to start with. It's kind of funny after installing 8 gigs of Visual Studio just to change some settings I still am unable.  hehehe I'll just go ahead and hook my LCD screen up to the Arduino and use it for the output I want to look at.  At least I know how to do that. I was just trying to make use of a perfectly good PC screen in front of me and not eat several pins on the UNO.  heheheh
11  Using Arduino / Interfacing w/ Software on the Computer / USB monitor package to replace simple Arduino serial monitor on: September 09, 2012, 08:34:04 pm
I've been googling around and looking a ways back in this forum for infomation on an alternative for the simple com port monitor that comes with arduino.

Something that I can set labels beside variables from the arduino. Something that will be easy to look at on my computer when I'm designing or debuggin. Not a running string of numbers. I'm sure there must be dozens of these.
12  Using Arduino / Programming Questions / Re: Advice on LedControl library on: August 23, 2012, 04:22:21 pm
Yup, I believe you are absolutely right. Since this is just a mock up of a full blown home brew weather station it's something I don't need right now.  I'll just throw it on the big LCD I've got that drives me crazy with the U8glib. heheheh

This is the first part of my current project: http://www.flickr.com/photos/73766535@N00/7841721962/in/photostream/lightbox/

I was just going to put the second module beside it. I don't want to have to tag fly wire off module one to module two right now.

This is the large LCD I'm playing with right now: http://www.flickr.com/photos/73766535@N00/7810659332/in/photostream/lightbox/

I ordered a couple of Hall effect angle sensors last night to start designing the wind direction vane.
13  Using Arduino / Programming Questions / Re: Advice on LedControl library on: August 23, 2012, 02:54:24 pm
Yep, daisy chained just showed the same info on both displays.  I doubt I'll have to poke around on the hardware for an output unless they guy who made these things didn't consider using more than one.  I'm going to have to contact him and see.  He does sell a board with two 4 digit leds.  All you'd have to do is add another as the Max led driver will handle a 8 by 8 matrix.  For our purposes 8 digits by 8 segments(one decimal point each digit). So it is very possible he didn't consider using two of his 4 digit modules together and didn't have an output to go to the second boards input.  Considering that his 4 digit modules were in effect wasting half of the MAX led driver, he might also have had trouble finding an output to go to another 4 digit module since the MAX driver  probably only output the inverted O15 bit for chaining to another MAX driver. Yup, just pulled up the MAX7219 data sheet and dOUT is pin 24 and is not used on the board. Would be unable to use it with two 4 digit boards as the data on dOUT is only valid after 16.5 clock cycles. So you can only daisy chain the 8 digit modules. Oh well.

Thanks for the thoughts.
14  Using Arduino / Programming Questions / Re: Advice on LedControl library on: August 23, 2012, 02:22:43 pm
I purchased the modules here: http://embedded-lab.com/blog/?p=4935

And the LedControl reference page is here: http://www.arduino.cc/playground/Main/LedControl

Hmmmmmmm, daisy chained.   Why didn't I think of that. I'm gonna try that right now.  I'll get back
to you.  heheheh

Thanks;

15  Using Arduino / Programming Questions / Advice on LedControl library on: August 23, 2012, 12:06:31 pm
I'm using LedControl library to control a 4 digit LED unit to display temperature captured from a Dallas 18B20 sensor. I've gotten enough to do this pretty good.  I can create a LedControl variable with the pins used to control the LED unit:

LedControl lc=LedControl(12,11,10,1);

arduino pin 12 is Datain
arduino pin 11 is CLK
arduino pin 10 is LOAD or CS
fourth arg indicates only one display is in use

Now I've got two of these displays and I'd like to use them both.  I'm using a BMP085 sensor which gives pressure and temperature ouput. I want to display the temp on one display and the pressure on the other.  I can't figure out from the LedControl online reference how to set this up.

Do I have to use a different variable in the declaration statement? In my statement above "lc" is the variable declared to be LedControl. To setup a second display with different pins do I have to use a different variable?
It doesn't make sense since the statements used in the library to control the displays all seem to have a argument to select which display they are operating on.

Or...... do you simply add the additional pins in the LedControl declaration statement?

LedControl lc=LedControl(12,11,10, 9, 8, 7, 2);

9, 8, 7 being the  arduino pins connected to the second display and the last arg "2" being the number of displays.

Wouldn't appear so as the compiler complains there are too many args.


LedControl lc=LedControl(12,11,10,2);
LedControl lc1=LedControl(9,8,7,2);


This will get past the compiler but then I have to use either the lc variable or the lc1 variable depending on which display I want a command to operate on.  This makes no sense when almost all the commands contain an argument specifying which display to operate on. Darn, I'm repeating myself! I wish there were a better explanation of how to use the neat library.

A little sunshine on this subject would sure cheer me up.  smiley
Pages: [1] 2