Libelium is offering new technical support channels, to contact with de Technical Support team to solve any issue our doubt please contact with your sales agent or visit our contact site



Post a new topicPost a reply Page 1 of 1   [ 6 posts ]
Author Message
 Post subject: sending data ecg/emg to the page application
PostPosted: Wed Apr 26, 2017 5:56 pm 

Joined: Wed Apr 26, 2017 8:20 am
Posts: 7
hello dear,
for my project e-Healh Sensor Platform with Raspberry pi ,I will make an ecg/emg interpreted on a web page,
I used the code from cooking hacks
// Include eHealth library
#include "eHealth.h"

// The loop routine runs over and over again forever:
Void loop () {

Float ECG = eHealth.getECG ();

Printf ("ECG value:% f V \ n", ECG);
Delay (1000);
}

Int main () {
// setup ();
While (1) {
Loop ();
}
Return (0);
}

I have the results as in the attached figure
But I am stuck I want to send these data on the web page for ecg graph plot
how i do ? please
Thanks
best regards


Top
 Profile  
 
 Post subject: Re: sending data ecg/emg to the page application
PostPosted: Thu Apr 27, 2017 9:21 am 

Joined: Mon Sep 28, 2009 12:06 pm
Posts: 11366
Hello sofianeo039,

we do not have a specific code to send data to a web server via raspberry pi, we can help you in the part of getting ECG data.

Maybe it's helpful for you this Open Garden example where we send information to a web server via WiFly module:
https://www.cooking-hacks.com/documenta ... ing/#step8

Regards


Top
 Profile  
 
 Post subject: Re: sending data ecg/emg to the page application
PostPosted: Thu Apr 27, 2017 1:27 pm 

Joined: Wed Apr 26, 2017 8:20 am
Posts: 7
At first I got some value but then when I complete this error appears what to do please
Failed to open /dev/mem, try checking permissions.
Failed to map the physical GPIO registers into the virtual memory space.
bcm2835_init: Unable to open /dev/mem: Permission denied


Top
 Profile  
 
 Post subject: Re: sending data ecg/emg to the page application
PostPosted: Fri Apr 28, 2017 8:21 am 

Joined: Mon Sep 28, 2009 12:06 pm
Posts: 11366
Hello sofianeo039,

could you upload a photo of your hardware setup please? have you followed step 3.2 in eHealth tutorial "Using the library with Raspberry Pi"?
https://www.cooking-hacks.com/documenta ... l/#step3_2

Download eHealth library for Raspberry Pi and arduPi Library.

Here is arduPi and connection bridge tutorial:
https://www.cooking-hacks.com/documenta ... on-bridge/

Regards


Top
 Profile  
 
 Post subject: Re: sending data ecg/emg to the page application
PostPosted: Fri Apr 28, 2017 10:24 am 

Joined: Wed Apr 26, 2017 8:20 am
Posts: 7
i fix the problèmes tkhx


Top
 Profile  
 
 Post subject: Re: sending data ecg/emg to the page application
PostPosted: Tue May 02, 2017 7:32 am 

Joined: Mon Sep 28, 2009 12:06 pm
Posts: 11366
Hello sofianeo039

No problem, we're glad you solved your problem.

Regards


Top
 Profile  
 
Display posts from previous:  Sort by  
Post a new topicPost a reply Page 1 of 1   [ 6 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.