Sonsivri
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
December 02, 2016, 06:56:13 18:56


Login with username, password and session length


Pages: [1]
Print
Author Topic: Temperature Logger with Graph Display using MATLAB GUI  (Read 3406 times)
0 Members and 1 Guest are viewing this topic.
xpress_embedo
Active Member
***
Offline Offline

Posts: 153

Thank You
-Given: 103
-Receive: 188


WWW
« on: February 08, 2014, 09:13:45 09:13 »

Temperature values are recorded in memory card with the help of PIC18F4550 micro-controller, along with temperature time  and date values are also recorded.
Time and Date values are extracted using DS1307 RTCC IC and temperature is sensed using LM35 temperature sensor.

Memory Card Log can be copied to PC using SD Card Reader, then the log file can be opened with the help of a GUI developed in MATLAB, this will plot the temperature with respect to time and date.



PIC18F4550 used with mikroC 6.0.0 Compiler.
MATLAB R2010a version is used to Develop GUI.
WinImage is used to create Image for Proteus Memory Card.

Whole Project along with Proteus Simulation can be downloaded from the link available in the text file.
Logged
Wizpic
Global Moderator
Hero Member
*****
Offline Offline

Posts: 976

Thank You
-Given: 197
-Receive: 344



« Reply #1 on: February 08, 2014, 09:53:22 09:53 »

Very nice project, I've had a quick play with and looks good.well done
I have just gone to load it up again but now my 7.10 isis shuts straight down which it has never done before checked some of my other designs and it runs them strange. Only when I ran it the first time I noticed the A was missing of the display on the word date.
Logged

When you think, "I can't do anymore. I need a break," that is the time to challenge yourself to keep going another five minutes. Those who persevere for even an extra five minutes will win in life..
xpress_embedo
Active Member
***
Offline Offline

Posts: 153

Thank You
-Given: 103
-Receive: 188


WWW
« Reply #2 on: February 08, 2014, 01:36:54 13:36 »

I dont know why this happen with you.
Recheck it, and if proteus simulation doesn't work then it might be the problem of memory card image corruption.
Download the whole project again and never open memory card image file when simulation is running.

This video shows how to create image in memory card.
http://www.youtube.com/watch?v=51HfJPTpEGc

By the way i had tested this on real hardware and it works properly.
The graph in the image, is with the real data.
Logged
Wizpic
Global Moderator
Hero Member
*****
Offline Offline

Posts: 976

Thank You
-Given: 197
-Receive: 344



« Reply #3 on: February 08, 2014, 02:19:39 14:19 »

I have deleted files u-zipped it again and I can get it to run but if I close it down then reopen the same thing happens it's not an issue. I like the little app you created. I did similar thing but it logged voltage/current then I just used easy usblog from Lascar keep up the good work
Logged

When you think, "I can't do anymore. I need a break," that is the time to challenge yourself to keep going another five minutes. Those who persevere for even an extra five minutes will win in life..
lou
Junior Member
**
Offline Offline

Posts: 39

Thank You
-Given: 14
-Receive: 3


« Reply #4 on: February 08, 2014, 07:30:00 19:30 »

Very clever, works OK for me in ISIS 7.10 SP0, nice job
Logged
Vineyards
Active Member
***
Offline Offline

Posts: 130

Thank You
-Given: 35
-Receive: 25


« Reply #5 on: February 09, 2014, 09:42:26 21:42 »

Hello Express_Embedo,
www.4shared.com is banned in my country. Would you kindly provide an alternative means for downloading?
Logged
TucoRamirez
Senior Member
****
Offline Offline

Posts: 277

Thank You
-Given: 197
-Receive: 95


Tuco ... dead or Alive


« Reply #6 on: February 10, 2014, 01:47:09 01:47 »

i'm not out of topic but i wanna share this little light exe to gather data from comport:

Format:  FF 00  X1 X2 X3 X4 X5 X6 X7 .. X16  Y1234 Y5678 ...  Y13141516 (22 bytes  @ 115200 =  16 10bit samples)

