KonstantinDimitrov
Posts: 6
Joined: Sun Jan 03, 2016 4:36 pm

I need help with this graphs

Sun Jan 03, 2016 4:43 pm

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 !
Last edited by KonstantinDimitrov on Sun Jan 03, 2016 5:46 pm, edited 1 time in total.

KonstantinDimitrov
Posts: 6
Joined: Sun Jan 03, 2016 4:36 pm

Re: I need help with this graphs

Sun Jan 03, 2016 6:13 pm

Will anyone help me :?:

DirkS
Posts: 9871
Joined: Tue Jun 19, 2012 9:46 pm
Location: Essex, UK

Re: I need help with this graphs

Sun Jan 03, 2016 6:30 pm

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

KonstantinDimitrov
Posts: 6
Joined: Sun Jan 03, 2016 4:36 pm

Re: I need help with this graphs

Sun Jan 03, 2016 6:33 pm

I see
OS - Raspbian, Windows IoT core
Programming languages - Python, Java, C and HTML
Sensors - DHT11

DirkS
Posts: 9871
Joined: Tue Jun 19, 2012 9:46 pm
Location: Essex, UK

Re: I need help with this graphs

Sun Jan 03, 2016 6:37 pm

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?

KonstantinDimitrov
Posts: 6
Joined: Sun Jan 03, 2016 4:36 pm

Re: I need help with this graphs

Sun Jan 03, 2016 6:41 pm

For Raspbian in Python and in Java if its possible. :)

DirkS
Posts: 9871
Joined: Tue Jun 19, 2012 9:46 pm
Location: Essex, UK

Re: I need help with this graphs

Sun Jan 03, 2016 7:04 pm

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'

KonstantinDimitrov
Posts: 6
Joined: Sun Jan 03, 2016 4:36 pm

Re: I need help with this graphs

Sun Jan 03, 2016 7:16 pm

Thanks but I want to present the data as DISCK diagram like this one on the screenshot above (marked in green and white) ;)

gordon77
Posts: 4064
Joined: Sun Aug 05, 2012 3:12 pm

Re: I need help with this graphs

Sun Jan 03, 2016 7:36 pm

You could try pygame draw.arc
https://m.youtube.com/watch?v=Ok3vbJ0cwtk

GordonTGopher
Posts: 70
Joined: Sat Dec 01, 2012 11:25 am
Location: Letchworth Garden City

Re: I need help with this graphs

Sun Jan 03, 2016 8:50 pm

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

KonstantinDimitrov
Posts: 6
Joined: Sun Jan 03, 2016 4:36 pm

Re: I need help with this graphs

Thu Jan 07, 2016 5:47 pm

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

Return to “Beginners”