Shop OBEX P1 Docs P2 Docs Learn Events
Propeller Digital Dash? — Parallax Forums

Propeller Digital Dash?

LinkinLinkin Posts: 1
edited 2013-10-14 13:45 in Propeller 1
Hey Guys,

I have done work with Arduino and Picaxe in the past and would like to step up to Parallax. I was wondering with the integration of video, would it be possible take readings from the RPM sender, Vehicle speed sensor, Gas level, battery, water temp oil temp etc. and make a program to display the info on a lcd screen? Using the propeller?

Comments

  • potatoheadpotatohead Posts: 10,261
    edited 2010-11-17 09:30
    I sure think so. The video capabilities are up to the task. You've lots of options, with the RAM being the deciding factor on how it all goes. The task you want to start can be broken into little, modular bits, built up a layer at a time.

    You could start with a basic dash, add a indicator or two, then build out the sensor portion. Once that works, it's just a matter of building out the other sensors, feeding data to what you've already got written video wise.

    It's a very good project for Propeller, and how it works with blocks of code from the Object Exchange. Many of the things you want are already written, leaving you do connect them together, and supply some data.
  • icepuckicepuck Posts: 466
    edited 2010-11-17 12:09
    The propeller should work. The BIG headache is going to be interfacing with the vehicle.
    Using the vehicle's OBD2 port would be the way to get all the vehicle data you could ever want. Another problem to watch out for, the are now different OB2 protocols.
    The following link does a fairly good job of describing the differences.

    http://en.wikipedia.org/wiki/On-board_diagnostics
    -dan
  • wjsteelewjsteele Posts: 697
    edited 2010-11-17 13:37
    Actually, I did this a while back for a custom Ford Excursion that we built for an episode of Pimp My Ride.

    It tied into the OBD-II port for a lot of the data and directly into a "sensor interface" module for the rest. (It was a bunch of ADCs in the interface module.)

    Bill
  • icepuckicepuck Posts: 466
    edited 2010-11-17 17:11
    OBD1 & OBD2 interface chips
    http://www.elmelectronics.com/obdic.html
    I'd think a prop could do the same thing.
    -dan
  • Bob Lawrence (VE1RLL)Bob Lawrence (VE1RLL) Posts: 1,720
    edited 2010-11-17 17:57
  • yarisboyyarisboy Posts: 245
    edited 2010-11-18 12:39
    This is a project I've worked on since leaving the BS2 behind. Right now I read the 0-12 square wave tach signal. Put it through an opto, then have an object from OBEX give me the frequency that I convert to RPM. I display RPM and MPH on two 4x7 LED displays. I think adapting it to a serial LCD may be actually easier than writing the MC14489 chip drivers that JonnyMac helped me with. The VSS signal is taken from a wire in my Toyota that I have the aftermarket cruise control hooked up to. It is a 3.3 volt square wave. I was running it through an opto too but the current draw of the opto was causing me to get a warning light on the dash indicating a power steering failure. Next I'm going to put 10K between the Yaris VSS and a Prop pin and try it again. I also have an outdoor temperature sensor for the third LED display but I haven't found the time to integrate that yet. Objects for the sensor exist that display to VGA. I just have to dumb-it-down to a compact, bright LED display. I also designed an analog display with 33 lites but still have to finish the software for a 32-channel controller chip.
  • chefskichefski Posts: 1
    edited 2010-11-18 19:23
    I've been working on a very similar project for my '07 4runner. I'm using an ELM327 as the interface to the ODB-II and using a propeller to parse and display the data on my Kenwood head unit. The head unit has a composite video input and the propeller drives it nicely. The 4runner uses the CAN protocol and the ELM327 handles all of the CAN messaging. I have the propeller send requests to the ELM and the ELM queries the CAN bus. I've attached a photo of the display in the truck.


    Greg
    640 x 480 - 136K
  • RagametalRagametal Posts: 8
    edited 2013-10-03 09:26
    This is exactly what I want to achieve and the reason why i'm learning how to use the propeller microcontroller. Is there any chance you could post your source code? I Have already covered the OBD2-to-uart connection with the STN1110 IC (and several associated components) but I have no clue on how to start communicating with it or how to plot the results on the screen. Who knows, maybe I can develop the code a little bit further to add some gauges :thumb:
  • davejamesdavejames Posts: 4,047
    edited 2013-10-03 09:36
    Hello Ragametal - welcome to the Forum.

    Please note that the last post in this thread is nearly 3 years old... and that two respondents haven't been on the Forum since.
  • RagametalRagametal Posts: 8
    edited 2013-10-03 09:54
    I noticed that the thread has not been active for some years but I figured that It couldn't hurt to ask for some help. Specially when somebody already came out with a solution that I can use as a basis for my project :)
  • KyeKye Posts: 2,200
    edited 2013-10-03 10:47
    Ragemetal,

    Try emailing the user. Click on their name to see options.
  • RagametalRagametal Posts: 8
    edited 2013-10-03 13:27
    I just did. Thank you very much for the advice. Hopefully Chefski is still around these forums.
  • ChrisGaddChrisGadd Posts: 310
    edited 2013-10-03 13:29
    That looks like a pretty useful chip. I created a CANbus OBD-II reader using the Prop for all of the message formatting and just a 2551 for the level shifting. You don't need the drivers routines with that chip, but might find the higher-level routines useful.

    OBD-II reader
    OBD-II terminal display.jpg
    926 x 853 - 218K
  • Chris SavageChris Savage Parallax Engineering Posts: 14,406
    edited 2013-10-03 14:48
    I started a car computer project a few years ago that I haven't quite gotten back to, however in my Propeller based update to the original Z80 unit I have the 2 counters on one COG counting the tach and speed pulses for RPM, Odometry and Speed. I get odometry and speed from the same pickup. Signal conditioning is fairly straight forward and there are a lot of references for that. Odometry is displayed on a character LCD display that actually shows the digits rolling just like a mechanical one. Speed and RPM are shown on 7-Seg LED displays and for Fuel, Temp, etc. I will be using an 8-channel ADC and some conditioning from each sensor to measure those values as well, though I haven't gotten to that point yet.
  • RagametalRagametal Posts: 8
    edited 2013-10-07 17:14
    @ ChrisGadd: My car actually uses a different protocol (it is a honda). However the manufacturer recommended circuit for the STN1110 actually uses the MC2551 in order to enable the chip to communicate with CAN, just the way you are doing it.


    @ Chris Savage: Your design seems a great fit for a project car or a race car. It is kind of convoluted for my use. I will like to make something practical that uses the hardware that i already have (OBD2 port and radio headunit with a 7" LCD screen). But i do appreciate your input.


    I don't even have a propeller board yet since i 'm in the research phase. I decided to learn as much as i can upfront since this is my firs experience with electronics. I will keep all of you posted about any updates in my project.
  • Chris SavageChris Savage Parallax Engineering Posts: 14,406
    edited 2013-10-08 09:59
    Ragametal wrote: »
    @ Chris Savage: Your design seems a great fit for a project car or a race car. It is kind of convoluted for my use. I will like to make something practical that uses the hardware that i already have (OBD2 port and radio headunit with a 7" LCD screen). But i do appreciate your input.

    My input was more to the point of it isn't too hard if you have the motivation and resources. My original ACM was Z80-powered and I haven't yet gotten most of it transferred over to the Propeller yet. Good luck with your project though. It will be interesting to see no matter how you go about it.
  • riamh1969riamh1969 Posts: 1
    edited 2013-10-14 13:45
    I am presently working on the same thing. tachometer portion is giving me fits, but hopefully I will figure that out! :)
Sign In or Register to comment.