Page 3 of 3 FirstFirst 123
Results 31 to 44 of 44

Thread: Mini Datalogger Project

  1. #31
    Gary Motorsport Inc. Too Much Toyota takai's Avatar
    Join Date
    Oct 2005
    Location
    Victoria
    Posts
    5,543

    Default Re: Mini Datalogger Project

    The wiichuck is a i2c 2-wire bus. Plus power and ground. Setup there im using a $2 adaptor to drive it which picks up on an analog line as 5v highfor power.
    -Chris | Garage takai - Breaking cars since 1998
    Sparky - AE86 IPRA Racer | RZN149 Hilux - Parts and Car Hauler
    I never saw a wild thing sorry for itself. A small bird will drop frozen dead from a bough without ever having felt sorry for itself. - D.H.Lawrence

  2. #32
    RAAFENG Domestic Engineer punkture's Avatar
    Join Date
    Apr 2008
    Location
    Queensland
    Posts
    775

    Default Re: Mini Datalogger Project

    takai or mwp can i send you some code for a picaxe to verify its correct? its all wired up fine but looks like the lcd isnt initialised, its paralell in 4-bit mode with D0-D3 grounded as well as R/W. all the rest is per its manual. sorry but picaxe.uk hasnt approved for posting yet =(
    Current: 1990 ST185R Celica:
    http://www.toymods.org.au/forums/showthread.php?t=62315, DAEWOOOOO ESPERO
    Previous: Ta22 4aGZE; Older: 99' WRX Impreza 192kw

  3. #33
    Hopefully soon a 5S-GTE Chief Engine Builder MWP's Avatar
    Join Date
    Dec 2005
    Location
    South Australia
    Posts
    4,565

    Default Re: Mini Datalogger Project

    Ive never used a picaxe before, no point in me looking at it.

  4. #34
    Gary Motorsport Inc. Too Much Toyota takai's Avatar
    Join Date
    Oct 2005
    Location
    Victoria
    Posts
    5,543

    Default Re: Mini Datalogger Project

    I havnt used PICs for about 10 years. Not much use here.
    -Chris | Garage takai - Breaking cars since 1998
    Sparky - AE86 IPRA Racer | RZN149 Hilux - Parts and Car Hauler
    I never saw a wild thing sorry for itself. A small bird will drop frozen dead from a bough without ever having felt sorry for itself. - D.H.Lawrence

  5. #35
    Hopefully soon a 5S-GTE Chief Engine Builder MWP's Avatar
    Join Date
    Dec 2005
    Location
    South Australia
    Posts
    4,565

    Default Re: Mini Datalogger Project

    Chris, can you give your CSV's a header like the following:

    Code:
    #STARTING: 1291775902
    #NAME: dack_gps
    #FORMAT: time_ns;gps_time;fix;latitude;longitude;altitude;speed;hdop;sats
    #DBFORMAT: bigint;float;tinyint;double;double;float;float;float;tinyint
    1291776044073712390;24029.300000;2;-35.230307;137.550502;66.900000;0.310000;0.970000;8
    1291776044172830562;24029.400000;2;-35.230307;137.550502;66.900000;0.340000;0.970000;8
    1291776044281324208;24029.500000;2;-35.230307;137.550502;66.900000;0.340000;0.900000;9
    1291776044377279300;24029.600000;2;-35.230307;137.550502;66.900000;0.340000;0.900000;9
    "#" at start of line is a comment line.
    The following 4 lines must be present in the top 10 lines of the file.
    #STARTING logging start time in seconds since epoch (local unix time).
    #NAME must a mysql friendly table name.
    #FORMAT must have mysql freindly column names. "time_ns" must be present and first.
    #DBFORMAT must be valid mysql data format types.

    The import script creates the DB tables from the info above so the data stored in the CSV's can be quite flexible.
    Obviously, after the first imported CSV, all following using the same table have to have the same format.

    [edit]
    Updated the above...

    PHP csv->mysql import script is working
    Code:
    /home/mark/eeeDash# ./import_to_db.php
    Starting import...
    Data location: /home/mark/eeeDash/data
    Processing: 1291775902-dack-im.csv - creating table "dack_im", no data in table, inserted 10573, done.
    Processing: 1291775902-dack-mt.csv - creating table "dack_mt", no data in table, inserted 5042, done.
    Processing: 1291775902-dack-gps.csv - creating table "dack_gps", no data in table, inserted 10828, done.
    Processing: 1291775902-dack-wlan.csv - creating table "dack_wlan", no data in table, inserted 0, done.
    Last edited by MWP; 11-12-2010 at 11:52 PM.

  6. #36
    RAAFENG Domestic Engineer punkture's Avatar
    Join Date
    Apr 2008
    Location
    Queensland
    Posts
    775

    Default Re: Mini Datalogger Project

    woooo i succesfully interfaced my lcd =)
    Current: 1990 ST185R Celica:
    http://www.toymods.org.au/forums/showthread.php?t=62315, DAEWOOOOO ESPERO
    Previous: Ta22 4aGZE; Older: 99' WRX Impreza 192kw

  7. #37
    Gary Motorsport Inc. Too Much Toyota takai's Avatar
    Join Date
    Oct 2005
    Location
    Victoria
    Posts
    5,543

    Default Re: Mini Datalogger Project

    Yeah i can do that easily MWP. Although ditch the tinyint fields for int fields. Mysql runs much faster with ints than tinyints at the saving of buggerall space
    -Chris | Garage takai - Breaking cars since 1998
    Sparky - AE86 IPRA Racer | RZN149 Hilux - Parts and Car Hauler
    I never saw a wild thing sorry for itself. A small bird will drop frozen dead from a bough without ever having felt sorry for itself. - D.H.Lawrence

  8. #38
    RAAFENG Domestic Engineer punkture's Avatar
    Join Date
    Apr 2008
    Location
    Queensland
    Posts
    775

    Default Re: Mini Datalogger Project

    has anybody used a megasquirt? are they effective? or would they be runnign a 3sgte..theres a fair few 'success' stories and huge user base
    Current: 1990 ST185R Celica:
    http://www.toymods.org.au/forums/showthread.php?t=62315, DAEWOOOOO ESPERO
    Previous: Ta22 4aGZE; Older: 99' WRX Impreza 192kw

  9. #39
    Junior Member Carport Converter OnAll-FOUR's Avatar
    Join Date
    Jan 2006
    Location
    NSW
    Posts
    1,608

    Default Re: Mini Datalogger Project

    punkture, wrong thread mate. do some searching in technical section of google.
    Ben #400 - My Ride Thread - Now with CT20b -
    1990 ST185 JDM, 103.0kws July 06 --> 155.9kws Feb 2010
    WSID: [email protected] (Weak ) : Wakefield 1:16.1 Racechrono
    Pics - http://photobucket.com Vids - http://www.youtube.com

  10. #40
    Gary Motorsport Inc. Too Much Toyota takai's Avatar
    Join Date
    Oct 2005
    Location
    Victoria
    Posts
    5,543

    Default Re: Mini Datalogger Project

    Oh yeah, this arrived today:


    Wont be used for this project, but just to give an idea of how small they can get
    -Chris | Garage takai - Breaking cars since 1998
    Sparky - AE86 IPRA Racer | RZN149 Hilux - Parts and Car Hauler
    I never saw a wild thing sorry for itself. A small bird will drop frozen dead from a bough without ever having felt sorry for itself. - D.H.Lawrence

  11. #41
    Junior Member Carport Converter StuC's Avatar
    Join Date
    Oct 2005
    Location
    Victoria
    Posts
    1,792

    Default Re: Mini Datalogger Project

    This shit is cool - you gonna make these to sell Chirs or sell as DIY packages with code, instructions and parts list etc???

  12. #42
    Gary Motorsport Inc. Too Much Toyota takai's Avatar
    Join Date
    Oct 2005
    Location
    Victoria
    Posts
    5,543

    Default Re: Mini Datalogger Project

    Nah, ill just post the code available. Let people build their own.
    -Chris | Garage takai - Breaking cars since 1998
    Sparky - AE86 IPRA Racer | RZN149 Hilux - Parts and Car Hauler
    I never saw a wild thing sorry for itself. A small bird will drop frozen dead from a bough without ever having felt sorry for itself. - D.H.Lawrence

  13. #43
    Junior Member Carport Converter OnAll-FOUR's Avatar
    Join Date
    Jan 2006
    Location
    NSW
    Posts
    1,608

    Default Re: Mini Datalogger Project

    Are you getting these through a website?
    Ben #400 - My Ride Thread - Now with CT20b -
    1990 ST185 JDM, 103.0kws July 06 --> 155.9kws Feb 2010
    WSID: [email protected] (Weak ) : Wakefield 1:16.1 Racechrono
    Pics - http://photobucket.com Vids - http://www.youtube.com

  14. #44
    Gary Motorsport Inc. Too Much Toyota takai's Avatar
    Join Date
    Oct 2005
    Location
    Victoria
    Posts
    5,543

    Default Re: Mini Datalogger Project

    There are a bunch of resellers for the Arduino. Ive been using both Sparkfun in the US as well as LittleBird locally. This last one came from RobotGear.
    Pricing varies a little bit, but all have had good service
    -Chris | Garage takai - Breaking cars since 1998
    Sparky - AE86 IPRA Racer | RZN149 Hilux - Parts and Car Hauler
    I never saw a wild thing sorry for itself. A small bird will drop frozen dead from a bough without ever having felt sorry for itself. - D.H.Lawrence

Similar Threads

  1. Ra28 Project
    By The Knot in forum Tech and Conversions
    Replies: 1
    Last Post: 21-10-2008, 01:18 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •