Fred's first Puma board build

Marcos' unmaintained, but still in-use, Puma for FreeEMS circuit board/hardware design!
User avatar
Fred
Moderator
Posts: 15431
Joined: Tue Jan 15, 2008 2:31 pm
Location: Home sweet home!
Contact:

Re: Fred's first Puma board build

Post by Fred »

OK, all is done, just needs a hole drilled for the map line, the ignition cylinder ordering figured out, and the grounds hooked up. Marcos, help me with grounds :-)

Once I try it out a bit I'll sort out the LEDs as they will make for cool videos :-)

There is code to write first, though, and I'm too tired to do that now. So it's off to bed via a snack.

Fred.
DIYEFI.org - where Open Source means Open Source, and Free means Freedom
FreeEMS.org - the open source engine management system
FreeEMS dev diary and its comments thread and my turbo truck!
n00bs, do NOT PM or email tech questions! Use the forum!
The ever growing list of FreeEMS success stories!
User avatar
Fred
Moderator
Posts: 15431
Joined: Tue Jan 15, 2008 2:31 pm
Location: Home sweet home!
Contact:

Re: Fred's first Puma board build

Post by Fred »

This Puma is completed and installed. It is now awaiting code and testing.

I can report that MAP, TPS, IAT, CHT, BRV all work close to correctly, at least. Without synced MAP sampling (no decoder active) the MAP readings fluctuate quite a bit while cranking. This is fairly expected as it will be sampling sometimes when the engine is drawing air and other times when it is not. The timed sampling that FreeEMS does when a decoder is active (most of the time) eliminates this source of noise. BRV seemed stable, as did temps and TPS. I hope the RPM input stuff goes as smoothly. Marcos says it will, so hopefully he is right.

i have to say, it feels good to have a PCB installed with correct ground and power wiring! Yay! Same loom, same plug, improved performance via better design, nice.

It's only 11pm and I feel shattered... time for an early night, busy day tomorrow.

Fred.
DIYEFI.org - where Open Source means Open Source, and Free means Freedom
FreeEMS.org - the open source engine management system
FreeEMS dev diary and its comments thread and my turbo truck!
n00bs, do NOT PM or email tech questions! Use the forum!
The ever growing list of FreeEMS success stories!
User avatar
Fred
Moderator
Posts: 15431
Joined: Tue Jan 15, 2008 2:31 pm
Location: Home sweet home!
Contact:

Re: Fred's first Puma board build

Post by Fred »

I tried to get sync earlier and found that I couldn't. Due to loading code being painful because I can't load from the mac, I decided to verify the hardware first, that was a pain in the arse... the end result was that the digiprotect circuit is flawed.

currently digiprotects are signal, 1k resistor, 5.1v zener, 1k resistor, cpu - and this is not really OK. The resistor OUTSIDE the zener should be as low as possible without burning things up with 15v connected. The inside one can remain 1k, though. In the case where there is a buffer of some other sort, IE, the max chip, the zener is not required, saving two components as a single resistor of 1.6k is sufficient for the event of cpu in output mode at 5v and input at 0v or vice versa.

The problem tonight was caused by the weak drive of the max chip and associated weak pull up on the output of hte max chip then connected to the zener (with leakage) via 1k resistor, ie, 1k has stronger pull than 10k does and wins.

I saw 3.72v at the zener terminal.

with them out, i got bang on 5v, in full living colour, hooray. Problem solved.

So, reduce resistance outside zener to min possible so that inputs can more effectively control the cpu voltage,
And, remove 1 resistor and 1 zener from anything that is already a buffer, ie max chips and maybe other things.

To achieve the second one, remove the digi protect circuit from these applications all together and add a series resistor to the schematic of the buffer itself.

Fred.
DIYEFI.org - where Open Source means Open Source, and Free means Freedom
FreeEMS.org - the open source engine management system
FreeEMS dev diary and its comments thread and my turbo truck!
n00bs, do NOT PM or email tech questions! Use the forum!
The ever growing list of FreeEMS success stories!
User avatar
Fred
Moderator
Posts: 15431
Joined: Tue Jan 15, 2008 2:31 pm
Location: Home sweet home!
Contact:

Re: Fred's first Puma board build

Post by Fred »

OK, fuel pump FET and associated LED work! Great, because so too, probably, do the injector drivers. My fuel pump code sort of works, also great, I can fix that.

Next complaint:

The FTDI chip, por favor, why oh fcuking WHY is it powered by the ECU? Why not from the serial line? It's SO fcuking annoying to have the device disappear and come back and change names and fcuk around, and worse, on the mac, it crashes the entire machine if you power it up and down a few times.... FAIL FTDI, minor fail Marcos, or is it not possible to have it powered by the USB connection? It's hideously annoying whether it be mac and crash or linux and device disappears and returns with new name and disappears again. Horrible.

Can we fix this? Pretty please? I'm begging you here.

Can *I* fix it? I'm happy to hack to get rid of this fcukedness :-) Help a brother out!

