PDA

View Full Version : Diy safc interrest?



nikwal
01-26-2009, 06:47 PM
I was just wondering, is there an interrest for a diy air flow converter??
So far I've been making it for karman vortex only, 7mgte and such since thats the lmm I've got, but since theese engines are becoming a bit common in out cars I thought I'd ask. I spent most of december writing code for it. ONE thought about this safc thing' (I've never owned one) I read on some forums that people sometimes connect TPS to a MAP sensor instead, but since I'm writing my own code, the first thing that came into mind was, that's easy to calculate, why bother measuring it.. I just fiddled together a short description of what I've done so far. also more info about menu choices in the .zip http://dsl.mine.nu/nafc.htm (in case my server crash I'll set up a mirror later). (I'm nikwalnikwal on youtube.) It's so few components nothing fancy, nothing expensive..

SolidStateS15
01-27-2009, 08:21 AM
being an electronics junkie and on a budget, i would be interested if it's something that will work and be reliable.

nikwal
01-27-2009, 11:08 AM
being an electronics junkie and on a budget, i would be interested if it's something that will work and be reliable.

Reliable remains to be seen actually(cant drive my car at the moment, other mods not finished and winter).. I've been using digital oscilloscope and frequency generator, also hooked up on the car in the garage to be able to see that it looks good.. There is no complete schematic yet but pretty much all info needed to build a beta version is in the zip and link.
,More info on what the current menu choices does is in a textfile in the zip(I hope I guessed almost correct in what would be needed)..
http://www.youtube.com/user/nikwalnikwal vid's, (the ones with a display).. I'm working on a single sided circuit board design in eagle right now..
basically, one would need a two row lcd display, two optocouplers two a 7474(or whatever, hct remember the two enable pins) , a 7805(or similar), an atmel AtMega8 and a simple programmer (some 74circuit),four buttons and some resistors, a 16Mhz oscillator, that's about it.. it'll cost more time than money I guess..
It's not the first project i've done, but I'm not a programmer, it's just a hobby, But I do work with electronics.

SolidStateS15
01-27-2009, 06:45 PM
Reliable remains to be seen actually(cant drive my car at the moment, other mods not finished and winter).. I've been using digital oscilloscope and frequency generator, also hooked up on the car in the garage to be able to see that it looks good.. There is no complete schematic yet but pretty much all info needed to build a beta version is in the zip and link.
,More info on what the current menu choices does is in a textfile in the zip(I hope I guessed almost correct in what would be needed)..
http://www.youtube.com/user/nikwalnikwal vid's, (the ones with a display).. I'm working on a single sided circuit board design in eagle right now..
basically, one would need a two row lcd display, two optocouplers two a 7474(or whatever, hct remember the two enable pins) , a 7805(or similar), an atmel AtMega8 and a simple programmer (some 74circuit),four buttons and some resistors, a 16Mhz oscillator, that's about it.. it'll cost more time than money I guess..
It's not the first project i've done, but I'm not a programmer, it's just a hobby, But I do work with electronics.

sounds cool, i've only done programming with PIC micro controllers, but i think those could be applied to something like this too since they incorporate most everything needed on 1 programmable chip.

nikwal
01-28-2009, 06:43 AM
It would be much easier with an AtMega128 or something that has two 16bit timers in hardware, but also much more expensive and harder to solder(not for me, but for inexperienced diy'ers), normal surface mounted resistors are easy to solder..
layout finished, etching it tonight, hmm or in the weekend..

[edit] http://dsl.mine.nu/nafc1.jpg http://dsl.mine.nu/nafc2.jpg Continuing development and checking for bugs now on the new platform..
[edit2] been updating the program A LOT. http://dsl.mine.nu/nafc.zip now acutally contains a lot of stuff, schematic and board layout, history, manual.
made experimental Virtual-map function today, it takes input Hz and divide it with rpm and scale it, then user can select wether to use that value instead of tps, set scaling in menu 19 to "0" analog tps (0-5V) will be used.
[edit3] Now it's got 0-1V high impedance volt meter too for nb lambda.. only like 12% code left to fill.. re-wrote some code to 16bit to enable better accuracy, not that it did'nt work before, it's just that I did'nt fully realize the potential that this circuit has, at 16Mhz it should be able to run the entire flash program memory like 2000times per second,of course it will be slower due to subroutines, interrupts(measuring stuff).. and such but just to paint a picture of it.. Creating the signal actually takes very little cpu, due to hardware reload of timers, all I have to do to set a new frequency is write two bytes with high /low byte, it will create a word to use as reset reload point, regardless of what the cpu is doing.. the display is updated every 256th main loop(didnt want to waste timer/interrupt time for that) so that shows a little bit how fast/slow it is..