Lil' Blackbox

General => General Discussion => Topic started by: Bonez34 on February 15, 2017, 11:59:50 AM

Title: Been a while, but I finally placed my order!
Post by: Bonez34 on February 15, 2017, 11:59:50 AM
I have been interested in the LilBB for quite some time,  finally got around to placing my order.  So catch me up to date.  I see you now have a standalone which is cool.  I want to hack the hack so I opted for the shield.  Does anyone have code for the LilBB on a Mega?  I would like more I/O for various things.  Rx7Man?  Please catch me up to the current state of the art..
Title: Re: Been a while, but I finally placed my order!
Post by: me78569 on February 15, 2017, 05:01:02 PM
I think my code poject is likely the closest. 

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


my project
https://mopar1973man.com/topic/9632-he351ve-stand-alone-arduino-controller-code-for-2nd-gen-cummins/?page=1

Most of the base rpm calc code is lilbb.com's the eb manual vanes warmup screen stuff is mine.  I haven't looked through lilbb's recent code, but I am assuming you could piece it together.
Title: Re: Been a while, but I finally placed my order!
Post by: Bonez34 on February 15, 2017, 10:28:49 PM
Thanks for that.  I am not sure that I will need a Mega yet.  It will depend on how many things I want to monitor for vane position.  I like your setup. 

My application will be on a Nissan 300zx with an Infiniti VH45DE 4.5L V8 from a 1995 Q45.  I will be running low boost compared to you diesel guys,  8-10psi.  There are a few Arduino based projects that communicate to the ECU in OBDI using Nissan consult,  which is RS232 based IIRC.  I have posted a youtube link that contains all of his code,  hardware,  etc.

It would be nice to be able to combine the two together so that I don't have to run wires all over the place,  but I'm not sure if it's even possible.  Let me know what you guys think and if it's worth the headache.

https://www.youtube.com/watch?v=kORjR_Akfbg
Title: Re: Been a while, but I finally placed my order!
Post by: me78569 on February 16, 2017, 05:29:44 PM
The cummins ecm and obd interface is likely a lot less advanced than your setup.  I would assume you could just use something like the above and be fine. 
Title: Re: Been a while, but I finally placed my order!
Post by: Rx7man on February 26, 2017, 02:50:04 PM
I use the Mega, but my code isn't even remotely close to the Lilbb code!...
I would recommend getting a Mega screw type prototyping board from ebay ($15) which will fascilitate connections.. I did have to do a few hacks to the lilbb board, for example I use an interrupt enabled pin for the turbine RPM rather than FrequencyMeasure, which means I jumpered pin 8 (used for frequencyMeasure) to pin 2 (an interrupt capable pin) and used Pin 3 for engine RPM.

I"m waiting on some cheap CAN controllers also from Ebay so I can have a couple different units in various places in the vehicle and they can 'talk' to each other.. For example, I'll have on behind the dash that takes care of the display, etc.  which gets it's data from the Lilbb... I may have another one at SOME point for injector pump control if I ever get my mitts on a H1000 Pump... I got a thermocouple driver board from Ebay, 4 channel, which I have yet to get operational, but that is something else that could be 'farmed off' to another controller and the data transferred over CAN bus
Title: Re: Been a while, but I finally placed my order!
Post by: Rx7man on May 12, 2017, 01:32:50 PM
Haven't heard from you in a while.. how's the project been going?