Sonsivri
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
April 19, 2024, 06:45:34 18:45


Login with username, password and session length


Pages: [1]
Print
Author Topic: PIC18F46J50 based USB HID and SD datalogger  (Read 4394 times)
0 Members and 1 Guest are viewing this topic.
jayanthd
Guest
« on: November 08, 2012, 02:12:59 02:12 »

Hello!

Here is a simulation video of my project PIC18F46J50 based USB HID and SD datalogger.

sim2

members who went to that site (edaboard) you referenced here (which I removed) thought that sim2.rar is the code, and then it appears to be the video and you were gaining points over there. I am really annoyed because I received many reports on this issue.

You are responsible for your posts, and when I see that you made a misleading post, then I will kick your ass from here, straight and simple.




Thanks
Jayanth D
« Last Edit: November 08, 2012, 06:38:28 06:38 by metal » Logged
juliozv
Junior Member
**
Offline Offline

Posts: 67

Thank You
-Given: 34
-Receive: 166



« Reply #1 on: November 08, 2012, 02:41:28 02:41 »

Hi,

Your project is interesting. You have some information of like do you use the SD card or more detail about project.
Logged
juliozv
Junior Member
**
Offline Offline

Posts: 67

Thank You
-Given: 34
-Receive: 166



« Reply #2 on: November 08, 2012, 03:41:55 03:41 »

Do you use the library FAT16 or 32?. I think you use mikroC or...?

then .. I will wait your article. Good project.
Logged
flo0319
Junior Member
**
Offline Offline

Posts: 81

Thank You
-Given: 7
-Receive: 17


« Reply #3 on: November 08, 2012, 09:37:33 09:37 »

If you have made a datalogger, this one is not for other usage?   To parse your file structure is not so easy. I propose you to change your file structure like:
[time stamp] [temp] /[type]
....

or other format which can easy read by Excel, Matlab, LabView, or other virtual instrumentation 
Logged
dipchip
Junior Member
**
Offline Offline

Posts: 69

Thank You
-Given: 92
-Receive: 25



« Reply #4 on: November 08, 2012, 11:32:07 23:32 »

Janthd,

Your project has some very useful features to it and shows promise.

I'd like to make a suggestion about logging also.  I'm with flo0319 on this one... format the log output to a standard "syslog" style.
Syslog: http://en.wikipedia.org/wiki/Syslog

There are a lot of log parsers out there that could iterate over your output and create some data visualization... such as a graph
using RRDtool.  http://en.wikipedia.org/wiki/RRDtool and MS Chart Control, http://www.microsoft.com/en-us/download/details.aspx?id=14422

You could even use a template system to create multiple styles of output... as if you didn't have enough to do already Wink

Another item worth mentioning... create a header for the log file indicating your logging conditions and environment, such as 'date',
'starttime', 'uptime', 'template used', 'code version', etc etc.  Use a hash, "#", character at the beginning of the line to indicate it's a comment
and not data.

You get the idea.  You will thank yourself later Wink

Best of luck, looks like your off to a good start.

--Chip
« Last Edit: November 08, 2012, 11:41:18 23:41 by dipchip » Logged
mikepic
Newbie
*
Offline Offline

Posts: 23

Thank You
-Given: 18
-Receive: 8


« Reply #5 on: December 01, 2012, 08:37:31 08:37 »

I will write an article about my project soon and I will post it. It used SD card also. Every day at HH:MM 00:00 it creates a file with filename of that date, like 08122012.TXT.

Then it starts logging data every 5min/ 30min depending upon the selection.

Data is logged like

Logging data every 5 minutes
----------------------------

Date: Wed 08/11/2012 Time: 20:53:54 PM
-----------------------------------------
Temperature: 112.0118  Degree Centigrade
-----------------------------------------

Date: Wed 08/11/2012 Time: 20:58:59 PM
-----------------------------------------
Temperature: 112.0118  Degree Centigrade
-----------------------------------------



Regards
Jayanth D

Great job! I'm doing something similar. Have you finished your article? can you post it?

Thanks

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