jharvey wrote:I figure that the PCB layout will determine if your list or my list will work nicely. I suspect neither is right, at the moment. I haven't read the firmware yet, and I'm also assuming that you have a software list some where, that maps your code names to ports. So once the PCB layout determines the exact layout, we can simply update this software table and we should be good to go. Is that correct?
No, this is absolutely not correct. Most pins have special functions, for some things this means those pins must perform those duties. At the very least though, if you use PWM pins or CAN pins or SPI pins for GPIO bit bang use you are wasting that functionality and preventing it's use in future. There is some room for shuffling some things around a little, but not much. I've put a lot of time and effort into ensuring the pin outs are correct. I was thinking the same way you are until another member kindly kicked me in the nuts and said "hey, don't do that! here's why..." (Cheers Jean :-) ). They are as they are for good reasons in most cases. There isn't a lot of flexibility. For that reason the PCB will follow the CPU functionality pretty closely if it wants to be useful.
Hmmm, sounds like I should have a couple generic fet drivers. I'd probably aim for the protected fet's because I'll be buying them anyways, and they are rugged. Your right, I don't need the feedback on things like fuel pump relays, or tach outputs.
Cool :-)
Perhaps a layout something like this
http://i324.photobucket.com/albums/k352 ... ut_PCB.gif
Note, the wires don't go to one location. The leave where ever it's handy for them to leave, reducing the number of times things want to cross over each other, and decreasing cross talking.
I hear what you are saying, BUT, I think you will find most people installing this on a
real car (this is the project goal) will want the wires to come out in one place, esp those that want to be able to seal the case. I'll be looking for one exit point, at which point my wires will be a birds nest inside the case and there will be much more cross talk etc than otherwise.
If you control the way the "wires" move and interact via the way they are routed on the board then you standardise any issues to all users. This is a good thing as it means everything is predictable and it will be easy to support. If you don't fix the wires to the board as traces on the board then there will be 100000 variations of configuration and 100000000000 more problems from people doing it strange ways.
On the left, you can choose the number of injectors by cutting off the end of the board. I put injectors across the top, and ignition across the bottom. I figure, it's based on a per cyl base, so you can cut off one injector with one ignition.
I don't think that is very practical, do you? It seems to me that most people won't want to butcher their freshly printed board in order to save 1.5cm of in car space. I personally would just leave the locations unpopulated if I didn't need them. I suspect others would do the same.
Normal O2 hangs right around .7v, I'd say up to 1.5 is common.
Normal O2 isn't supported in the software intentionally to ensure that users don't even attempt to use it to tune their cars. It has one purpose and one purpose only and wideband can fulfill that almost as well.
Do I recall wide band can go up to 5V? I think these should also be analog protected, same circuit as the other sensors.
Yes, 0 - 5V and yes, analog protected and yes, same as others more or less.
Probably would be good if we can get one O2 per cyl as well.
2 max for standard setups and only one for this board IMO. Besides, for V12 users there simply are not enough ADC inputs and we don't want special case code everywhere... Lastly, if the flow difference between cylinders is large enough to warrant that, throw the engine away, even the yankee V* lumps aren't that bad :-)
Will the A/D go to 0v, or does it not like the rail.
Yes, 0 - 5V, it *loves* the rail :-)
[*]If you want the sensor isolation useful for all users, you will want to cut power to the sensor as some sensors have the ground at the head/block.
What?
The thermistor switching FETs... if you switch ground you limit to two wire thermistors whereas some are grounded at the block with only the high side wire exposed.
The analog protect uses a larger cap and includes a resistor for a low pass. That might bugger the digi signals a pinch, or we can push that low pass way up.
Exactly, it's nice to have it there on the board to be ignored or populated aggressively or populated conservatively. It will skew the rise and fall times and soften the edges of a square wave and the values need to be chosen intelligently to ensure that it's good at high RPMs. I had caps on my RPM inputs and it buggered it up totally...
The digi protect looks like the analog protect, perhaps you didn't see it, after all I did toss you a curve ball by calling it analog, not digi. There are two, both have 10k resistors to the input, as well as a zener to protect for over voltage, and reverse voltage. I think that is what you are looking for.
There was one of each in A05 that I opened and read. "digi" had a 5.1 zener.
Battery V divide is updated with 10k and 38k.
You mean 39k right? 39k is a standard value.
OK now your just crazy. A good 5V reg, and decoupling caps at the devices should take care of any issues here. I think one 5V reg is all that's needed.
I'm not totally crazy. The logic is to ensure that under a short circuit fault condition on a sensor 5v power feed line the CPU feed remains solid. Another solution would be to fuse the external 5v supply on the board. Can you get blade recepticals for PCB mount? That seems like a good solution to me if we can get values low enough.
jharvey wrote:Fred wrote:The four IGBT locations should have jumperable pins such that for those running external ignitors (AKA me) the to220 locations can be used without jumper wires to run FETs there for other stuff.
Sorry still don't follow, perhaps screen capture, and paint it on the schematic, then send it to me.
I'm hoping the 4 ignition locations can be dual purpose. IE, some people populate with IGBT for ign, others use external ignitors for ign duties and are free to populate with FETs for staged injection or GPIO. To facilitate that I was hoping that traces from both IGN and STAGED cpu pins could be run to these devices and the PCB laid out in such a way that either could work, potentially with jumper configuration. It may be difficult/too much of a pain, but if it's not too hard it would be nice.
I suspect you didn't follow because you didn't realise that the CPU pins are highly specialised and have to be particular pins for certain things.
jharvey wrote:I think that A.07 will add analog protection to all 16 AN lines, and I guess I really should have the digi protects for all (used) digital outputs.
I doubt you will have space by the time you lay everything else out. If you do and it doesn't impact anything else significantly, great! But I doubt it. It would be nice if all 8 of the first bank were handled though.
Given how easy it is to sandwich a board on top or underneath to expand the capabilities I think it's really important to stay focused and simple for this board.
I can see this thread becoming a long one. Looking forward to A07 :-)
Fred.