I think I'm going to re-engineer the LBB

  • 100 Replies
  • 1901 Views
*

Offline hakcenter

  • developer
  • Hero Member
  • *****
  • 623
    • 1998 12v Ram
I think I'm going to re-engineer the LBB
« on: February 08, 2016, 08:19:00 AM »
I've been thinking to myself why don't I just go ahead and toss the processor on a board and do what I want, but load the arduino bootloader on it ?

I'm in the process of hunting down a box from polycase, probably won't make it water-proof the first go around and max it out. Maybe engineer another one to fit into a larger box, water-proof, with the arduino header still there to use other shields and what not.

Thoughts ?

*

Offline Rx7man

  • Crazy guy
  • Hero Member
  • *****
  • 908
  • Jack of all trades
    • '94 Dodge dually
Re: I think I'm going to re-engineer the LBB
« Reply #1 on: February 08, 2016, 10:06:21 AM »
Go with the ATmega 2560 processor perhaps?

I do think it would be nice to have at least the VR sense chip and CAN bus on the same board as the processor, which would make it possible to have a 'breakout board' sitting on top with no chips, but perhaps a few voltage dividers, current limiters and output drivers.

But if you're going through the trouble, why not go with a whole other processor that's still Arduino capable?  Just one of a million would be the Intel Edison chipset, or an ARM processor

Of course all this will add to the cost... I was thinking of making a breakout board for the Arduino Mega so it would be easier to connect everything to rather than re-engineer the base board to fit my needs.. I think I came up with a $200 bill for a 4x6" dual sided board when I got 4 printed at once... then come the rest of the components
'94 dodge, Colt Cam, head worked, NV5600, 3.55's, SB clutch, Ford manual hubs w. hawk brakes, custom flatdeck, custom aluminum bumper, cab off restoration, totally new engine, Mahle pistons @19:1..HE351VE with 67mm turbine and 67x95mm compressor
440hp/1000 ft lb @ 2400 RPM

*

Offline hakcenter

  • developer
  • Hero Member
  • *****
  • 623
    • 1998 12v Ram
Re: I think I'm going to re-engineer the LBB
« Reply #2 on: February 09, 2016, 01:04:07 AM »
Cost is a really limiting factor

*

Offline Rx7man

  • Crazy guy
  • Hero Member
  • *****
  • 908
  • Jack of all trades
    • '94 Dodge dually
Re: I think I'm going to re-engineer the LBB
« Reply #3 on: February 09, 2016, 01:15:34 AM »
For myself, I'd be happy if it was just a breakout board that suited the extra IO (at least some) of the Mega 2560.. I'm using a fair bit of them, and with no decent headers for them it is a little bit haywire in there... especially when I need pullup resistors on the analog IO's for temperature sensors.

Looking into the SPI quad thermocouple board on fleabay for compressor, intake, and EGT.. a bit of money with my crap exchange rate but would simplify a lot of stuff.
'94 dodge, Colt Cam, head worked, NV5600, 3.55's, SB clutch, Ford manual hubs w. hawk brakes, custom flatdeck, custom aluminum bumper, cab off restoration, totally new engine, Mahle pistons @19:1..HE351VE with 67mm turbine and 67x95mm compressor
440hp/1000 ft lb @ 2400 RPM

*

Offline hakcenter

  • developer
  • Hero Member
  • *****
  • 623
    • 1998 12v Ram
Re: I think I'm going to re-engineer the LBB
« Reply #4 on: February 16, 2016, 01:38:52 PM »
Design constraints!

4.0" x 3.2" for free Eagle PCB (no big deal I guess, since the actually buying it is $70, then $600 LOL)

Then it has to fit in QS50 from Polycase, QS-50 QS Series Handheld Electronic Enclosure with curved hand grips

The dashed line on the left, is the outer edge of the QS50, so it looks like the header will work within the box.

I might have to ditch the shield header design layout wise, to make it all fit. There's only 0.780" of space in there anyways... a shield may never fit. Pretty sure an Arduino is 0.60" by itself.

*

Offline Rx7man

  • Crazy guy
  • Hero Member
  • *****
  • 908
  • Jack of all trades
    • '94 Dodge dually
Re: I think I'm going to re-engineer the LBB
« Reply #5 on: February 16, 2016, 05:28:44 PM »
Is that box long enough for the Mega?  looks pretty tight.  Height is tight too... might have to bottom mount some stuff? 

Personally I like to have ample room to work with.. I made a big enclosure.
'94 dodge, Colt Cam, head worked, NV5600, 3.55's, SB clutch, Ford manual hubs w. hawk brakes, custom flatdeck, custom aluminum bumper, cab off restoration, totally new engine, Mahle pistons @19:1..HE351VE with 67mm turbine and 67x95mm compressor
440hp/1000 ft lb @ 2400 RPM

*

Offline hakcenter

  • developer
  • Hero Member
  • *****
  • 623
    • 1998 12v Ram
Re: I think I'm going to re-engineer the LBB
« Reply #6 on: February 16, 2016, 06:33:01 PM »
Polycase is the only company I know who does tooling on their products

*

Offline Rx7man

  • Crazy guy
  • Hero Member
  • *****
  • 908
  • Jack of all trades
    • '94 Dodge dually
