• Announcements

    • Mopar1973Man

      Quadzilla Tunes   06/12/2017

      QUADZILLA TUNE REPOSITORY - There is now a Quadzilla tune download area. When you submit a tune file to the download area it will automatically create a forum topic that allows discussion of your tune. So export your tune and upload it to the site. Then we all can help out in building better tunes. Check it out gang...
    • Mopar1973Man

      911 Support Group   06/22/2017

      Hey Gang, I've got the 911 support group database back up and running once again. It's listed in the 911 support category. It will allow members to list their contact information and location so other have a listed of members to call upon in the time of need. So if you wish to support other member please stop by and add your listing into the database. https://mopar1973man.com/cummins/911-support.html/contacts/
Me78569

He351ve stand alone Arduino controller code for 2nd Gen Cummins

570 posts in this topic

No polarity on the speed sensor.

 

More than likely your issue is due to the pin needed on the can bus shield.  Some use pin 9 some use pin 10.

 

What can bus shield did you get?

 

 

Share this post


Link to post
Share on other sites

its a seeedstudio v1.0  03/06/2013

Share this post


Link to post
Share on other sites

The code you posted an image of shows that you are trying to setup the canbus shield on pin 9.  The early seeedstudio boards used pin 10.  

 

I would verify your board is using pin 10 then change the can channel to be pin 10 

 

First tab line 23

 

Change

MCP CAN1 (9);       //Create CAN Channel

 

To

MCP CAN1 (10);       //Create CAN Channel

 

 

That should make your turbo start responding.  

Share this post


Link to post
Share on other sites

Yes, so I tried it with 10 in that line and tried reversing the can bus wires to see if that's wrong... but still no response....my next step i was going to try it on pin 9 and try that.....is it normal to have the can.h define statement in black or should it be amber like the other define statements? 

Share this post


Link to post
Share on other sites

Hi Again, I am only getting back to this project now.........so to update i finally got my turbo to respond, only thing thats worked for me is copy and pasting the text version of the code on page 1 of the thread. So im guessing that version has been updated since??,For the moment My present issue is when potactive is selected and i turn the pot the turbo actuator jumps from 20cm to 6 cm suddenly,  seems to move smoothly from 25 to 20cm, then jumps....no proportional adjustment from 20-6cm? and ideas on that? is there some adjustment on that in the code....its a 10k  pot i am using

Thanks

Share this post


Link to post
Share on other sites

Posted (edited)

You can see the code changes in the version.txt file in the download section. 

 

https://drive.google.com/drive/folders/0B46GXQ9arT2lfmR2RXZLQXlBWmRiRU5OS044VXpBNkxiYmpqUy1tc01hZFdaM2RvQU9mcUE

 

Note that after version 1.05 or something the code was designed for a mega board rather than a uno.  I am guessing that your shaft speed issue was related to that.

 

 

As for your manual vane settings, did you get a linear 10k pot or a guitar 10k pot? sounds like the pot is not linear or the pot is bad.

Edited by Me78569

Share this post


Link to post
Share on other sites

O.k,yes i think it was a guitar pot I was using, ill try a  linear pot. Yes i suspected there was something uncompatible with the later versions of code with  my hardware. Can you tell me what hardware you used for your setup?

Share this post


Link to post
Share on other sites

I would just keep using your uno.  I used a mega so I could control lockup and EB at the same time, plus some other stuff I haven't gotten to yet.  

 

The 1.06 code ( or whtaever it is) has the same base code so you really aren't missing much.

Share this post


Link to post
Share on other sites
2 hours ago, w124tony said:

O.k,yes i think it was a guitar pot I was using, ill try a  linear pot. Yes i suspected there was something uncompatible with the later versions of code with  my hardware. Can you tell me what hardware you used for your setup?

sorry just looked up the versions.  You want version 1.11 for the uno that will have all the features.

Share this post


Link to post
Share on other sites

O.k i will try version 1.11, Which version of the canbus sheild did you use? My car has been out of action for 6months until i got around to sorting this so i really need to get this sorted now. 

Also What turbo speed do you see at idle?

Thanks, 

Share this post


Link to post
Share on other sites

