Show Posts
Pages: [1] 2
1  Using Arduino / Programming Questions / Re: Parse temperature values to a webpage. on: December 01, 2012, 09:34:22 am
PaulS my mistake!
Currently I sent a string message from the webpage (using values from a data base created on Xampp-phpMyAdmin), then Arduino substring the message and turn on or off a led.
If I want to make the opposite can I do it? I want to sent the temperature to the data base and then webpage software decide to on or off the led.
Do you think that this implementation can be done?
2  Using Arduino / Programming Questions / Re: Parse temperature values to a webpage. on: December 01, 2012, 09:08:53 am
Hi PaulS,

I am using the Ethernet Shield and I am using the Arduino as a Server.
 I have also set up a PHP webpage and I am trying to sent the temperatures from the sensors to the webpage and display them.

Quote
Have you tried the psychics at snippets-r-us.com?
I can not find the site you propose. Is that the right web site?

Many Thanks!
3  Using Arduino / Programming Questions / Parse temperature values to a webpage. on: December 01, 2012, 08:12:51 am
Hi All,

I need your help on how can I parse the values from two TMP36 temperature sensors to a webpage.
Currently I can see the values from the sensors through serial using the following code:

Code:
            int sensorPin=0;
            int sensorReading = analogRead(sensorPin);
            float voltage = sensorReading * 5.0;// converting that reading to voltage, for 3.3v arduino use 3.3
            voltage /= 1024.0;
            Serial.print(voltage); Serial.println(" volts sensor 0"); // print out the voltage       
            float temperatureC = (voltage - 0.5) * 100;     //converting from 10 mv per degree wit 500 mV offset  (to degrees ((volatge - 500mV) times 100))     
            Serial.print(temperatureC); Serial.println(" degrees C sensor 0");// print out the temperature degrees C

            int sensorPin1 = 1;
            int sensorReading1 = analogRead(sensorPin1);
            float voltage1 = sensorReading1 * 5.0;// converting that reading to voltage, for 3.3v arduino use 3.3
            voltage1 /= 1024.0;
            Serial.print(voltage1); Serial.println(" volts sensor 1"); // print out the voltage       
            float temperatureC1 = (voltage1 - 0.5) * 100;     //converting from 10 mv per degree wit 500 mV offset  (to degrees ((volatge - 500mV) times 100))     
            Serial.print(temperatureC1); Serial.println(" degrees C sensor 1");// print out the temperature degrees C

Many Thanks!
4  Using Arduino / Networking, Protocols, and Devices / Re: Arduino with Xbee series 2. on: November 15, 2012, 08:14:27 am
Thank you PaulS for your reply.

I have remove the Ethernet shield but still the same.

Quote
With what hardware?

I am using an Xbee Explorer Dongle to configure the Xbee antenna's if I understand correctly your question.
5  Using Arduino / Networking, Protocols, and Devices / Arduino with Xbee series 2. on: November 15, 2012, 07:25:41 am
Hi All,

I am trying to communicate with my Arduino wireless using Xbee Series 2(XB24-B). My system consists of an Arduino R3, an Ethernet Shield and an Xbee shield.
I am using the XCT-U to set up the Xbee but so far without any luck. I have followed several examples but still nothing.

My configuration is the following:
Coordinator:
XB24-B     and     ZNET 2.5 COORDINATOR AT
PAN ID ---> 1234
DH ----> 13A200
DL ---->  the SL from ROUTER/END Xbee
SH ----> 13A200
SL ----> the DL from ROUTER/END Xbee

Router/End Device:
XB24-B     and     ZNET 2.5 ROUTER/END DEVICE AT
PAN ID ---> 1234
DH ----> 13A200
DL ---->  the SL from COORDINATOR Xbee
SH ----> 13A200
SL ----> the DL from other COORDINATOR Xbee

Do you think that causes any problem using Arduino with Ethernet shield and Xbee shield ?
Does anyone know what are the settings to communicate the Xbee Series 2 modules?

Many Thanks!
6  Using Arduino / Programming Questions / Re: XML with Arduino? on: October 29, 2012, 06:42:14 am
Thank you for your replies.
Currently I sent a string message with the temperatures from the website to the Arduino and then I sub string the message and use it.
Billroy do you have an XML example to show me. I am a begginer and I tottaly agree with
Quote
In fact, many beginners find it hard enough parsing plain text.
Thank you!
 
7  Using Arduino / Programming Questions / XML with Arduino? on: October 29, 2012, 06:23:42 am
Hi All,

I would like to ask you if I can use xml code in Arduino programming enviroment to sent the temperature measurement from two sensors to a web site using an Ethernet shield, or I can receive the temperature values from Arduino and then use xml coding from the web site programming part to get them.

Many Thanks!
8  Using Arduino / Networking, Protocols, and Devices / Re: Xbee Sereis 1 or Series 2? on: October 24, 2012, 11:03:15 am
I have also found this link which made me really confused.

