View unanswered posts | View active topics It is currently Mon Dec 18, 2017 5:28 pm



Reply to topic  [ 31 posts ]  Go to page 1, 2, 3, 4  Next
Datalogging 
Author Message
TO92 - Vaguely active

Joined: Thu Apr 24, 2008 6:15 am
Posts: 1
I just heard from this board so please excuse me if I'm on wrong section or this has been said before.

I for one am strongly with embedded datalogger. It could be done as addon (like I suppose it's currently planned?) but everyone will want it anyway.

If I'd design such FW/HW I'd use separate SD-card (with cardreader components on EMS) because if you store logs on regular memory chip instead, you can't take the logs with you when you leave the car unless you take the whole EMS/datalogger with you (I see a point of external datalogger here). All people still don't have laptops or they may be old and big (people don't buy new laptops only to be able to configure their EMS). I agree that laptops are must when initially tuning the setup but after that we usually could get away with less.

Minor changes to settings could be done if EMS could store system configuration on SD/MMC (again, that card has easiest route via SPI) and also read it back on startup if certain byte on card is set (or switch if it needs to be on HW). Just think of the ease of getting card from car, analysing stuff on home comp without any hurry, making little changes on card, getting back to car and popping card back and drive to work. Also with multiple cards you can store different setups easily (you could even switch on different setups on road without laptop if needed) and transfer data as you like.

Having fs-filestructure on SD is also all good as after that you can transfer and read your files virtually from every computer which has SD-cardreader. Dosfs is at least free source fs for mcu's. I swear I used to have big list of links about SPI-programming on mcu's but it seems like I've lost my bookmarks (had major HDD-crash last year), but I doubt it's hard getting required stuff figured, it's just plain work..

Just some thoughts.

edit->just a little clarification


Last edited by risu on Thu Apr 24, 2008 9:30 am, edited 1 time in total.



Thu Apr 24, 2008 6:35 am
Profile
Moderator
User avatar

Joined: Tue Jan 15, 2008 2:31 pm
Posts: 14914
Location: Home sweet home!
Hi, and welcome along :-)

All good thoughts, and I agree with most of them, thanks for sharing :-)

_________________
DIYEFI.org - where Open Source means Open Source, and Free means Freedom
FreeEMS.org - the open source engine management system
FreeEMS dev diary and its comments thread and my turbo truck!
n00bs, do NOT PM or email tech questions! Use the forum!
The ever growing list of FreeEMS success stories!


Thu Apr 24, 2008 7:43 am
Profile WWW
LQFP112 - Up with the play

Joined: Tue Apr 08, 2008 9:14 pm
Posts: 160
I love the idea personally.


Fri Apr 25, 2008 1:17 am
Profile
Moderator
User avatar

Joined: Tue Jan 15, 2008 2:31 pm
Posts: 14914
Location: Home sweet home!
If someone wants to fork the code and try to make this happen, it wouldn't be all that hard to do anymore.

All the SD file would need to contain would be the block ID and then the data. You could manipulate the serial buffer to look like it was a message received, or later if/when I refactor, just call the function to handle it directly.

I won't be working on this myself, but there is nothing stopping someone else from taking a crack if they are interested.

Fred.

_________________
DIYEFI.org - where Open Source means Open Source, and Free means Freedom
FreeEMS.org - the open source engine management system
FreeEMS dev diary and its comments thread and my turbo truck!
n00bs, do NOT PM or email tech questions! Use the forum!
The ever growing list of FreeEMS success stories!


Thu Dec 25, 2008 12:47 am
Profile WWW
LQFP144 - On Top Of The Game
User avatar

Joined: Mon Mar 31, 2008 12:47 am
Posts: 568
Location: New Zealand, land of the long white burnout
Love this idea also! Was thinking about it myself, but I thought about using a usb memory stick for it.

_________________
Owner / Builder: 1983 Mazda Cosmo 12at (1200cc 2-rotor turbo) coupe [SPASTK]
165hp @ 6psi standard - fastest production car in japan Oct 82


Mon Jan 12, 2009 1:03 am
Profile WWW
QFP80 - Contributor

Joined: Thu Sep 04, 2008 1:54 pm
Posts: 40
sry_not4sale wrote:
Love this idea also! Was thinking about it myself, but I thought about using a usb memory stick for it.


That would be pretty sweet, since a 4GB stick is like $12 now.


Tue Jan 13, 2009 8:56 am
Profile
LQFP144 - On Top Of The Game
User avatar

Joined: Mon Mar 31, 2008 12:47 am
Posts: 568
Location: New Zealand, land of the long white burnout
And they are even more universal than SD card readers

_________________
Owner / Builder: 1983 Mazda Cosmo 12at (1200cc 2-rotor turbo) coupe [SPASTK]
165hp @ 6psi standard - fastest production car in japan Oct 82


Tue Jan 13, 2009 9:27 am
Profile WWW
LQFP144 - On Top Of The Game
User avatar

Joined: Sat Feb 23, 2008 8:58 pm
Posts: 387
The main issue I can see with the USB stick is that the datalogger would have to be a USB host and handle the USB commands for data storage devices and would need the hardware associated with it. With an SD card, it just needs an SPI port (of course, it needs to handle the commands for the SD card protocol).

There are ready made solutions for both and I don't think any price advantage of the data media will have a significant impact on total cost. Also, I'm not sure that a USB stick is the right format for a secure and reliable connection in a car environment especially if you're thinking about high-performance or race cars.

Jean


Tue Jan 13, 2009 4:41 pm
Profile WWW
LQFP144 - On Top Of The Game
User avatar

Joined: Mon Mar 31, 2008 12:47 am
Posts: 568
Location: New Zealand, land of the long white burnout
Very good points :D

It would be hard to make a secure usb stick "cradle" too, as the sizes/shapes of this sticks vary so much

_________________
Owner / Builder: 1983 Mazda Cosmo 12at (1200cc 2-rotor turbo) coupe [SPASTK]
165hp @ 6psi standard - fastest production car in japan Oct 82


Tue Jan 13, 2009 8:43 pm
Profile WWW
Moderator
User avatar

Joined: Tue Jan 15, 2008 2:31 pm
Posts: 14914
Location: Home sweet home!
I like the USB idea because I'm not limited to a tiny amount of data, you could bang a real hdd in there with a big rubber surround and log continuously on it.

sry_not4sale wrote:
It would be hard to make a secure usb stick "cradle" too, as the sizes/shapes of this sticks vary so much

You wouldn't hang the stick straight out, you would use a short extension cable to isolate the two chunky devices and let them be supported individually. I agree that a USB plug is not the best, but an sd card interface may not be that much better if you are thinking longevity etc.

It doesn't matter anyway as it would make the most sense to use the serial interface to receive the data (despite having the SPI stuff on the cpu) and at that point you can do whatever you want. More specifically, both types could be made and which ever one you like/prefer used :-)

Fred.

_________________
DIYEFI.org - where Open Source means Open Source, and Free means Freedom
FreeEMS.org - the open source engine management system
FreeEMS dev diary and its comments thread and my turbo truck!
n00bs, do NOT PM or email tech questions! Use the forum!
The ever growing list of FreeEMS success stories!


Tue Jan 13, 2009 9:18 pm
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 31 posts ]  Go to page 1, 2, 3, 4  Next

Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group
Designed by ST Software for PTF. ColorizeIt.