It´s nice that you can graph the data on the Computer. How did you get the data there? How is it stored?
Maybe you can make a short video introduction to show some features of the display/pushbuttons.
I´m reading 8 DS18B20 at the moment and i store the temperatures in a MySQL-Database.
I will graph the data with a php library, but i could also download the database and graph it in an separate program like yours. That would be awesome
here is the structure how the records are saved in the EEPROM and how they will send to the c#-program.
The DS1307 sends the temperature as a float. To save memory and to make the serial communication easier, I convert it to an integer (HIGH-Byte – Number before point / Vorkomma – LOW-Byte – Number after point / Nachkomma). To distinguish between positive and negative values I use the highest bit of the HIGH-Byte. If it is 1 then it is a negative value.
If you have more questions, you can send me an email. (Gerne auch in Deutsch)
EEPROM structure
Byte Description
0 Seconds (Init time)
1 Minutes
2 Hours
3 Day
4 Months
5 Years
6 Free
7 Free
8 Counter records HIGH-Byte
9 Counter records LOW-Byte
10 1. Record (hour of record
11 1. Record (Number before the point) – Vorkomma
12 1. Record (Number after the point) – Nachkomma
13 2. Record ?
14 2. Record ?
15 2. Record ?
[?]
7200 100. Record ?
Serial communication
C#-program
Sending “D”
Arduino
Recognizes command “start sending data to PC”
Sending 8 Bytes
Byte Description
0 Seconds
1 Minutes
2 Hours
3 Day
4 Months
5 Years
8 Counter records HIGH-Byte
9 Counter records LOW-Byte
Waiting
C#-programm
Sending “W”
Arduino
Recognizes command “send next data”
Sending 3 Bytes
Byte Description
0 1. Record (hour of record)
1 1. Record (Number before the point) – Vorkomma
2 1. Record (Number after the point) – Nachkomma
Waiting to command “W” or end of transfer, if no data left.
Are you able to share your c# code for the serial comms and the graphing, as I would like to use that sort of thing for testing and graphing data coming out of my arduino - I could see that being very handy for a number of projects, just to graph data and easily send fixed data to the arduino.
Nice project! Yeah, how did you make your 3D model of your board and how long was your shown data? Very rapid change in temperature I'd say. Your area is not comfortable. Did the temperature sensor get exposed to the sun and have a black coating? That could change reading quite a bit.
By the way, your LCD seems to have one row of 16 connectors but your 3D drawing shows two rows.
Are you able to share your c# code for the serial comms and the graphing
No problem. But first debugging
Yeah, how did you make your 3D model
I use the open source software blender
It was the easiest way for me. Cause I do 3d-Animation since a long time. The "problem" is that you have to design every part.
how long was your shown data
over 3 month, every day has 24 measurements.
Very rapid change in temperature I'd say.
It only seems so. Cause the graphics shows the hole 3 month. On the left side you have look to the measurements per hour.
But by the way, for Testing I didn´t use the best place.
By the way, your LCD seems to have one row of 16 connectors but your 3D drawing shows two rows.
you´re right. But I was too lazy to install eagle. So it was faster and easier for me to do it with blender. But eagle will find his way on my pc in the next weeks.