Post a new topicPost a reply Page 1 of 1   [ 8 posts ]
Author Message
 Post subject: Galileo gen 2 more example
PostPosted: Tue Jun 07, 2016 11:59 pm 

Joined: Tue Jun 07, 2016 11:28 pm
Posts: 4
I've galileo gen 2 and the library e-health for galileo . I noticed a few examples that come to the library for Arduino does not have to galielo , why? It isn't possible to use some sensors in galielo ?

Thanks for help.


Top
 Profile  
 
 Post subject: Re: Galileo gen 2 more example
PostPosted: Wed Jun 08, 2016 9:31 am 

Joined: Mon Sep 28, 2009 12:06 pm
Posts: 11248
Here you can see some examples of use:

https://www.cooking-hacks.com/documenta ... es-boards/


Top
 Profile  
 
 Post subject: Re: Galileo gen 2 more example
PostPosted: Wed Jun 08, 2016 2:33 pm 

Joined: Tue Jun 07, 2016 11:28 pm
Posts: 4
Sorry I did not read right description. Do you have any idea of ​​time for this library include the rest of the sensors ?

I need to read and Pulse Oxygen in Blood , is myself create a library that has the same functions of PinChangeInt ? or use some other library exist to galieleo read those outputs ?


I would like shown on a touchscreen LCD screen measurements ? Of course I need a library to what has to Galileo , it would be difficult for me to create one? or already exist some that already does this ?

Thank you.


Top
 Profile  
 
 Post subject: Re: Galileo gen 2 more example
PostPosted: Thu Jun 09, 2016 8:13 am 

Joined: Mon Sep 28, 2009 12:06 pm
Posts: 11248
Hello andrews,

Sorry but we have not enough experience with Galileo.

Please refer to intel forum in order to solve these questions.

Regards.


Top
 Profile  
 
 Post subject: Re: Galileo gen 2 more example
PostPosted: Sun Jul 03, 2016 2:31 am 

Joined: Tue Jun 07, 2016 11:28 pm
Posts: 4
My temperature sensor isn't checking the temperature correctly , I made measurements of resistance and voltage. Does anyone have any idea why the marking error ?

There is possibility of some sensor come spoiled ?


Top
 Profile  
 
 Post subject: Re: Galileo gen 2 more example
PostPosted: Mon Jul 04, 2016 7:29 am 

Joined: Mon Sep 28, 2009 12:06 pm
Posts: 11248
Could you post the code used and some information or photos about the hardware connection?

Regards.


Top
 Profile  
 
 Post subject: Re: Galileo gen 2 more example
PostPosted: Tue Jul 05, 2016 4:42 am 

Joined: Tue Jun 07, 2016 11:28 pm
Posts: 4
float eHealthClass::getTemperature(void)
{
//Local variables
float Temperature; //Corporal Temperature
float Resistance; //Resistance of sensor.
float ganancia=5.0;
float Vcc=3.3;
float RefTension=3.0; // Voltage Reference of Wheatstone bridge.
float Ra=4700.0; //Wheatstone bridge resistance.
float Rc=4700.0; //Wheatstone bridge resistance.
float Rb=821.0; //Wheatstone bridge resistance.
int sensorValue = analogRead(A3);

float voltage2=((float)sensorValue*Vcc)/1023; // binary to voltage conversion

// Wheatstone bridge output voltage.
voltage2=voltage2/ganancia;
// Resistance sensor calculate
float aux=(voltage2/RefTension)+Rb/(Rb+Ra);
Resistance=Rc*aux/(1-aux);
if (Resistance >=1822.8) {
// if temperature between 25ºC and 29.9ºC. R(tª)=6638.20457*(0.95768)^t
Temperature=log(Resistance/6638.20457)/log(0.95768);
} else {
if (Resistance >=1477.1){
// if temperature between 30ºC and 34.9ºC. R(tª)=6403.49306*(0.95883)^t
Temperature=log(Resistance/6403.49306)/log(0.95883);
} else {
if (Resistance >=1204.8){
// if temperature between 35ºC and 39.9ºC. R(tª)=6118.01620*(0.96008)^t
Temperature=log(Resistance/6118.01620)/log(0.96008);
}
else{
if (Resistance >=988.1){
// if temperature between 40ºC and 44.9ºC. R(tª)=5859.06368*(0.96112)^t
Temperature=log(Resistance/5859.06368)/log(0.96112);
}
else {
if (Resistance >=811.7){
// if temperature between 45ºC and 50ºC. R(tª)=5575.94572*(0.96218)^t
Temperature=log(Resistance/5575.94572)/log(0.96218);
}
}
}
}
}

return Temperature;


What used battery is used ? My glucometer my glucometer not on...

I so sorry,but i didn't understand how to put a picture.

Thank you for help.


Top
 Profile  
 
 Post subject: Re: Galileo gen 2 more example
PostPosted: Tue Jul 05, 2016 8:01 am 

Joined: Mon Sep 28, 2009 12:06 pm
Posts: 11248
Could you test the temperature sensor over Arduino?

Regards.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post a new topicPost a reply Page 1 of 1   [ 8 posts ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:


Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Libelium theme based on 610nm Style by Daniel St. Jules of http://www.gamexe.net


© Libelium Comunicaciones Distribuidas S.L. | Terms of use.