Last night I put waterproof connectors on my prototype's pigtails and it's ready to go in the car after I seal the case with some silicone. In finishing all this I wanted to test out the extra input I wired for the MAP sensor. I'm happy to report that it looks like manually interfacing to the ADC section of the microcontroller yielded much more reliable and faster results than I had using the arduino analogRead() function with other projects using multiple analog inputs. Unless there's some other unforeseen issue I think this will work very well. And since I retooled the code to eliminate floating point math pretty much everywhere, I built a bash script to convert the raw datastream to human readable values (voltage and rpm, map will follow).
pic1
pic2
pic3
pic4
Getting to this milestone, I have to ask kur4o if he might be able to pick apart the portions of the $ee program pertinent to how MAP effects dwell and explain it in laymen's terms. I'm sure anything I come up with for this will be better than no dwell compensation, but I'd like to utilize this additional input's data in the most efficient way possible.
I'm jonesing for an email from Lloyd telling me my heads are on their way back. In the mean time I'll try to finish the schematic and see what options there are for pcb design. I found this on Monday, but haven't gotten as far as building it or trying it out.
Bookmarks