Show Posts
Pages: [1]
1  Using Arduino / Networking, Protocols, and Devices / Re: Cosm Template with 4 datastreams on: January 13, 2013, 01:23:44 am
Thanks for the help, very nice easy to follow work.
Cheers
John
2  Using Arduino / Networking, Protocols, and Devices / Re: Cosm Template with 4 datastreams on: January 03, 2013, 05:59:16 pm
Hi Stanley
I agree with Nick, I have been pulling my hair out, thanks a million.
However, I am for some reason only getting 0.00 as my float value in Cosm and via serial monitor, I am doing something wrong but it seems so straightforward I can't think what. I am simply doing an analogRead straight to the variable (A) for testing.
Any help appreciated, I am not very good at this yet.....

Cheers John

Code:
void loop()
{
  //float A,B,C,D = 0;             // Change to your sensor variable names
  int cosmReturn = 0;
 
  // Put your sensor input code here
  float A = analogRead(A0);
  float B = analogRead(A1);
  float C = analogRead(A2);
  float D = analogRead(A3);
 
  // Put sensor values into the 4 datastreams,
  // setInt() for integer
  // setFloat() for floating point
  datastreams[0].setFloat(A);    // Set sensor values into datastreams 1
  datastreams[1].setFloat(B);    // Set sensor values into datastreams 2
  datastreams[2].setFloat(C);    // Set sensor values into datastreams 3
  datastreams[3].setFloat(D);    // Set sensor values into datastreams 4
3  Community / Exhibition / Gallery / Re: Network settings web page FORM using EEPROM to save submit [DONE] on: November 05, 2012, 04:46:40 pm
Hi J03RI
Please take all the time you need, I am the one who needs help, I can wait, no problems.
I think I will email, and explain the idea fully.

Cheers
John
4  Community / Exhibition / Gallery / Re: Network settings web page FORM using EEPROM to save submit [DONE] on: November 04, 2012, 09:42:05 pm
Hello J03RI
sorry for the delay, life interferes with my fun.
Thanks again, for your work, this is (nearly) perfect for me but I could not possibly achieve this alone. Somehow I just can not get the details right.
To answer your questions.

I need only 1 page, just setup, I will use also an LCD to display IP, Gateway, connection to server (ping) ok, if DHCP or Static etc.
The fancy layout is nice, but I need only basic form for entering data.
I can use IDE 1.0 or 1.0.1
I don't think I need DNS, but...maybe to make my ping function work (for example ping www.google.com) to test internet connectivity.

I hope this is ok? I can try to explain my application further if you need, but what you have done is so close except for DHCP/Static.

Cheers, and thanks
John
5  Community / Exhibition / Gallery / Re: Network settings web page FORM using EEPROM to save submit [DONE] on: October 30, 2012, 06:58:01 pm
Hello JO3RI
thankyou or your hard work here, this is exactly what I need to make a PLC network tester, with one small thing missing DHCP/Static choice.
I have been trying, but I can not make this work, it just hangs when DHCP selected. Did you manage to make that work? Why did you remove it?
I have also tried your older code with DHCP but it doesn't seem to stay selected, it changes back to static.
Any help much appreciated
6  Topics / Home Automation and Networked Objects / Re: Operate from Blackberry/Android/Iphone-Ipad/Nokia/PC/Mac across the Globe W/O PC on: May 15, 2012, 08:22:57 am
sorry, I just located my problem. In TinyWebServer.cpp I changed #include SD.h to SdFat
Now, all good

Thanks brilliant!!
Any ideas about how to display analogue values or variables?
I'm learning (slowly) but not fast enough.
7  Topics / Home Automation and Networked Objects / Re: Operate from Blackberry/Android/Iphone-Ipad/Nokia/PC/Mac across the Globe W/O PC on: May 15, 2012, 08:04:02 am
nice, really nice, but...
I have read all of the notes on making the tinywebserver library work with IDF 1.0 but I can not make it work.
I am lost with so many compile errors.
Can you assist, is there a version that works with 1.0?
I do not wish to go back to 22 because 1.0 is my first version.

Thanks in advance
Pages: [1]