Page 1 of 1

I need help with this graphs

Posted: Sun Jan 03, 2016 4:43 pm
by KonstantinDimitrov
Hello, can you tell how to make the marked things, disc graphs ?!?, on the image and how to link it with data from DHT sensor.
Image
Thank you !

Re: I need help with this graphs

Posted: Sun Jan 03, 2016 6:13 pm
by KonstantinDimitrov
Will anyone help me :?:

Re: I need help with this graphs

Posted: Sun Jan 03, 2016 6:30 pm
by DirkS
KonstantinDimitrov wrote:Will anyone help me :?:
Give it some time. Bumping a topic after less than 2 hours is really not done.
Most people here are volunteers and are willing to help, but you have to give them time to do so.

In the meantime you can post some more information:
* your OS
* your prrogramming language
* exact type of your sensor(s)
* what have you tried so far
* anything else you think may help others in helping you

Re: I need help with this graphs

Posted: Sun Jan 03, 2016 6:33 pm
by KonstantinDimitrov
I see
OS - Raspbian, Windows IoT core
Programming languages - Python, Java, C and HTML
Sensors - DHT11

Re: I need help with this graphs

Posted: Sun Jan 03, 2016 6:37 pm
by DirkS
Well, that's still not a lot to go on.
To point you in the right direction you need to be more specific.
In which OS / programming language do you want to create the sensor / screen code?

Re: I need help with this graphs

Posted: Sun Jan 03, 2016 6:41 pm
by KonstantinDimitrov
For Raspbian in Python and in Java if its possible. :)

Re: I need help with this graphs

Posted: Sun Jan 03, 2016 7:04 pm
by DirkS
For glyphs / graphics in Python you could have a look at pygame (and maybe kivy).
Adafruit has a tutorial (and a module) to read DHTxx sensors in python: https://learn.adafruit.com/dht-humidity ... cs-logging

Can't say too much about graphics in Java, but I found http://marcandreuf.blogspot.co.uk/2015/ ... -pi4j.html for reading DHT11 sensor.
You may find more by googling 'raspberry pi java dht11'

Re: I need help with this graphs

Posted: Sun Jan 03, 2016 7:16 pm
by KonstantinDimitrov
Thanks but I want to present the data as DISCK diagram like this one on the screenshot above (marked in green and white) ;)

Re: I need help with this graphs

Posted: Sun Jan 03, 2016 7:36 pm
by gordon77
You could try pygame draw.arc
https://m.youtube.com/watch?v=Ok3vbJ0cwtk

Re: I need help with this graphs

Posted: Sun Jan 03, 2016 8:50 pm
by GordonTGopher
Firstly you are trying to recreate something that comes from Hollywood (http://www.imdb.com/video/imdb/vi355008 ... vi_imdb_18) so you might struggle. Having said that I'm using Dashing http://dashing.io/ (see sample dashboard - including a gauge at http://dashingdemo.herokuapp.com/sample) and Node-Red http://nodered.org/ to monitor sensors around the house.

Regards,


Gordon

Re: I need help with this graphs

Posted: Thu Jan 07, 2016 5:47 pm
by KonstantinDimitrov
GordonTGopher wrote:Firstly you are trying to recreate something that comes from Hollywood (http://www.imdb.com/video/imdb/vi355008 ... vi_imdb_18) so you might struggle. Having said that I'm using Dashing http://dashing.io/ (see sample dashboard - including a gauge at http://dashingdemo.herokuapp.com/sample) and Node-Red http://nodered.org/ to monitor sensors around the house.

Regards,


Gordon
Thanks mr. Gordon, all this info will be useful to me ! Recreating something from Hollywood will difficult but not and impossible right ? So lets get to work.
Thanks again !

Regards,
Konstantin