Thomas07
Posts: 2
Joined: Fri Feb 05, 2016 1:27 pm

Rasberry Pi program

Fri Feb 05, 2016 1:48 pm

Hello,

I have to realize a project for the HIGH SCHOOL DIPLOMA, acquire the value of 3 sensors of temperatures AD22100 on Rasberry Pi quite 15min, make them post on a curve of a screen with the history and also the value current. The history has to erase the values which dates more than 48 hours. (I use an internal clock RTC I2C DS1307 AT24C32).
Please helped I to s program, if you have a program.
:(
Thank you.
(sorry for my english)

BMS Doug
Posts: 3824
Joined: Thu Mar 27, 2014 2:42 pm
Location: London, UK

Re: Rasberry Pi program

Fri Feb 05, 2016 2:55 pm

You are unlikely to find anyone here willing to do all the work for you but we will help you to do it yourself.

Step 1. Figure out how to connect one sensor to the pi.

Step 2. Figure out how to connect 3 sensors.

Step 3. Figure out how to read the values from one sensor.

Step 4. Figure out how to log the sensor value.

Step 5. Figure out how to log 3 sensors values.

Step 6. Figure out how to display a graph of the previously logged values.

Step 7. Figure out how to delete older values.

Step 8. Profit?


As it's quite a lot I'll give you a start you will need to connect the sensors to a (at least) 4 channel ADC to be able to read them from the pi.

I would also suggest that you use all the components that you have been given in your final solution.
Doug.
Building Management Systems Engineer.

User avatar
DougieLawson
Posts: 39304
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK
Contact: Website Twitter

Re: Rasberry Pi program

Fri Feb 05, 2016 3:39 pm

Thomas07 wrote:I have to realize a project for the HIGH SCHOOL DIPLOMA ...
I'll write your code for you for $1000 USD, as long as you can get your school to put my name on the diploma.

Isn't the idea of them setting you a project that you do your own work. I think BMS Doug has been very generous to give you a high level design without demanding a payment.
Note: Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

Criticising any questions is banned on this forum.

Any DMs sent on Twitter will be answered next month.
All non-medical doctors are on my foes list.

BMS Doug
Posts: 3824
Joined: Thu Mar 27, 2014 2:42 pm
Location: London, UK

Re: Rasberry Pi program

Sat Feb 06, 2016 12:33 am

DougieLawson wrote: Isn't the idea of them setting you a project that you do your own work. I think BMS Doug has been very generous to give you a high level design without demanding a payment.
TMI?

I think that the first thing that should be taught in school is how to break a big problem into a set of easier problems. Perhaps I should just have reminded him to do that.
Doug.
Building Management Systems Engineer.

Return to “General discussion”