Toyota GR86, 86, FR-S and Subaru BRZ Forum & Owners Community - FT86CLUB

Toyota GR86, 86, FR-S and Subaru BRZ Forum & Owners Community - FT86CLUB (https://www.ft86club.com/forums/index.php)
-   Electronics | Audio | NAV | Infotainment (https://www.ft86club.com/forums/forumdisplay.php?f=27)
-   -   Custom data logger prototype (https://www.ft86club.com/forums/showthread.php?t=100430)

mabviper 01-22-2016 11:36 PM

Custom data logger prototype
 
I've been working on this project on and off for a while now. I think I have enough to share.

This all started when I saw Toyota showcase their CAN-Gateway ECU for the GT86 platform. I figured that if they can do it, why can't I copy it, lol. I wanted something like the Corvette PDR. A data logger that's seamlessly integrated with the rest of the electronics in the car. While there are tons of data loggers available, I didn't want to install units on the center console or windshield so I started designing my own.

The idea:
1. Interface with canbus to extract data from the car to minimize queries on obdI2.
2. Add in gps, accelerometers and 2 external sensors for oil pressure and something else.
3. Replace oem clock unit with datalogger w/o loosing any of the leds or hazard button.
4. Store data in usb drive.

Right now, my system is able to record the following parameters:
1. Speed
2. RPM
3. Steering angle
4. Throttle
5. Brake pressure
6. Individual wheel speeds
7. Oil temperature
8. Coolant temperature
9. Remaining fuel
10. GPS coordinates @ 25Hz.
11. Lateral G
12. Longitudinal G
13. Yaw Rate

There are other sensors I want to integrate but for now, this is good enough. I'm also saving data to an sdcard instead of usb for now.

But enough talk! On to the video!
[ame]http://www.youtube.com/watch?v=SKlobXXXtIM[/ame]

I also have 2 OLED screens integrated for now. Though, theoretically, you can have as many as you want. I haven't done prototyping the board yet but I've done some analysis on the pinouts of the clock unit. Hopefully by this summer, I can start field testing a prototype unit on local autocross tracks.

For those that want to see how it works on autocross, here are 2 videos I took last year :D
https://youtu.be/hCk8P82Ekmg
https://youtu.be/T2ssUZci9OU

Field testing at Mosport DDT
[ame="https://www.youtube.com/watch?v=cNekCNSglrw"]DDT SPDA ATTS June 11 - YouTube[/ame]

Field testing at PITL Autocross
Accelerometer data as well as Yaw rate finally incorporated :)
[ame="https://www.youtube.com/watch?v=fBcDVaWDU_4"]PITL July 2016[/ame]

D18 01-23-2016 09:14 AM

This is awesome! I've been looking for a solution like this for a while. Do you plan on doing a DIY guide once your done?

Seriously though, great work, I know this likely wasn't easy. I like your Video layout too. What are you using to record video, have you integrated a dashcam?

mabviper 01-23-2016 12:56 PM

Thanks! I don't know how easy it is to diy but I'm probably leaving towards open source software and hardware once it's done.

The video was recorded with my Sony AZ1 camera mounted on the tow hook. The data overlay is done in post using Dashware software. Awesome tool since it's now free. I made a profile for it so it automatically reads my data. I'm saving the data as CSV do it can be used with any data overlay software and analysis.

Unfortunately, in order to integrate a camera. You would need a much faster processor and support from the camera manufacturer to do the overlay in real time. Coincidentally, I do have a custom dashcam I made with Raspberry pi :D

Sent from my Nexus 4 using Tapatalk

ottoyu34 01-23-2016 02:12 PM

About time, nice work sir!

ArCha 01-23-2016 08:10 PM

Really slick. I hadn't seen the two-lap overlay video before, very nice. Hopefully, I'll actually come out this year and see the setup in action.
Lee

D18 01-25-2016 04:30 PM

I'll have to look into Dashware, never heard of it before. So it shouldn't be an issue to overlay on any video source, whether it be a dashcam or GoPro?

What are you using for datalogging, is it self built, or a purchased solution you've modified?

D18 01-25-2016 04:33 PM

I'm really hoping that you've just used a Raspberry Pi and can upload us a wiring diagram and software lol.

mabviper 01-25-2016 05:34 PM

Dashware will work with any video. Right now, it's running on a modified stm32 discovery board. A raspberry pi solution is definitely doable but I'm not confident the pi and Linux can process the data fast enough. I also can't buy the broadcom soc anywhere although with the release of the zero, it's now easier to get it integrated.

Sent from my Nexus 4 using Tapatalk

Mazikowski 01-26-2016 11:50 AM

Awesome work! Looking forward to seeing more as this progresses.

Subbed.

mabviper 05-27-2016 08:50 PM

Just a little update on this project. It still works lol. I'll be field testing the system in Mosport DDT in a few weeks.

But for now, boards are in! :)
http://uploads.tapatalk-cdn.com/2016...85e0188141.jpg

Sent from my Nexus 4 using Tapatalk

BatStig 06-06-2016 12:19 PM

@mabviper well done! I'm looking forward to seeing this bad boy progress.

stevesnj 06-06-2016 01:11 PM

Awesome stuff, I like the throttle and brake pressure. ala F1

Rameus 06-06-2016 05:48 PM

This looks great.

I had a little arduino based system running to display oil pressure in car, but my unreliably soldered wiring slowly wore down all my enthusiasm. I had plans of logging from the OBD2 port and eventually incorporating GPS support as well.

I'd be very interested to see your system in person sometime. Judging by the route you took in the video in your first post, it appears you aren't located that far from me.

mabviper 06-06-2016 07:22 PM

Thanks guys. I can't wait to finally get this permanently incorporated in the car. I'm waiting for some major electronic parts like gps and wifi before I can start assembling the boards.
@Rameus I'm actually in the process of wiring up an oil pressure sensor and should be good to go. I'll be at CTMP DDT this Saturday to test the system out. If this is successful, I'll start working on code for gps lap timing.

Sent from my Nexus 4 using Tapatalk


All times are GMT -4. The time now is 11:45 PM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
User Alert System provided by Advanced User Tagging v3.3.0 (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.


Garage vBulletin Plugins by Drive Thru Online, Inc.