I see 12k turbo speed at idle if warm.  Driving shaft speed is ~40-70k WOT 120k 

 

I used a seeedsheild, but it was an older one that used pin 10.  I know some newer shields use pin 9, but if you are seeing vane movement then you are fine.  

Share this post


Link to post
Share on other sites

Hi again, i just wanted to update the thread, i finally got around to finishing my controller and got everything working with the 1.11 version of code, the main problem i was experiencing previously with things not working i figured out was down to an inadequate 5V power supply for the arduino. So thanks for your help and ill update as i finally get things tuned on the road. 

2 people like this

Share this post


Link to post
Share on other sites

This is great to hear.  I am so far beyond happy with my setup currently so I an sure you will enjoy it as well.

Share this post


Link to post
Share on other sites

Ok... 23 pages... and I'm trying to uncross my eyes.

 

I'm honestly a bit lost.  

I'm going to put a 450ish hp 12v Cummins in an Excursion.  So I won't be able to get much for Data off the OBD that I saw programmed in at one point... Although I will have TPS, RPM, Coolant temp, Ambient Temp, and of course whatever I would like to add.

 

I started with this thread:

Then came here... Is there an updated parts list for this?  If I'm going to build it, I'd like to have the newest version of things.  

 

The origional post had boost and drive pressure, but it appears that those aren't used anymore?  It's mostly off shaft speed?  

I'm sorry if these seem like basic questions...but I'm not much of a programmer or computer whiz.  I can build just about anything with directions though....  20 years of being a mechanic has helped with that!  LOL  

A parts list, and then I can grab the most current code... and hopefully be good to go?  lol

Thanks guys!

Share this post


Link to post
Share on other sites

So serious question, 

 

Do you want it just to work, or do you want to mess with it and understand it?   

 

Lilbb.com makes a plug and play unit that my code shares alot of code with.  It works VERY well and has really cool features, like bluetooth tuning from your phone.  

 

If you want to get your hands dirty in the computer world then I will help as much as possible.  

 

 

My current code still uses drive and boost with TPS, but the main tuning variable is shaft speed, as it needs to be.  I divided the article to show boost / drive control vs shaft speed control.  You will find the shaft speed below.  

 

No updated parts list, The code really hasn't changed in more than a year now.  I think 1.11 version of the code is for an Uno and the 1.13 is for a mega.  

 

 

let me know your path and I will go into more detail if need be.

Share this post


Link to post
Share on other sites

Well... That's a tough question!  

I would love to learn how to tune and tweak it, but I feel pretty overwhelmed reading through what I've seen so far.  This is my daily driver that I don't plan on going any farther power wise, or going crazy once I'm done tuning.  I like the idea of a Towing, Mileage, Daily and Performance "tune" with it.  

I plan to run a 5r110 Ford Transmission behind it... so it may be interesting... 

 

I'm not looking for the "easy button" but I don't want to screw it up either!  lol

 

So for Mega I could go with something like this:

https://www.amazon.com/Kuman-2560-16au-Atmega16u2-Arduino-Duemilanove/dp/B016D5L7NY/ref=sr_1_17?s=electronics&ie=UTF8&qid=1492558532&sr=1-17&keywords=arduino+mega

 

 

Thanks!

On a side note... By having the boost sensor already there, is there a way to make a gauge or digital gauge that I can watch based off that reading?  Or is that something that I would need another board for then get a small touch screen to put the "gauge" on it.

 

Sorry for the off the wall question... but it was an idea...

Share this post


Link to post
Share on other sites

that mega should work fine.  

 

My code uses a lcd screen to display boost / drive / shaft speed / and turbo position.

1 person likes this

Share this post


Link to post
Share on other sites

Ok. Another slightly odd question.... since I don't know or understand.... yet...

 

Would your code work with Raspberry Pi?  

 

I'm trying to learn the differences and I'm again getting confused.  I do gather that the Pi is a computer and the Ardunio is a controller, but it appears that the Pi can control?  Do they speak the same language?  

 

Thanks!

Share this post


Link to post
Share on other sites

With some modding prob.  You would have to be more versed in code to do it. 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now