Re: I think I'm going to re-engineer the LBB
« Reply #7 on: February 16, 2016, 10:04:23 PM »
repurpose your arduino.. make a  3d printer and make your own :)
'94 dodge, Colt Cam, head worked, NV5600, 3.55's, SB clutch, Ford manual hubs w. hawk brakes, custom flatdeck, custom aluminum bumper, cab off restoration, totally new engine, Mahle pistons @19:1..HE351VE with 67mm turbine and 67x95mm compressor
440hp/1000 ft lb @ 2400 RPM

*

Offline hakcenter

  • developer
  • Hero Member
  • *****
  • 623
    • 1998 12v Ram
Re: I think I'm going to re-engineer the LBB
« Reply #8 on: February 20, 2016, 01:07:32 PM »
Looks like everything is going to fit, even a bluetooth module. Programming via bluetooth will be possible as well.

*

Offline Rx7man

  • Crazy guy
  • Hero Member
  • *****
  • 908
  • Jack of all trades
    • '94 Dodge dually
Re: I think I'm going to re-engineer the LBB
« Reply #9 on: February 20, 2016, 06:34:06 PM »
One additional thing I'd like to see is a 20-5V step down connected to an analog input to monitor battery voltage..
'94 dodge, Colt Cam, head worked, NV5600, 3.55's, SB clutch, Ford manual hubs w. hawk brakes, custom flatdeck, custom aluminum bumper, cab off restoration, totally new engine, Mahle pistons @19:1..HE351VE with 67mm turbine and 67x95mm compressor
440hp/1000 ft lb @ 2400 RPM

*

Offline hakcenter

  • developer
  • Hero Member
  • *****
  • 623
    • 1998 12v Ram
Re: I think I'm going to re-engineer the LBB
« Reply #10 on: February 29, 2016, 08:32:00 AM »
So here's my final layout... too bad my pc broke for a week

I've added jumpers to the perf/cruise/brake io's at the top right in case you want to reassign the pins, and remove the 10k pullups (ya ya I know the arduino can do its own pullup but I don't see a reason to be reliant on that)

Bottom right is the bluetooth, very common HC-05, with a jumper for the 3.3v rail for programming it


Thoughts ? Board is almost outa room

*

Offline Rx7man

  • Crazy guy
  • Hero Member
  • *****
  • 908
  • Jack of all trades
    • '94 Dodge dually
Re: I think I'm going to re-engineer the LBB
« Reply #11 on: February 29, 2016, 11:43:34 AM »
I don't see where the headers connect... is it just me?

I would really like to see at least some through-holes for the A6 and A7 on the mega, since it's pretty much impossible to hook anything onto them with most shields there.. That way you or anyone else could make a shield that is specifically for the extra IO's on the Mega...

And BTW. you got TONS of room left.  Have you got an interrupt enabled IO broken out for engine RPM sense? (D2, D3)
'94 dodge, Colt Cam, head worked, NV5600, 3.55's, SB clutch, Ford manual hubs w. hawk brakes, custom flatdeck, custom aluminum bumper, cab off restoration, totally new engine, Mahle pistons @19:1..HE351VE with 67mm turbine and 67x95mm compressor
440hp/1000 ft lb @ 2400 RPM

*

Offline hakcenter

  • developer
  • Hero Member
  • *****
  • 623
    • 1998 12v Ram
Re: I think I'm going to re-engineer the LBB
« Reply #12 on: March 02, 2016, 08:11:32 AM »
Are you counting engine rpm right now ? I thought you were just square waving it on a spare d_io ? Do you need an interrupt pin ?

I had to abandon the headers to make room for the bluetooth and pin headers, a stacked header won't fit in the case I'm trying to put this in anyways. But I already have decided on making a lil and big bb ;-)

*

Offline Rx7man

  • Crazy guy
  • Hero Member
  • *****
  • 908
  • Jack of all trades
    • '94 Dodge dually
Re: I think I'm going to re-engineer the LBB
« Reply #13 on: March 02, 2016, 09:57:55 AM »
For engine RPM I would need an externally accessible interrupt pin, and I use one for the turbine shaft speed as well rather than Freqmeasure... The ISR's are very short, they're just an incrementer, so it's just i++;, and the speed calculation is done elsewhere

I take the tach signal from the Engine ECU, which is a nicely formatted square wave of 5V already, so it doesn't need any filtering.. I was contemplating adding vehicle speed sensing as well, just haven't gotten to it yet, I'm not sure if there's a preconditioned signal for me to tap into or if I have to do the filtering.. the VSS gets 8V power (weird, yeah), and I haven't checked to see what the peak voltage is from it.. perhaps just a step-down resistor bridge would be sufficient.
'94 dodge, Colt Cam, head worked, NV5600, 3.55's, SB clutch, Ford manual hubs w. hawk brakes, custom flatdeck, custom aluminum bumper, cab off restoration, totally new engine, Mahle pistons @19:1..HE351VE with 67mm turbine and 67x95mm compressor
440hp/1000 ft lb @ 2400 RPM

*

Offline hakcenter

  • developer
  • Hero Member
  • *****
  • 623
    • 1998 12v Ram
Re: I think I'm going to re-engineer the LBB
« Reply #14 on: March 03, 2016, 07:57:41 AM »
Using attachInterrupt() ?