http://www.digi.com/pdf/chart_xbee_rf_features.pdf

Please, any help will be much appreciated.
9  Using Arduino / Networking, Protocols, and Devices / Re: Xbee Sereis 1 or Series 2? on: October 24, 2012, 10:55:22 am
Dear PaulS,

On the other hand I will have point to point connection from each sensor to the arduino. Do i still need to use the S2?
10  Using Arduino / Networking, Protocols, and Devices / Re: Xbee Sereis 1 or Series 2? on: October 24, 2012, 10:51:03 am
Ok, that is clear. I will go for the S2 then.

Thank you PaulS.
11  Using Arduino / Networking, Protocols, and Devices / Re: Xbee Sereis 1 or Series 2? on: October 24, 2012, 10:21:49 am
Thank you PaulS for your reply,

Currently i have an Arduino UNO with Ethernet Shield and Xbee Shield. I want to receive the temperature from two(or more later on) wireless sensors and display the measured temperature on my laptop through the Ethernet shield.

What do you think is the best option for me, S1 or S2?
12  Using Arduino / Networking, Protocols, and Devices / Xbee Sereis 1 or Series 2? on: October 24, 2012, 10:04:42 am
Hi All,

I have a general Xbee related question. Which Xbee module is better and for what use, Xbee Sereis 1 or Xbee Series 2?
What are their differences in terms of implementation?
I need to set up an Xbee system with two wireless temperature sensors and looking for my best option between S1 and S2.

Many Thanks!
13  Using Arduino / Programming Questions / Re: TMP36 weird temperature on: October 11, 2012, 10:34:38 am
Hi,

Now am using 5V and it works great.

Thanks
14  Using Arduino / Programming Questions / TMP36 weird temperature on: October 11, 2012, 09:31:46 am
Hi All,

I am having an Arduino Uno connected with two TMP36 sensors. I have followed the tutorial from http://learn.adafruit.com/tmp36-temperature-sensor and I get very weird results which i show you below.

I have to say that I am using 3.3V not 5V cause I found after a little search that gives more accurate temperature.

Quote
0.49 volts sensor 0
-0.69 degrees C sensor 0
0.49 volts sensor 1
-1.02 degrees C sensor 1
0.49 volts sensor 0
-1.02 degrees C sensor 0
0.49 volts sensor 1
-1.34 degrees C sensor 1
0.49 volts sensor 0
-1.02 degrees C sensor 0
0.49 volts sensor 1
-1.34 degrees C sensor 1
0.49 volts sensor 0
-1.02 degrees C sensor 0
0.49 volts sensor 1
-1.02 degrees C sensor 1
0.49 volts sensor 0
-1.02 degrees C sensor 0
0.49 volts sensor 1
-1.34 degrees C sensor 1
0.49 volts sensor 0
-1.02 degrees C sensor 0
0.49 volts sensor 1
-1.02 degrees C sensor 1

My code is the following:
Code:

int sensorPin = 0;
int sensorReading ;
float temperatureC ;
float voltage ;
int sensorPin1 = 1;
int sensorReading1 = 0;
float temperatureC1 = 0;
float voltage1 = 0;

void setup(){
 
      Serial.begin(9600);
}


void loop(){

            sensorReading = analogRead(sensorPin);
            voltage = sensorReading * 3.3;// converting that reading to voltage for 3.3v
            voltage /= 1024.0;
            Serial.print(voltage); Serial.println(" volts sensor 0"); // print out the voltage       
            temperatureC = (voltage - 0.5) * 100;     //converting from 10 mv per degree wit 500 mV offset  (to degrees ((volatge - 500mV) times 100))     
            Serial.print(temperatureC); Serial.println(" degrees C sensor 0");// print out the temperature degrees C
            sensorReading1 = analogRead(sensorPin1);
           
            voltage1 = sensorReading1 * 3.3;// converting that reading to voltage for 3.3v
            voltage1 /= 1024.0;
            Serial.print(voltage1); Serial.println(" volts sensor 1"); // print out the voltage       
            temperatureC1 = (voltage1 - 0.5) * 100;     //converting from 10 mv per degree wit 500 mV offset  (to degrees ((volatge - 500mV) times 100))     
            Serial.print(temperatureC1); Serial.println(" degrees C sensor 1");// print out the temperature degrees C
           
            delay(1000);
}


Does anybody seen anything like that?
Is there any chance my sensors to be faulty?

Any help will be much appreciated!
Many Thanks!
15  Using Arduino / LEDs and Multiplexing / Re: Help - using two TMP36's simultaneously? on: October 11, 2012, 08:22:05 am
Hi capo12 and pecky,

I am having the same problem. Did you manage to sort it out?

Many Thanks.
Pages: [1] 2