I mean :  take 10 bit data and store in an array by putting the first 8 bits (Xn)  and shifting and swaping and mixing the others 2 bits with 4 other samples in order to economise frame (FF 00 header were tested fo avoid weird data reception  from bluetooth) .   exe ask for the name of your port and then it gather gather gather samples and gives u a text file reusable with matlab or excel...

Logged

Whoever double crosses me and leaves me alive... he understands nothing about Tuco.
xpress_embedo
Active Member
***
Offline Offline

Posts: 153

Thank You
-Given: 103
-Receive: 188


WWW
« Reply #7 on: February 10, 2014, 05:39:02 05:39 »

Quote
Hello Express_Embedo,
www.4shared.com is banned in my country. Would you kindly provide an alternative means for downloading?

Link Updated
Logged
lou
Junior Member
**
Offline Offline

Posts: 39

Thank You
-Given: 14
-Receive: 3


« Reply #8 on: March 18, 2014, 02:22:26 02:22 »

Can not seem to raise Express_Embedo To help or clairify the problems that I'm having with this project that he has posted. 

Has anyone built this project and got it to work with his  circuit and Hex code ?

Thanks , Lou
Logged
xpress_embedo
Active Member
***
Offline Offline

Posts: 153

Thank You
-Given: 103
-Receive: 188


WWW
« Reply #9 on: April 17, 2014, 08:59:49 20:59 »

@lou what problem you are having.
Please post what you are doung so that i can help you.

Posted on: April 17, 2014, 08:57:31 20:57 - Automerged

@mozo1971

I onky have matlab 2010 and i hope it will work with other versiin also.
There is nothing that much soecual or extraordinary thing in that code.
You can check and report here.
Logged
CocaCola
V.I.P
Senior Member
*****
Offline Offline

Posts: 397

Thank You
-Given: 108
-Receive: 179


« Reply #10 on: April 24, 2014, 07:04:24 07:04 »

@mikro_mcu the links in xpress_embedo post just a few above yours still work fine...
Logged
cncbasher
V.I.P
Junior Member
*****
Offline Offline

Posts: 87

Thank You
-Given: 107
-Receive: 50


« Reply #11 on: April 24, 2014, 09:43:01 09:43 »


hope this helps

https://mega.co.nz/#!yZZBQS5A!HqWQH4JQeJaeTyodTz_PpEOdpUOdOLp7hzl-EYjIcoo
Logged
pickit2
Moderator
Hero Member
*****
Offline Offline

Posts: 3816

Thank You
-Given: 567
-Receive: 2049


There is no evidence that I muted SoNsIvRi


« Reply #12 on: April 24, 2014, 10:02:08 10:02 »

Thanks to all , I got it
Did you miss the rule on posting THANK YOU posts?
Logged

Note: If you have no posts other than, I want or reporting a dead link Then you can't complain If I remove your post So Stop Leeching
CocaCola
V.I.P
Senior Member
*****
Offline Offline

Posts: 397

Thank You
-Given: 108
-Receive: 179


« Reply #13 on: April 24, 2014, 10:03:46 10:03 »

Quote from: mikro_mcu
I try these the links several times . please help me...

Are you sure?  Because I actually did verify the links were working before I posted and told you they were working, the link in the original post on 4shared still works and at minimum the first link in the list of multiupload links in his follow up post still works...
Logged
Mozo1971
Newbie
*
Offline Offline

Posts: 22

Thank You
-Given: 41
-Receive: 13


« Reply #14 on: June 01, 2014, 12:15:01 12:15 »

In the meantime i tested it with Matlab 2014 and it works without any error codes and problems.
Logged
Pages: [1]
Print
Jump to:  


DISCLAIMER
WE DONT HOST ANY ILLEGAL FILES ON THE SERVER
USE CONTACT US TO REPORT ILLEGAL FILES
ADMINISTRATORS CANNOT BE HELD RESPONSIBLE FOR USERS POSTS AND LINKS

... Copyright 2003-2999 Sonsivri.to ...
Powered by SMF 1.1.18 | SMF © 2006-2009, Simple Machines LLC | HarzeM Dilber MC