Fred.
DIYEFI.org - where Open Source means Open Source, and Free means Freedom
FreeEMS.org - the open source engine management system
FreeEMS dev diary and its comments thread and my turbo truck!
n00bs, do NOT PM or email tech questions! Use the forum!
The ever growing list of FreeEMS success stories!
User avatar
Fred
Moderator
Posts: 15431
Joined: Tue Jan 15, 2008 2:31 pm
Location: Home sweet home!
Contact:

Re: Fred's first Puma board build

Post by Fred »

This is just a reminder for me!

All inputs (that I've tried) work! (with some tweaks)

I need to verify operation of the injector FETS with my custom wiring setup.
I need to verify operation of my XOR driven external Iignitors
I need to swap to a mini USB PCB mount port
I'd like to try hooking up an LED to the load/run switch as a CEL output.
Once I verify operation of the ign/inj outputs, I'd like to get the LEDs working with them.

Someone needs to check whether or not the digi protect circuits can be used as is on logic in/out spare channels.

I swear there was something else to put in here that I was more likely to forget... hmmm.... not sure!

Fred.
DIYEFI.org - where Open Source means Open Source, and Free means Freedom
FreeEMS.org - the open source engine management system
FreeEMS dev diary and its comments thread and my turbo truck!
n00bs, do NOT PM or email tech questions! Use the forum!
The ever growing list of FreeEMS success stories!
User avatar
Fred
Moderator
Posts: 15431
Joined: Tue Jan 15, 2008 2:31 pm
Location: Home sweet home!
Contact:

Re: Fred's first Puma board build

Post by Fred »

remove superfluous 100k resistor from between XOR and ign IGBT to220 units. Make sure PCB and wiring is good for ignition drivers and not FETs as fets are useless there. Make sure resistor after XOR is 330ohm or something else suitable and low, and capable of dissipating power into a short.

Ideas for spin2 from IRC

[15:30] <puma_numero_uno> for spin2, we shoudl try really hard to make the logic/VR input option easy to select
[15:30] <puma_numero_uno> also, same for logic vs power out for ign
[15:30] <puma_numero_uno> and same for low/high z
[15:31] <puma_numero_uno> should be a few close pads that you can just solder bridge and be done
[15:31] <puma_numero_uno> or zero ohm links

Good for auto manufacture and custom hacking.

Fred.
DIYEFI.org - where Open Source means Open Source, and Free means Freedom
FreeEMS.org - the open source engine management system
FreeEMS dev diary and its comments thread and my turbo truck!
n00bs, do NOT PM or email tech questions! Use the forum!
The ever growing list of FreeEMS success stories!
User avatar
Fred
Moderator
Posts: 15431
Joined: Tue Jan 15, 2008 2:31 pm
Location: Home sweet home!
Contact:

Re: Fred's first Puma board build

Post by Fred »

And change LED circuits on ignition circuit to be driven from the XOR gates directly, not from the driver which sees 400v or so ...

Fuel ones probably also need some internal driving or something, as they wont work right in low z mode and not at all in high z fet mode, perhaps buffer with line driver chip to allow this?
DIYEFI.org - where Open Source means Open Source, and Free means Freedom
FreeEMS.org - the open source engine management system
FreeEMS dev diary and its comments thread and my turbo truck!
n00bs, do NOT PM or email tech questions! Use the forum!
The ever growing list of FreeEMS success stories!
User avatar
Fred
Moderator
Posts: 15431
Joined: Tue Jan 15, 2008 2:31 pm
Location: Home sweet home!
Contact:

Re: Fred's first Puma board build

Post by Fred »

http://stuff.fredcooke.com/seank/puma/

That's from before I completed my Puma!

Note, the db37 was to retain plug n play compatibility with my old now unused MS box. So don't whinge about it....

Fred.
DIYEFI.org - where Open Source means Open Source, and Free means Freedom
FreeEMS.org - the open source engine management system
FreeEMS dev diary and its comments thread and my turbo truck!
n00bs, do NOT PM or email tech questions! Use the forum!
The ever growing list of FreeEMS success stories!
User avatar
Fred
Moderator
Posts: 15431
Joined: Tue Jan 15, 2008 2:31 pm
Location: Home sweet home!
Contact:

Re: Fred's first Puma board build

Post by Fred »

http://www.youtube.com/watch?v=zl38BcF__bY

This one shows my board "installed" and working on my truck, along with some tuning/firmware/mtx testing.

Fred.
DIYEFI.org - where Open Source means Open Source, and Free means Freedom
FreeEMS.org - the open source engine management system
FreeEMS dev diary and its comments thread and my turbo truck!
n00bs, do NOT PM or email tech questions! Use the forum!
The ever growing list of FreeEMS success stories!
User avatar
Fred
Moderator
Posts: 15431
Joined: Tue Jan 15, 2008 2:31 pm
Location: Home sweet home!
Contact:

Re: Fred's first Puma board build

Post by Fred »

http://www.youtube.com/watch?v=Edy5-1YW8sc

Sched works, truck drives and is fast, this is the beginning of the end for UltraJizz.

Might be time for a release soon :-)

Fred.
DIYEFI.org - where Open Source means Open Source, and Free means Freedom
FreeEMS.org - the open source engine management system
FreeEMS dev diary and its comments thread and my turbo truck!
n00bs, do NOT PM or email tech questions! Use the forum!
The ever growing list of FreeEMS success stories!
Locked